l10n: missed gettextify in various *ToFpdb files

This commit is contained in:
steffen123 2010-09-17 19:32:50 +02:00
parent a6b679c7fb
commit f540214e17
4 changed files with 4 additions and 4 deletions

View File

@ -115,7 +115,7 @@ class Betfair(HandHistoryConverter):
m = self.re_HandInfo.search(hand.handText)
if(m == None):
log.error(_("Didn't match re_HandInfo"))
raise FpdbParseError("No match in readHandInfo.")
raise FpdbParseError(_("No match in readHandInfo."))
print "DEBUG: got this far!"
logging.debug("HID %s, Table %s" % (m.group('HID'), m.group('TABLE')))
hand.handid = m.group('HID')

View File

@ -170,7 +170,7 @@ or None if we fail to get the info """
if m is None:
logging.info(_("Didn't match re_HandInfo"))
logging.info(hand.handText)
raise FpdbParseError("No match in readHandInfo.")
raise FpdbParseError(_("No match in readHandInfo."))
logging.debug("HID %s-%s, Table %s" % (m.group('HID1'),
m.group('HID2'), m.group('TABLE')[:-1]))
hand.handid = m.group('HID1') + m.group('HID2')

View File

@ -223,7 +223,7 @@ class Fulltilt(HandHistoryConverter):
if m is None:
logging.info(_("Didn't match re_HandInfo"))
logging.info(hand.handText)
raise FpdbParseError("No match in readHandInfo.")
raise FpdbParseError(_("No match in readHandInfo."))
hand.handid = m.group('HID')
hand.tablename = m.group('TABLE')

View File

@ -222,7 +222,7 @@ class PokerStars(HandHistoryConverter):
m2 = self.re_GameInfo.search(hand.handText)
if m is None or m2 is None:
log.error("Didn't match re_HandInfo")
raise FpdbParseError("No match in readHandInfo.")
raise FpdbParseError(_("No match in readHandInfo."))
info.update(m.groupdict())
info.update(m2.groupdict())