summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSebastian Droege <slomo@ubuntu.com>2005-10-06 16:45:45 +0000
committerSebastian Droege <slomo@ubuntu.com>2005-10-06 16:45:45 +0000
commit7bf8da80720a94528713924282bf1f697320a49f (patch)
treeec18b2dc62c25e4bf5308cd9311d7c9fc8aeb0f9 /src
parentc579c9fecec59706eba1ce2b07d463f8f571662b (diff)
* Polished the strings
git-svn-id: file:///home/lennart/svn/public/service-discovery-applet/trunk@47 3be567f1-68ff-0310-b24a-ad7cc433fd2f
Diffstat (limited to 'src')
-rwxr-xr-xsrc/service-discovery-applet.in16
-rw-r--r--src/service-discovery-config.glade10
-rwxr-xr-xsrc/service-discovery-config.in2
3 files changed, 14 insertions, 14 deletions
diff --git a/src/service-discovery-applet.in b/src/service-discovery-applet.in
index 340eb8e..b988c12 100755
--- a/src/service-discovery-applet.in
+++ b/src/service-discovery-applet.in
@@ -120,7 +120,7 @@ class ServiceDiscoveryApplet(gnomeapplet.Applet):
<menuitem name="SDA Stop Item" verb="SDA Stop" _label="%s" pixtype="stock" pixname="gtk-media-stop"/>
</popup>
"""
- menuXml = menuXml % (_("About"), _("_Config"), _("_Start"), _("_Stop"))
+ menuXml = menuXml % (_("_About"), _("_Preferences"), _("_Start"), _("S_top"))
applet.setup_menu(menuXml, [
("SDA About", self.on_about),
@@ -232,9 +232,9 @@ class ServiceDiscoveryApplet(gnomeapplet.Applet):
message = _("<b>Name :</b> %s\n<b>Type : </b> %s <i>(%s)</i>") % (name, pretty_name, type)
if new == True:
- title = _("New service found.")
+ title = _("New service found")
else:
- title = _("Service disappeared.")
+ title = _("Service disappeared")
self.display_notification(title, message, iconfile)
@@ -328,7 +328,7 @@ class ServiceDiscoveryApplet(gnomeapplet.Applet):
fullname = _("Service Discovery Applet")
copyright = _("Copyright (C) 2005 Sebastien Estienne")
- description = _("An applet to quickly access your zeroconf services.")
+ description = _("Shows Zeroconf Services on your local network and allows accessing them easily")
authors = ["Sebastien Estienne <sebastien.estienne@gmail.com>"]
translators = _("translator-credits")
if translators == "translator-credits":
@@ -345,12 +345,12 @@ class ServiceDiscoveryApplet(gnomeapplet.Applet):
def start_service_discovery(self, component, verb, applet):
if len(self.domain) != 0:
print "domain not null %s" % (self.domain)
- self.display_notification(_("Already running"),"")
+ self.display_notification(_("Already Discovering"),"")
return
try:
self.domain = self.server.GetDomainName()
except:
- self.display_notification(_("Error Detected!"),_("Check that Avahi daemon is running!"))
+ self.display_notification(_("Error Detected!"),_("Check that the Avahi daemon is running!"))
return
self.display_notification(_("Starting discovery"),"")
@@ -369,7 +369,7 @@ class ServiceDiscoveryApplet(gnomeapplet.Applet):
def stop_service_discovery(self, component, verb, applet):
if len(self.domain) == 0:
- self.display_notification(_("Already stopped"),"")
+ self.display_notification(_("Discovery already stopped"),"")
return
for service in self.service_browsers.copy():
@@ -418,7 +418,7 @@ def main():
gobject.type_register(ServiceDiscoveryApplet)
if len(sys.argv) == 2 and sys.argv[1] == "-window":
applet_window = gtk.Window(gtk.WINDOW_TOPLEVEL)
- applet_window.set_title(_("Service discovery applet"))
+ applet_window.set_title(_("Zeroconf Service Discovery"))
applet_window.connect("destroy", gtk.main_quit)
gnome.init("Service discovery applet", "@version@")
applet = gnomeapplet.Applet()
diff --git a/src/service-discovery-config.glade b/src/service-discovery-config.glade
index f59ff53..d29c944 100644
--- a/src/service-discovery-config.glade
+++ b/src/service-discovery-config.glade
@@ -6,7 +6,7 @@
<widget class="GtkDialog" id="sda-prefs-dialog">
<property name="border_width">3</property>
<property name="visible">True</property>
- <property name="title" translatable="yes">Service Discovery Applet Preferences</property>
+ <property name="title" translatable="yes">Zeroconf Service Discovery Preferences</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property>
@@ -97,7 +97,7 @@
<child>
<widget class="GtkLabel" id="label_services">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Service type that will be browsed.&lt;/b&gt;</property>
+ <property name="label" translatable="yes">&lt;b&gt;Service types that will be browsed:&lt;/b&gt;</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -247,7 +247,7 @@
<widget class="GtkCheckButton" id="checkbutton_notifications">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">Display notifications.</property>
+ <property name="label" translatable="yes">_Display notifications</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
@@ -268,7 +268,7 @@
<widget class="GtkCheckButton" id="checkbutton_local">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">Browse for my own services.</property>
+ <property name="label" translatable="yes">_Browse services published on this machine</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
@@ -288,7 +288,7 @@
<child>
<widget class="GtkLabel" id="label3">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Advanced options :&lt;/b&gt;</property>
+ <property name="label" translatable="yes">&lt;b&gt;Advanced options:&lt;/b&gt;</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
diff --git a/src/service-discovery-config.in b/src/service-discovery-config.in
index a531899..d3df37f 100755
--- a/src/service-discovery-config.in
+++ b/src/service-discovery-config.in
@@ -36,7 +36,7 @@ try:
import gconf
import avahi
except ImportError, e:
- error_msg(_("A python module is missing.\n%s") % (e))
+ error_msg(_("A required python module is missing!\n%s") % (e))
sys.exit()
from avahi.SimpleGladeApp import SimpleGladeApp