summaryrefslogtreecommitdiff
path: root/portato/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'portato/plugins')
-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)
amp;id=506c6919fa6dd01b738e022e625105d12cd05c48&follow=1'>Screw debugging ... prefer the ctypes approach to get rid of yet another c-mo...René 'Necoro' Neumann3-27/+11 2009-09-03Use this wrapper instead of ctypes to set the textdomain and stuff for the gt...René 'Necoro' Neumann1-9/+5 2009-09-03Add small wrapper to C-gettextRené 'Necoro' Neumann2-1/+22 2009-08-31Update messages.potRené 'Necoro' Neumann1-42/+94 2009-08-31Removed the gtk- strings from translationsRené 'Necoro' Neumann7-3639/+3479 2009-08-31Removed the 'translatable' attribute from 'gtk-*' stringsRené 'Necoro' Neumann5-11/+11 2009-08-31Removed TODO. Renamed ChangeLog to TODORené 'Necoro' Neumann2-40/+0 2009-08-27Only import stuff if necessaryRené 'Necoro' Neumann1-8/+8 2009-08-25Release the threadQueue-Lock in syncv0.13René 'Necoro' Neumann1-0/+1 2009-08-25Updated portugese translationAlberto Federman Neto1-650/+687 2009-08-15Update spanish translationDaniel Halens1-245/+258 2009-08-15Use boolean flags instead of obscure C flags for ipc.MessageQueueRené 'Necoro' Neumann3-13/+15 2009-08-15TypoRené 'Necoro' Neumann1-1/+1 2009-08-15Enhanced the extensions.shRené 'Necoro' Neumann1-3/+8 2009-08-15Move eix-format to correct locationRené 'Necoro' Neumann1-0/+0