Exemplo n.º 1
0
def to_local(x):
    _x = _(x)
    if x != _x:
        return _x
    return RE_EXPR.sub(_expr_to_local, x)
Exemplo n.º 2
0
def to_local(x):
    _x = _(x)
    if x != _x:
        return _x
    return RE_EXPR.sub(_expr_to_local, x)
Exemplo n.º 3
0
def to_english(x):
    _x = _r(ensure_unicode(x))
    if x != _x:
        return _x
    return RE_EXPR.sub(_expr_to_english, x)
Exemplo n.º 4
0
def to_english(x):
    _x = _r(ensure_unicode(x))
    if x != _x:
        return _x
    return RE_EXPR.sub(_expr_to_english, x)