fixed languages.py py3 bug

This commit is contained in:
mdipierro
2018-05-01 15:53:19 -05:00
parent 891348986c
commit 4130f87c62
+2 -1
View File
@@ -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)