summaryrefslogtreecommitdiff
path: root/portato/plugins
diff options
context:
space:
mode:
authornecoro <>2007-08-12 04:55:24 +0000
committernecoro <>2007-08-12 04:55:24 +0000
commit25e4e92393647b11b92810e774060909edb452bb (patch)
tree93160da95669b00e27d5d276ccf5ee4ed4eaca1e /portato/plugins
parent98dd224cb785f159d8754752626f64fac4695e08 (diff)
downloadportato-25e4e92393647b11b92810e774060909edb452bb.tar.gz
portato-25e4e92393647b11b92810e774060909edb452bb.tar.bz2
portato-25e4e92393647b11b92810e774060909edb452bb.zip
translations
Diffstat (limited to '')
-rw-r--r--portato/plugins/notify.py6
1 files changed, 3 insertions, 3 deletions
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)