Filters: L10n several strings

Part of patch from tribumarchal <boitemail25@aol.com>
This commit is contained in:
Worros 2011-02-23 13:10:16 +08:00
parent 67a36ead6c
commit e9f2f47726

View File

@ -824,7 +824,7 @@ class Filters(threading.Thread):
def fillGraphOpsFrame(self, vbox): def fillGraphOpsFrame(self, vbox):
top_hbox = gtk.HBox(False, 0) top_hbox = gtk.HBox(False, 0)
vbox.pack_start(top_hbox, False, 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) title.set_alignment(xalign=0.0, yalign=0.5)
top_hbox.pack_start(title, expand=True, padding=3) top_hbox.pack_start(title, expand=True, padding=3)
showb = gtk.Button(label="hide", stock=None, use_underline=True) 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) vbox.pack_start(hbox1, False, False, 0)
hbox1.show() hbox1.show()
label = gtk.Label("Show Graph In:") label = gtk.Label(_("Show Graph In:"))
label.set_alignment(xalign=0.0, yalign=0.5) label.set_alignment(xalign=0.0, yalign=0.5)
hbox1.pack_start(label, True, True, 0) hbox1.pack_start(label, True, True, 0)
label.show() label.show()
@ -856,7 +856,7 @@ class Filters(threading.Thread):
vbox.pack_start(vbox1, False, False, 0) vbox.pack_start(vbox1, False, False, 0)
vbox1.show() vbox1.show()
button = gtk.CheckButton("Showdown Winnings", False) button = gtk.CheckButton(_("Showdown Winnings"), False)
vbox1.pack_start(button, True, True, 0) vbox1.pack_start(button, True, True, 0)
# wouldn't it be awesome if there was a way to remember the state of things like # 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? # 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.connect("toggled", self.__set_graphopscheck_select, "showdown")
button.show() button.show()
button = gtk.CheckButton("Non-Showdown Winnings", False) button = gtk.CheckButton(_("Non-Showdown Winnings"), False)
vbox1.pack_start(button, True, True, 0) vbox1.pack_start(button, True, True, 0)
# ditto as 8 lines up :) # ditto as 8 lines up :)
#button.set_active(True) #button.set_active(True)