Commit 636c57d9 authored by Michal Čihař's avatar Michal Čihař

Merge remote-tracking branch 'origin/master'

parents c3812d15 f6ce3e26
......@@ -97,8 +97,8 @@ class LanguageManager(models.Manager):
# Workaround bug in data
lang.nplurals = 4
lang.pluralequation = '(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3'
elif code == 'kk':
# Kazakh should have plurals, ttkit says it does not have
elif code in ['kk', 'fa']:
# Kazakh and Persian should have plurals, ttkit says it does not have
lang.nplurals = 2
lang.pluralequation = '(n != 1)'
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment