hamster-applet r597 - branches/gnome-2-24/hamster



Author: tbaugis
Date: Fri Oct 24 12:48:22 2008
New Revision: 597
URL: http://svn.gnome.org/viewvc/hamster-applet?rev=597&view=rev

Log:
hinting strings containing dash as unicode, 
so they get picked up on translations

Modified:
   branches/gnome-2-24/hamster/reports.py
   branches/gnome-2-24/hamster/stats.py

Modified: branches/gnome-2-24/hamster/reports.py
==============================================================================
--- branches/gnome-2-24/hamster/reports.py	(original)
+++ branches/gnome-2-24/hamster/reports.py	Fri Oct 24 12:48:22 2008
@@ -26,11 +26,11 @@
     
     
     if start_date.year != end_date.year:
-        title = _("Overview for %(start_B)s %(start_d)s, %(start_Y)s â %(end_B)s %(end_d)s, %(end_Y)s") % dates_dict
+        title = _(u"Overview for %(start_B)s %(start_d)s, %(start_Y)s â %(end_B)s %(end_d)s, %(end_Y)s") % dates_dict
     elif start_date.month != end_date.month:
-        title = _("Overview for %(start_B)s %(start_d)s â %(end_B)s %(end_d)s, %(end_Y)s") % dates_dict
+        title = _(u"Overview for %(start_B)s %(start_d)s â %(end_B)s %(end_d)s, %(end_Y)s") % dates_dict
     else:
-        title = _("Overview for %(start_B)s %(start_d)s â %(end_d)s, %(end_Y)s") % dates_dict
+        title = _(u"Overview for %(start_B)s %(start_d)s â %(end_d)s, %(end_Y)s") % dates_dict
 
     if start_date == end_date:
         title = _("Overview for %(start_B)s %(start_d)s, %(start_Y)s") % dates_dict

Modified: branches/gnome-2-24/hamster/stats.py
==============================================================================
--- branches/gnome-2-24/hamster/stats.py	(original)
+++ branches/gnome-2-24/hamster/stats.py	Fri Oct 24 12:48:22 2008
@@ -271,17 +271,17 @@
             # overview label if start and end years don't match
             # letter after prefixes (start_, end_) is the one of
             # standard python date formatting ones- you can use all of them
-            overview_label = _("Overview for %(start_B)s %(start_d)s, %(start_Y)s â %(end_B)s %(end_d)s, %(end_Y)s") % dates_dict
+            overview_label = _(u"Overview for %(start_B)s %(start_d)s, %(start_Y)s â %(end_B)s %(end_d)s, %(end_Y)s") % dates_dict
         elif self.start_date.month != self.end_date.month:
             #overview label if start and end month do not match
             # letter after prefixes (start_, end_) is the one of
             # standard python date formatting ones- you can use all of them
-            overview_label = _("Overview for %(start_B)s %(start_d)s â %(end_B)s %(end_d)s, %(end_Y)s") % dates_dict
+            overview_label = _(u"Overview for %(start_B)s %(start_d)s â %(end_B)s %(end_d)s, %(end_Y)s") % dates_dict
         else:
             #overview label for interval in same month
             # letter after prefixes (start_, end_) is the one of
             # standard python date formatting ones- you can use all of them
-            overview_label = _("Overview for %(start_B)s %(start_d)s â %(end_d)s, %(end_Y)s") % dates_dict
+            overview_label = _(u"Overview for %(start_B)s %(start_d)s â %(end_d)s, %(end_Y)s") % dates_dict
 
         if self.day_view.get_active():
             # overview label for single day



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