summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i18n/de_DE.po17
-rw-r--r--i18n/messages.pot17
-rw-r--r--portato/plugins/notify.py6
3 files changed, 33 insertions, 7 deletions
diff --git a/i18n/de_DE.po b/i18n/de_DE.po
index 936b13a..c31973d 100644
--- a/i18n/de_DE.po
+++ b/i18n/de_DE.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Portato\n"
"POT-Creation-Date: \n"
-"PO-Revision-Date: 2007-08-11 22:13-0800\n"
+"PO-Revision-Date: 2007-08-11 22:53-0800\n"
"Last-Translator: René 'Necoro' Neumann <necoro@necoro.net>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -368,6 +368,19 @@ msgstr "Kann etc-proposals nicht starten. Nur root kann das!"
msgid "Notify called while process is still running!"
msgstr "\"Notify\" aufgerufen, während Emerge noch lief."
+#: portato/plugins/notify.py:15
+msgid "Emerge finished!"
+msgstr "Emerge-Prozess erfolgreich beendet!"
+
+#: portato/plugins/notify.py:19
+msgid "Emerge failed!"
+msgstr "Emerge fehlgeschlagen!"
+
+#: portato/plugins/notify.py:20
+#, python-format
+msgid "Error Code: %d"
+msgstr "Fehler-Code: %d"
+
#: portato/gui/gtk/windows.py:73
msgid "Plugin"
msgstr "Plugin"
@@ -638,7 +651,7 @@ msgstr "Laden des Plugins '%(plugin)s\" fehlgeschlagen. Import von '%(import)s'
msgid "For hook '%(hook)s' an override is already defined by plugin '%(plugin)s'!"
msgstr "Das Plugin '%(plugin)s' definiert bereits einen \"Override\" fürr den Hook '%(hook)s'!"
-#: portato/plistener.py:95
+#: portato/plistener.py:94
msgid "Listener has not been started."
msgstr "Listener wurde nicht gestartet."
diff --git a/i18n/messages.pot b/i18n/messages.pot
index b1efe83..bc62feb 100644
--- a/i18n/messages.pot
+++ b/i18n/messages.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-08-11 22:12-0700\n"
+"POT-Creation-Date: 2007-08-11 22:50-0700\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"
@@ -354,6 +354,19 @@ msgstr ""
msgid "Notify called while process is still running!"
msgstr ""
+#: portato/plugins/notify.py:15
+msgid "Emerge finished!"
+msgstr ""
+
+#: portato/plugins/notify.py:19
+msgid "Emerge failed!"
+msgstr ""
+
+#: portato/plugins/notify.py:20
+#, python-format
+msgid "Error Code: %d"
+msgstr ""
+
#: portato/gui/gtk/windows.py:73
msgid "Plugin"
msgstr ""
@@ -621,7 +634,7 @@ msgid ""
"For hook '%(hook)s' an override is already defined by plugin '%(plugin)s'!"
msgstr ""
-#: portato/plistener.py:95
+#: portato/plistener.py:94
msgid "Listener has not been started."
msgstr ""
diff --git a/portato/plugins/notify.py b/portato/plugins/notify.py
index 5e4a577..db024cf 100644
--- a/portato/plugins/notify.py
+++ b/portato/plugins/notify.py
@@ -12,12 +12,12 @@ def notify (retcode, **kwargs):
else:
icon = APP_ICON
if retcode == 0:
- text = "Emerge finished!"
+ text = _("Emerge finished!")
descr = ""
urgency = pynotify.URGENCY_NORMAL
else:
- text = "Emerge failed!"
- descr = "Error Code: %d" % retcode
+ text = _("Emerge failed!")
+ descr = _("Error Code: %d") % retcode
urgency = pynotify.URGENCY_CRITICAL
listener.send_notify(base = text, descr = descr, icon = icon, urgency = urgency)