示例#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)