Show revive postfix properly

This commit is contained in:
John 2015-05-30 18:09:39 +03:00 committed by Loudrob
parent c3fa3bd3c3
commit d5fec41850
2 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ class DistributedSuitBase(DistributedAvatar.DistributedAvatar, Suit.Suit, SuitBa
if self.getSkeleRevives() > 0: if self.getSkeleRevives() > 0:
nameInfo = TTLocalizer.SuitBaseNameWithLevel % {'name': self.name, nameInfo = TTLocalizer.SuitBaseNameWithLevel % {'name': self.name,
'dept': self.getStyleDept(), 'dept': self.getStyleDept(),
'level': '%s%s' % (self.getActualLevel(), TTLocalizer.SkeleRevivePostFix)} 'level': '%s%s' % (self.getActualLevel(), TTLocalizer.SkeleRevivePostFix % (self.skeleRevives + 1))}
self.setDisplayName(nameInfo) self.setDisplayName(nameInfo)
else: else:
nameInfo = TTLocalizer.SuitBaseNameWithLevel % {'name': self.name, nameInfo = TTLocalizer.SuitBaseNameWithLevel % {'name': self.name,

View file

@ -1914,7 +1914,7 @@ BossbotSkelP = 'Bossbot Skelecogs'
LawbotSkelP = 'Lawbot Skelecogs' LawbotSkelP = 'Lawbot Skelecogs'
CashbotSkelP = 'Cashbot Skelecogs' CashbotSkelP = 'Cashbot Skelecogs'
SellbotSkelP = 'Sellbot Skelecogs' SellbotSkelP = 'Sellbot Skelecogs'
SkeleRevivePostFix = ' v2.0' SkeleRevivePostFix = ' v%s.0'
AvatarDetailPanelOK = lOK AvatarDetailPanelOK = lOK
AvatarDetailPanelCancel = lCancel AvatarDetailPanelCancel = lCancel
AvatarDetailPanelClose = lClose AvatarDetailPanelClose = lClose