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