[hamster-applet] bug 589026 - disambiguate between all years and categories for translators, using a dummy variable
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Subject: [hamster-applet] bug 589026 - disambiguate between all years and categories for translators, using a dummy variable
- Date: Sun, 19 Jul 2009 13:37:54 +0000 (UTC)
commit aa59c171a51696a23b81d7bb4d94e81490a04ba9
Author: Toms Bauģis <toms baugis gmail com>
Date: Sun Jul 19 16:36:48 2009 +0300
bug 589026 - disambiguate between all years and categories for translators, using a dummy variable
hamster/stats.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/hamster/stats.py b/hamster/stats.py
index 4b20ed6..7bff23c 100644
--- a/hamster/stats.py
+++ b/hamster/stats.py
@@ -116,7 +116,8 @@ class ReportChooserDialog(gtk.Dialog):
self.end_date.set_date(end_date)
#add unsorted category
- button_all = gtk.CheckButton(_("All").encode("utf-8"))
+ button_all = gtk.CheckButton((_("All %(categories)s") %
+ dict(categories = '')).strip().encode("utf-8"))
button_all.value = None
button_all.set_active(True)
@@ -429,7 +430,7 @@ class StatsViewer(object):
self.year = year
self.connect("clicked", on_clicked)
- all_button = YearButton(_("All"), None, self.on_year_changed)
+ all_button = YearButton((_("All %(years)s") % dict(years = "")).strip().encode("utf-8"), None, self.on_year_changed)
year_box.pack_start(all_button)
self.bubbling = True # TODO figure out how to properly work with togglebuttons as radiobuttons
all_button.set_active(True)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]