Exemplo n.º 1
0
 def getHeader(self):
     return text_styles.highTitle(
         i18n.makeString(MENU.AWARDWINDOW_BOOSTERAWARD_HEADER,
                         boosterName=i18n.makeString(
                             MENU.boosterDescriptionLocale(
                                 self._booster.boosterGuiType),
                             effectValue=self._booster.getFormattedValue(
                                 text_styles.highTitle))))
Exemplo n.º 2
0
 def getDescription(self, valueFormatter=None):
     return _ms(MENU.boosterDescriptionLocale(self.boosterGuiType),
                effectValue=self.getFormattedValue(valueFormatter)) + _ms(
                    MENU.BOOSTER_DESCRIPTION_EFFECTTIME,
                    effectTime=self.getEffectTimeStr(True))