From 215bc5b0f3c4971e6dc45a7bc4a72372a2cbb1f0 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Sat, 14 Aug 2010 18:56:28 +0200 Subject: [PATCH] gettext-ify GuiPositionalStats.py --- pyfpdb/GuiPositionalStats.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pyfpdb/GuiPositionalStats.py b/pyfpdb/GuiPositionalStats.py index 6b4e0703..bc758923 100644 --- a/pyfpdb/GuiPositionalStats.py +++ b/pyfpdb/GuiPositionalStats.py @@ -132,7 +132,7 @@ class GuiPositionalStats (threading.Thread): def toggleCallback(self, widget, data=None): # print "%s was toggled %s" % (data, ("OFF", "ON")[widget.get_active()]) self.activesite = data - print "DEBUG: activesite set to %s" %(self.activesite) + print _("DEBUG: activesite set to %s") %(self.activesite) def refreshStats(self, widget, data): try: self.stats_vbox.destroy() @@ -163,13 +163,13 @@ class GuiPositionalStats (threading.Thread): if not sitenos: #Should probably pop up here. - print "No sites selected - defaulting to PokerStars" + print _("No sites selected - defaulting to PokerStars") sitenos = [2] if not playerids: - print "No player ids found" + print _("No player ids found") return if not limits: - print "No limits found" + print _("No limits found") return self.createStatsTable(vbox, playerids, sitenos, limits, seats, dates) @@ -318,7 +318,7 @@ class GuiPositionalStats (threading.Thread): vbox.show_all() self.db.rollback() - print "Positional Stats page displayed in %4.2f seconds" % (time() - starttime) + print _("Positional Stats page displayed in %4.2f seconds") % (time() - starttime) #end def fillStatsFrame(self, vbox): def refineQuery(self, query, playerids, sitenos, limits, seats, dates):