[hamster-applet] fixed the missing context call



commit f3ff81a71c9dceac1d5c683b5f2d6b69fd4b9609
Author: Toms Bauģis <toms baugis gmail com>
Date:   Mon Aug 31 13:07:30 2009 +0100

    fixed the missing context call

 hamster/stats.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/hamster/stats.py b/hamster/stats.py
index eb07c5f..caf56cd 100644
--- a/hamster/stats.py
+++ b/hamster/stats.py
@@ -916,8 +916,8 @@ than 15 minutes you seem to be a busy bee." % ("<b>%d</b>" % short_percent))
             # date format for overview label when only single day is visible
             # Using python datetime formatting syntax. See:
             # http://docs.python.org/library/time.html#time.strftime
-            start_date_str = self.view_date.strftime("single day overview",
-                                                     "%B %d, %Y")
+            start_date_str = self.view_date.strftime(C_("single day overview",
+                                                        "%B %d, %Y"))
             # Overview label if looking on single day
             overview_label = _(u"Overview for %(date)s") % \
                                                       ({"date": start_date_str})



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