straw-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Straw-devel] [PATCH] gettext problem


From: Terje Rosten
Subject: [Straw-devel] [PATCH] gettext problem
Date: Wed, 20 Aug 2003 14:11:43 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Fix a typo which prevents gettext to work on a string.


 - Terje


Index: src/lib/MainWindow.py
===================================================================
RCS file: /cvsroot/straw/straw/src/lib/MainWindow.py,v
retrieving revision 1.71
diff -u -r1.71 MainWindow.py
--- src/lib/MainWindow.py       19 Aug 2003 09:47:55 -0000      1.71
+++ src/lib/MainWindow.py       20 Aug 2003 12:05:11 -0000
@@ -484,7 +484,7 @@
     def next_poll(self, *args):
         format = '%d %b %H:%M:%S'
         npoll = straw.config.last_poll + straw.config.poll_frequency
-        npoll_sane = _("Next polling time: <b>%s</b>" %  
time.strftime(format,time.localtime(npoll)))
+        npoll_sane = _("Next polling time: <b>%s</b>") %  
time.strftime(format,time.localtime(npoll))
         self.time_label.set_text(npoll_sane)
         self.time_label.set_property("use_markup", True)
         self.time_label.show()







reply via email to

[Prev in Thread] Current Thread [Next in Thread]