Exemplo n.º 1
0
def titleRelationFormatPlain(value,
                             relation,
                             relationI18nType=RELATIONS_SCHEME.DEFAULT,
                             titleKey=None):
    return text_styles.promoSubTitlePlain(
        _titleRelationFormat(value, relation, relationI18nType, titleKey))
Exemplo n.º 2
0
def titleCumulativeFormatPlain(current, total):
    return text_styles.promoSubTitlePlain(
        '%s / %s' % (backport.getNiceNumberFormat(
            int(current)), backport.getNiceNumberFormat(int(total))))
Exemplo n.º 3
0
def titleFormatPlain(title):
    return text_styles.promoSubTitlePlain(title)