changeset 152:7ffcd2ea92e3

Fix messages when a project is paused
author Björn Ricks <bjoern.ricks@intevation.de>
date Thu, 06 Dec 2012 12:30:58 +0100
parents 1e35c24708dd
children 17dede6cb724
files getan/states.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/getan/states.py	Thu Dec 06 12:30:27 2012 +0100
+++ b/getan/states.py	Thu Dec 06 12:30:58 2012 +0100
@@ -175,9 +175,9 @@
         'description': _("Enter a description: "),
         'add_time'   : _("Enter time to add [min]: "),
         'min_time'   : _("Enter time to subtract [min]: "),
-        'continue'   : _("Press 'Space' to continue."),
+        'continue'   : _("Press '%s' to continue."),
         'running'    : _("Running ( %s ) on '%s'."),
-        'paused'     : _(" Break   ( %s )%s."),
+        'paused'     : _(" Break   ( %s ) %s."),
     }
 
     sec         = 0
@@ -205,7 +205,7 @@
             self.view.set_footer_text(
                 self.msg('paused') %
                 (human_time((datetime.now()-self.break_start).seconds),
-                 self.msg('continue')),
+                 self.msg('continue') % keys.get_pause_project()),
                 'paused_running')
             self.controller.view.loop.draw_screen()
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)