def _formatText(style, text = ''): if type(text) in types.StringTypes and i18n.isValidKey(text): text = i18n.makeString(text) return _getStyle(style, {'message': text})
def _formatText(style, text=''): if type(text) in types.StringTypes and i18n.isValidKey(text): text = i18n.makeString(text) return _getStyle(style, {'message': text})
def _formatText(style, text = ''): if i18n.isValidKey(text): text = i18n.makeString(text) return makeHtmlString('html_templates:lobby/textStyle', style, {'message': text})