gettextify PS Summary, add note about py2exe

This commit is contained in:
steffen123 2010-08-15 19:46:10 +02:00
parent 9ba2c5cdc4
commit 8abfff4cc0
2 changed files with 3 additions and 2 deletions

View File

@ -69,7 +69,7 @@ class PokerStarsSummary(TourneySummary):
elif lines[1].find("FPP")!=-1:
self.currency="PSFP"
else:
raise FpdbParseError("didn't recognise buyin currency in:"+lines[1])
raise FpdbParseError(_("didn't recognise buyin currency in:")+lines[1])
if self.currency=="USD" or self.currency=="EUR":
result=self.re_BuyInFee.search(lines[1])
@ -109,7 +109,7 @@ class PokerStarsSummary(TourneySummary):
useET=False
result=self.re_DateTime.search(lines[currentLine])
if not result:
print "in not result starttime"
print _("in not result starttime")
useET=True
result=self.re_DateTimeET.search(lines[currentLine])
result=result.groupdict()

View File

@ -69,6 +69,7 @@ Py2exe script for fpdb.
# See walkthrough in packaging directory for versions used
# Updates to this script have broken python 2.5 compatibility (gio module, msvcr71 references now msvcp90)
# steffeN: Doesnt seem necessary to gettext-ify this, but feel free to if you disagree
import os
import sys