From 757170974ec1d519c6977b9b8a51b44902781a54 Mon Sep 17 00:00:00 2001 From: Worros Date: Wed, 23 Feb 2011 12:32:30 +0800 Subject: [PATCH] Filters: L10n several strings Part of patch from tribumarchal --- pyfpdb/Filters.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pyfpdb/Filters.py b/pyfpdb/Filters.py index a93347f6..06935e50 100644 --- a/pyfpdb/Filters.py +++ b/pyfpdb/Filters.py @@ -824,7 +824,7 @@ class Filters(threading.Thread): def fillGraphOpsFrame(self, vbox): top_hbox = gtk.HBox(False, 0) vbox.pack_start(top_hbox, False, False, 0) - title = gtk.Label("Graphing Options:") + title = gtk.Label(_("Graphing Options:")) title.set_alignment(xalign=0.0, yalign=0.5) top_hbox.pack_start(title, expand=True, padding=3) showb = gtk.Button(label="hide", stock=None, use_underline=True) @@ -836,7 +836,7 @@ class Filters(threading.Thread): vbox.pack_start(hbox1, False, False, 0) hbox1.show() - label = gtk.Label("Show Graph In:") + label = gtk.Label(_("Show Graph In:")) label.set_alignment(xalign=0.0, yalign=0.5) hbox1.pack_start(label, True, True, 0) label.show() @@ -856,7 +856,7 @@ class Filters(threading.Thread): vbox.pack_start(vbox1, False, False, 0) vbox1.show() - button = gtk.CheckButton("Showdown Winnings", False) + button = gtk.CheckButton(_("Showdown Winnings"), False) vbox1.pack_start(button, True, True, 0) # wouldn't it be awesome if there was a way to remember the state of things like # this and be able to set it to what it was last time? @@ -864,7 +864,7 @@ class Filters(threading.Thread): button.connect("toggled", self.__set_graphopscheck_select, "showdown") button.show() - button = gtk.CheckButton("Non-Showdown Winnings", False) + button = gtk.CheckButton(_("Non-Showdown Winnings"), False) vbox1.pack_start(button, True, True, 0) # ditto as 8 lines up :) #button.set_active(True) @@ -1109,3 +1109,4 @@ def main(argv=None): if __name__ == '__main__': sys.exit(main()) +