summaryrefslogtreecommitdiff
path: root/portato
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)
>René 'Necoro' Neumann20-68/+214 * Moved wine support to own template * Added xpad template * Added no-x template for games that don't support being started on another X. * Improved ways template functions work together: - EXPORT now appends - OVERRIDE replaces all the others - in game: command 'super' to call the phases of the templates - super supports "-r tpl" to remove the phase function of tpl 2012-09-11Move WINEDEBUG to play.shRené 'Necoro' Neumann2-5/+7 2012-09-11Allow to manually cleanup after a game (for whatever unknown reason)René 'Necoro' Neumann1-6/+13 2012-09-10Split 'prepare' in setupX and prepare -- this allows to cleanup even after ↵René 'Necoro' Neumann5-10/+25 killing X 2012-09-10Some renamingRené 'Necoro' Neumann1-8/+9 2012-09-10EXPORT now knows the template we are in -- no need to pass itRené 'Necoro' Neumann5-13/+40 2012-09-10More comments, folding, and some re-organizationRené 'Necoro' Neumann1-56/+94 2012-09-09Zsh EnhancementsRené 'Necoro' Neumann1-5/+9 2012-09-03Allow to create trivial game specs via the cmdlineRené 'Necoro' Neumann1-22/+95 2012-09-03Removed unneeded/trivial game filesRené 'Necoro' Neumann14-66/+20 2012-09-03Fix templatesRené 'Necoro' Neumann3-4/+4 2012-09-03Some more commenting -- and allowing a default PREFIXRené 'Necoro' Neumann1-3/+8