summaryrefslogtreecommitdiffstats
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
parentc579c9fecec59706eba1ce2b07d463f8f571662b (diff)
* Polished the strings
git-svn-id: file:///home/lennart/svn/public/service-discovery-applet/trunk@47 3be567f1-68ff-0310-b24a-ad7cc433fd2f
-rwxr-xr-xactions/services/__init__.py.in2
-rw-r--r--po/de.po107
-rw-r--r--po/service-discovery-applet.pot65
-rw-r--r--schemas/service-discovery-applet.schemas.in6
-rw-r--r--servers/GNOME_ServiceDiscoveryApplet.server.in8
-rwxr-xr-xsrc/service-discovery-applet.in16
-rw-r--r--src/service-discovery-config.glade10
-rwxr-xr-xsrc/service-discovery-config.in2
8 files changed, 118 insertions, 98 deletions
diff --git a/actions/services/__init__.py.in b/actions/services/__init__.py.in
index 939c048..3fc4168 100755
--- a/actions/services/__init__.py.in
+++ b/actions/services/__init__.py.in
@@ -31,7 +31,7 @@ try:
import subprocess
import gnome
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()
def pair_to_dict(l):
diff --git a/po/de.po b/po/de.po
index 4821c4d..ee8d1fd 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: service-discovery-applet 0.2\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-10-06 17:10+0200\n"
+"POT-Creation-Date: 2005-10-06 18:38+0200\n"
"PO-Revision-Date: 2005-10-05 16:13+0200\n"
"Last-Translator: Sebastian Dröge <slomo@ubuntu.com>\n"
"MIME-Version: 1.0\n"
@@ -16,14 +16,13 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: ../actions/services/__init__.py.in:34 ../src/service-discovery-applet.in:49
-#: ../src/service-discovery-config.in:39
+#: ../actions/services/__init__.py.in:34 ../src/service-discovery-config.in:39
#, c-format, python-format
msgid ""
-"A python module is missing.\n"
+"A required python module is missing!\n"
"%s"
msgstr ""
-"Ein Python Modul fehlt.\n"
+"Ein benötigtes Python Modul fehlt!\n"
"%s"
#: ../actions/services/__init__.py.in:107
@@ -36,47 +35,55 @@ msgid ""
"Connecting to <b>%s</b>.\n"
"Please enter your <b>login</b>:"
msgstr ""
-"Verbinde zu <b>%s</b>.\n"
+"Verbinde mit <b>%s</b>.\n"
"Bitte geben Sie ihren <b>Benutzernamen</b> ein:"
#: ../schemas/service-discovery-applet.schemas.in.h:1
-msgid "Browse for your own services."
+msgid "Browse for your own services"
msgstr "Durchsuche Dienste auf diesem Rechner"
#: ../schemas/service-discovery-applet.schemas.in.h:2
-#: ../src/service-discovery-config.glade.h:5
-msgid "Display notifications."
-msgstr "Zeige Benachrichtigungen."
+msgid "Display notifications"
+msgstr "Zeige Benachrichtigungen an"
#: ../schemas/service-discovery-applet.schemas.in.h:3
msgid "First time you start the app?"
-msgstr "Erstes Mal, dass das Applet gestartet wird"
+msgstr "Erstes Mal, dass das Applet gestartet wird?"
#: ../schemas/service-discovery-applet.schemas.in.h:4
msgid ""
-"Use the notification deamon to notify the user when a service is discovered."
+"Use the notification deamon to notify the user when a service is discovered"
msgstr ""
-"Benutze den Benachrichtigungsdaemon zum Benachrichtigen ob ein Dienst "
-"entdeckt wurde."
+"Benutze den Benachrichtigungsdaemon zum Benachrichtigen wenn ein Dienst "
+"entdeckt wurde"
#: ../servers/GNOME_ServiceDiscoveryApplet.server.in.h:1
msgid ""
-"This applet allow you to quickly access the zeroconf services available on "
-"your network."
+"Show Zeroconf Services on your local network and allow accessing them easily"
msgstr ""
-"Zeigt Zeroconf Dienste die in dem lokalen Netz verfügbar sind und erlaubt "
-"darauf zuzugreifen."
+"Zeroconf Dienste im lokalen Netzwerk anzeigen und einfachen Zugriff auf sie "
+"bekommen"
#: ../servers/GNOME_ServiceDiscoveryApplet.server.in.h:2
-msgid "Zeroconf service discovery applet"
+#: ../src/service-discovery-applet.in:421
+msgid "Zeroconf Service Discovery"
msgstr "Zeroconf Dienstsuche"
+#: ../src/service-discovery-applet.in:49
+#, c-format
+msgid ""
+"A python module is missing.\n"
+"%s"
+msgstr ""
+"Ein Python Modul fehlt.\n"
+"%s"
+
#: ../src/service-discovery-applet.in:123
-msgid "About"
+msgid "_About"
msgstr "_Über"
#: ../src/service-discovery-applet.in:123
-msgid "_Config"
+msgid "_Preferences"
msgstr "_Einstellungen"
#: ../src/service-discovery-applet.in:123
@@ -84,7 +91,7 @@ msgid "_Start"
msgstr "_Start"
#: ../src/service-discovery-applet.in:123
-msgid "_Stop"
+msgid "S_top"
msgstr "S_top"
#: ../src/service-discovery-applet.in:232
@@ -97,12 +104,12 @@ msgstr ""
"<b>Typ : </b> %s <i>(%s)</i>"
#: ../src/service-discovery-applet.in:235
-msgid "New service found."
-msgstr "Neuer Dienst gefunden."
+msgid "New service found"
+msgstr "Neuer Dienst gefunden"
#: ../src/service-discovery-applet.in:237
-msgid "Service disappeared."
-msgstr "Dienst verschwunden."
+msgid "Service disappeared"
+msgstr "Dienst verschwunden"
#: ../src/service-discovery-applet.in:244
#: ../src/service-discovery-applet.in:329
@@ -114,23 +121,27 @@ msgid "Copyright (C) 2005 Sebastien Estienne"
msgstr "Copyright (C) 2005 Sebastien Estienne"
#: ../src/service-discovery-applet.in:331
-msgid "An applet to quickly access your zeroconf services."
-msgstr "Zeigt Zeroconf Dienste an und erlaubt schnellen Zugriff darauf"
+msgid ""
+"Shows Zeroconf Services on your local network and allows accessing them "
+"easily"
+msgstr ""
+"Zeigt Zeroconf Dienste im lokalen Netzwerk an und erlaubt leichten Zugriff "
+"auf sie"
#: ../src/service-discovery-applet.in:333
msgid "translator-credits"
msgstr "Sebastian Dröge <slomo@ubuntu.com>"
#: ../src/service-discovery-applet.in:348
-msgid "Already running"
-msgstr "Schon am Laufen"
+msgid "Already Discovering"
+msgstr "Suche schon gestartet"
#: ../src/service-discovery-applet.in:353
msgid "Error Detected!"
msgstr "Fehler entdeckt!"
#: ../src/service-discovery-applet.in:353
-msgid "Check that Avahi daemon is running!"
+msgid "Check that the Avahi daemon is running!"
msgstr "Bitte überprüfen Sie ob der Avahi Dienst läuft!"
#: ../src/service-discovery-applet.in:356
@@ -138,40 +149,42 @@ msgid "Starting discovery"
msgstr "Suche gestartet"
#: ../src/service-discovery-applet.in:372
-msgid "Already stopped"
-msgstr "Schon gestoppt"
+msgid "Discovery already stopped"
+msgstr "Suche schon gestoppt"
#: ../src/service-discovery-applet.in:378
msgid "Discovery stopped"
msgstr "Suche gestoppt"
-#: ../src/service-discovery-applet.in:421
-msgid "Service discovery applet"
-msgstr "Zeroconf Dienstsuche"
-
#: ../src/service-discovery-config.glade.h:1
-msgid "<b>Advanced options :</b>"
-msgstr "<b>Erweiterte Einstellungen :</b>"
+msgid "<b>Advanced options:</b>"
+msgstr "<b>Erweiterte Einstellungen:</b>"
#: ../src/service-discovery-config.glade.h:2
-msgid "<b>Service type that will be browsed.</b>"
-msgstr "<b>Diensttypen die durchsucht werden sollen.</b>"
+msgid "<b>Service types that will be browsed:</b>"
+msgstr ""
+"<b>Diensttypen die durchsucht\n"
+"werden sollen:</b>"
#: ../src/service-discovery-config.glade.h:3
msgid "Advanced"
msgstr "Erweitert"
#: ../src/service-discovery-config.glade.h:4
-msgid "Browse for my own services."
-msgstr "Durchsuche Dienste auf diesem Rechner"
+msgid "Services"
+msgstr "Dienste"
-#: ../src/service-discovery-config.glade.h:6
-msgid "Service Discovery Applet Preferences"
+#: ../src/service-discovery-config.glade.h:5
+msgid "Zeroconf Service Discovery Preferences"
msgstr "Dienstsuche Einstellungen"
+#: ../src/service-discovery-config.glade.h:6
+msgid "_Browse services published on this machine"
+msgstr "_Zeige Dienste von diesem Rechner an"
+
#: ../src/service-discovery-config.glade.h:7
-msgid "Services"
-msgstr "Dienste"
+msgid "_Display notifications"
+msgstr "Zeige _Benachrichtigungen an"
#: ../src/service-discovery-config.glade.h:8
msgid "services informations"
diff --git a/po/service-discovery-applet.pot b/po/service-discovery-applet.pot
index 944bce0..39a4a15 100644
--- a/po/service-discovery-applet.pot
+++ b/po/service-discovery-applet.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-10-06 17:10+0200\n"
+"POT-Creation-Date: 2005-10-06 18:38+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,11 +16,10 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../actions/services/__init__.py.in:34 ../src/service-discovery-applet.in:49
-#: ../src/service-discovery-config.in:39
+#: ../actions/services/__init__.py.in:34 ../src/service-discovery-config.in:39
#, c-format, python-format
msgid ""
-"A python module is missing.\n"
+"A required python module is missing!\n"
"%s"
msgstr ""
@@ -36,12 +35,11 @@ msgid ""
msgstr ""
#: ../schemas/service-discovery-applet.schemas.in.h:1
-msgid "Browse for your own services."
+msgid "Browse for your own services"
msgstr ""
#: ../schemas/service-discovery-applet.schemas.in.h:2
-#: ../src/service-discovery-config.glade.h:5
-msgid "Display notifications."
+msgid "Display notifications"
msgstr ""
#: ../schemas/service-discovery-applet.schemas.in.h:3
@@ -50,25 +48,32 @@ msgstr ""
#: ../schemas/service-discovery-applet.schemas.in.h:4
msgid ""
-"Use the notification deamon to notify the user when a service is discovered."
+"Use the notification deamon to notify the user when a service is discovered"
msgstr ""
#: ../servers/GNOME_ServiceDiscoveryApplet.server.in.h:1
msgid ""
-"This applet allow you to quickly access the zeroconf services available on "
-"your network."
+"Show Zeroconf Services on your local network and allow accessing them easily"
msgstr ""
#: ../servers/GNOME_ServiceDiscoveryApplet.server.in.h:2
-msgid "Zeroconf service discovery applet"
+#: ../src/service-discovery-applet.in:421
+msgid "Zeroconf Service Discovery"
+msgstr ""
+
+#: ../src/service-discovery-applet.in:49
+#, c-format
+msgid ""
+"A python module is missing.\n"
+"%s"
msgstr ""
#: ../src/service-discovery-applet.in:123
-msgid "About"
+msgid "_About"
msgstr ""
#: ../src/service-discovery-applet.in:123
-msgid "_Config"
+msgid "_Preferences"
msgstr ""
#: ../src/service-discovery-applet.in:123
@@ -76,7 +81,7 @@ msgid "_Start"
msgstr ""
#: ../src/service-discovery-applet.in:123
-msgid "_Stop"
+msgid "S_top"
msgstr ""
#: ../src/service-discovery-applet.in:232
@@ -87,11 +92,11 @@ msgid ""
msgstr ""
#: ../src/service-discovery-applet.in:235
-msgid "New service found."
+msgid "New service found"
msgstr ""
#: ../src/service-discovery-applet.in:237
-msgid "Service disappeared."
+msgid "Service disappeared"
msgstr ""
#: ../src/service-discovery-applet.in:244
@@ -104,7 +109,9 @@ msgid "Copyright (C) 2005 Sebastien Estienne"
msgstr ""
#: ../src/service-discovery-applet.in:331
-msgid "An applet to quickly access your zeroconf services."
+msgid ""
+"Shows Zeroconf Services on your local network and allows accessing them "
+"easily"
msgstr ""
#: ../src/service-discovery-applet.in:333
@@ -112,7 +119,7 @@ msgid "translator-credits"
msgstr ""
#: ../src/service-discovery-applet.in:348
-msgid "Already running"
+msgid "Already Discovering"
msgstr ""
#: ../src/service-discovery-applet.in:353
@@ -120,7 +127,7 @@ msgid "Error Detected!"
msgstr ""
#: ../src/service-discovery-applet.in:353
-msgid "Check that Avahi daemon is running!"
+msgid "Check that the Avahi daemon is running!"
msgstr ""
#: ../src/service-discovery-applet.in:356
@@ -128,23 +135,19 @@ msgid "Starting discovery"
msgstr ""
#: ../src/service-discovery-applet.in:372
-msgid "Already stopped"
+msgid "Discovery already stopped"
msgstr ""
#: ../src/service-discovery-applet.in:378
msgid "Discovery stopped"
msgstr ""
-#: ../src/service-discovery-applet.in:421
-msgid "Service discovery applet"
-msgstr ""
-
#: ../src/service-discovery-config.glade.h:1
-msgid "<b>Advanced options :</b>"
+msgid "<b>Advanced options:</b>"
msgstr ""
#: ../src/service-discovery-config.glade.h:2
-msgid "<b>Service type that will be browsed.</b>"
+msgid "<b>Service types that will be browsed:</b>"
msgstr ""
#: ../src/service-discovery-config.glade.h:3
@@ -152,15 +155,19 @@ msgid "Advanced"
msgstr ""
#: ../src/service-discovery-config.glade.h:4
-msgid "Browse for my own services."
+msgid "Services"
+msgstr ""
+
+#: ../src/service-discovery-config.glade.h:5
+msgid "Zeroconf Service Discovery Preferences"
msgstr ""
#: ../src/service-discovery-config.glade.h:6
-msgid "Service Discovery Applet Preferences"
+msgid "_Browse services published on this machine"
msgstr ""
#: ../src/service-discovery-config.glade.h:7
-msgid "Services"
+msgid "_Display notifications"
msgstr ""
#: ../src/service-discovery-config.glade.h:8
diff --git a/schemas/service-discovery-applet.schemas.in b/schemas/service-discovery-applet.schemas.in
index 2ceaefa..94d8588 100644
--- a/schemas/service-discovery-applet.schemas.in
+++ b/schemas/service-discovery-applet.schemas.in
@@ -7,9 +7,9 @@
<type>bool</type>
<default>TRUE</default>
<locale name="C">
- <short>Display notifications.</short>
+ <short>Display notifications</short>
<long>
- Use the notification deamon to notify the user when a service is discovered.
+ Use the notification deamon to notify the user when a service is discovered
</long>
</locale>
</schema>
@@ -20,7 +20,7 @@
<type>bool</type>
<default>FALSE</default>
<locale name="C">
- <short>Browse for your own services.</short>
+ <short>Browse for your own services</short>
<long>
</long>
</locale>
diff --git a/servers/GNOME_ServiceDiscoveryApplet.server.in b/servers/GNOME_ServiceDiscoveryApplet.server.in
index a52a094..bcf5276 100644
--- a/servers/GNOME_ServiceDiscoveryApplet.server.in
+++ b/servers/GNOME_ServiceDiscoveryApplet.server.in
@@ -8,8 +8,8 @@
<item value="IDL:Bonobo/GenericFactory:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
</oaf_attribute>
- <oaf_attribute name="name" type="string" _value="Zeroconf service discovery applet"/>
- <oaf_attribute name="description" type="string" _value="This applet allow you to quickly access the zeroconf services available on your network."/>
+ <oaf_attribute name="name" type="string" _value="Zeroconf Service Discovery"/>
+ <oaf_attribute name="description" type="string" _value="Show Zeroconf Services on your local network and allow accessing them easily"/>
</oaf_server>
<oaf_server iid="OAFIID:GNOME_ServiceDiscoveryApplet"
@@ -21,8 +21,8 @@
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
</oaf_attribute>
- <oaf_attribute name="name" type="string" _value="Zeroconf service discovery applet"/>
- <oaf_attribute name="description" type="string" _value="This applet allow you to quickly access the zeroconf services available on your network."/>
+ <oaf_attribute name="name" type="string" _value="Zeroconf Service Discovery"/>
+ <oaf_attribute name="description" type="string" _value="Show Zeroconf Services on your local network and allow accessing them easily"/>
<oaf_attribute name="panel:category" type="string" value="Internet"/>
<oaf_attribute name="panel:icon" type="string" value="@iconsdir@/48x48/service-discovery-applet.png"/>
</oaf_server>
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