fixed languages.py py3 bug
This commit is contained in:
1 parent
891348986c
commit
4130f87c62
1 file changed
+2
-1
+2
-1
@@ -973,7 +973,8 @@ class translator(object):
|
||||
else:
|
||||
word = w[1:]
|
||||
fun = cap_fun
|
||||
return fun(self.plural(word, n))
|
||||
s = fun(self.plural(word, n))
|
||||
return s if PY2 else to_unicode(s)
|
||||
|
||||
s = m.group(1)
|
||||
part = regex_plural_tuple.sub(sub_tuple, s)
|
||||
|
||||
Reference in new issue
Block a user