fix some gettextifications
This commit is contained in:
parent
8bec7644ef
commit
4d1430026b
|
@ -208,7 +208,7 @@ class PokerStars(HandHistoryConverter):
|
||||||
info['sb'] = self.Lim_Blinds[mg['BB']][0]
|
info['sb'] = self.Lim_Blinds[mg['BB']][0]
|
||||||
info['bb'] = self.Lim_Blinds[mg['BB']][1]
|
info['bb'] = self.Lim_Blinds[mg['BB']][1]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
log.error(_("determineGameType: Lim_Blinds has no lookup for '%s'" % mg['BB']))
|
log.error(_("determineGameType: Lim_Blinds has no lookup for '%s'") % mg['BB'])
|
||||||
log.error(_("determineGameType: Raising FpdbParseError"))
|
log.error(_("determineGameType: Raising FpdbParseError"))
|
||||||
raise FpdbParseError(_("Lim_Blinds has no lookup for '%s'") % mg['BB'])
|
raise FpdbParseError(_("Lim_Blinds has no lookup for '%s'") % mg['BB'])
|
||||||
|
|
||||||
|
@ -261,8 +261,8 @@ class PokerStars(HandHistoryConverter):
|
||||||
elif info[key].find("FPP")!=-1:
|
elif info[key].find("FPP")!=-1:
|
||||||
hand.buyinCurrency="PSFP"
|
hand.buyinCurrency="PSFP"
|
||||||
else:
|
else:
|
||||||
#FIXME: handle other currencies, FPP, play money
|
#FIXME: handle other currencies, play money
|
||||||
raise FpdbParseError(_("Failed to detect currency: '%s'" % info[key]))
|
raise FpdbParseError(_("Failed to detect currency: '%s'") % info[key])
|
||||||
|
|
||||||
info['BIAMT'] = info['BIAMT'].strip(u'$€FPP')
|
info['BIAMT'] = info['BIAMT'].strip(u'$€FPP')
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ class Table(Table_Window):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if self.window == None:
|
if self.window == None:
|
||||||
log.error(_("Window %s not found. Skipping." % self.search_string))
|
log.error(_("Window %s not found. Skipping.") % self.search_string)
|
||||||
return None
|
return None
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
log.error(_("self.window doesn't exist? why?"))
|
log.error(_("self.window doesn't exist? why?"))
|
||||||
|
|
|
@ -457,11 +457,11 @@ class fpdb:
|
||||||
if columnNumber==0:
|
if columnNumber==0:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
label=gtk.Label(_("column %d" % columnNumber))
|
label=gtk.Label(_("column %d") % columnNumber)
|
||||||
table.attach(child=label, left_attach=columnNumber, right_attach=columnNumber+1, top_attach=rowNumber, bottom_attach=rowNumber+1)
|
table.attach(child=label, left_attach=columnNumber, right_attach=columnNumber+1, top_attach=rowNumber, bottom_attach=rowNumber+1)
|
||||||
label.show()
|
label.show()
|
||||||
elif columnNumber==0:
|
elif columnNumber==0:
|
||||||
label=gtk.Label(_("row %d" % rowNumber))
|
label=gtk.Label(_("row %d") % rowNumber)
|
||||||
table.attach(child=label, left_attach=columnNumber, right_attach=columnNumber+1, top_attach=rowNumber, bottom_attach=rowNumber+1)
|
table.attach(child=label, left_attach=columnNumber, right_attach=columnNumber+1, top_attach=rowNumber, bottom_attach=rowNumber+1)
|
||||||
label.show()
|
label.show()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user