Exemplo n.º 1
0
 def _getStandardDescription(self):
     return self._getTranslatedText('#achievements:%s_standard_descr') % {
         'condition':
         text_styles.creditsSmall(self._getStandardValues()) +
         self._getConditionText()
     }
Exemplo n.º 2
0
 def _getConditionText(self):
     condTextKey = '#achievements:%s_condition_text' % self._getActualName()
     return text_styles.creditsSmall(i18n.makeString(
         condTextKey)) if i18n.doesTextExist(condTextKey) else ''
 def _getExtDescription(self):
     return self._getTranslatedText('#achievements:%s_ext_descr') % {
         'condition':
         text_styles.creditsSmall(
             str(self._getExtValues()) + self._getConditionText())
     }