summaryrefslogtreecommitdiff
path: root/portato/plugins/notify.py
diff options
context:
space:
mode:
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)