def getI18nValue(self): maxValue = RECORD_MAX_VALUES.get(self.getRecordName()) if maxValue is not None and self._value >= maxValue: return i18n.makeString('#achievements:achievement/maxMedalValue' ) % BigWorld.wg_getIntegralFormat(maxValue - 1) return BigWorld.wg_getIntegralFormat(self._value)
def getI18nValue(self): maxValue = RECORD_MAX_VALUES.get(self.getRecordName()) if maxValue is not None and self._value >= maxValue: return i18n.makeString('#achievements:achievement/maxMedalValue') % BigWorld.wg_getIntegralFormat(maxValue - 1) return BigWorld.wg_getIntegralFormat(self._value)