fixed bug in pluralization, thanks Vladyslav
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.0.2 (2012-08-30 15:10:39) stable
|
Version 2.0.2 (2012-08-30 15:20:33) stable
|
||||||
|
|||||||
+1
-1
@@ -507,7 +507,7 @@ class translator(object):
|
|||||||
if int(n)==1:
|
if int(n)==1:
|
||||||
return word
|
return word
|
||||||
elif word:
|
elif word:
|
||||||
id = min(int(n)-1,1) # self.get_plural_id(abs(int(n)))
|
id = self.get_plural_id(abs(int(n)))
|
||||||
# id = 0 first plural form
|
# id = 0 first plural form
|
||||||
# id = 1 second plural form
|
# id = 1 second plural form
|
||||||
# etc.
|
# etc.
|
||||||
|
|||||||
Reference in New Issue
Block a user