Commit 5f9074e3 authored by Michal Čihař's avatar Michal Čihař

Correct name and plurals for Kyrgyz

parent 8de1d8c1
......@@ -466,6 +466,8 @@ class Language(models.Model, PercentMixin):
self.name = 'Traditional Chinese'
elif self.code == 'ca@valencia':
self.name = 'Valencian'
elif self.code == 'ky':
self.name = 'Kyrgyz'
def set_direction(self):
'''
......@@ -493,8 +495,8 @@ class Language(models.Model, PercentMixin):
self.pluralequation = self.pluralequation[1:-1]
# Fixes for broken plurals
if self.code in ['kk', 'fa']:
# Kazakh and Persian should have plurals, ttkit says it does
if self.code in ['kk', 'fa', 'ky']:
# These languages should have plurals, ttkit says it does
# not have
self.nplurals = 2
self.pluralequation = 'n != 1'
......@@ -80,6 +80,7 @@ for l in Language.objects.exclude(name__contains='generated').values_list('name'
{% trans "Kashubian" %}
{% trans "Kazakh" %}
{% trans "Kirghiz" %}
{% trans "Kyrgyz" %}
{% trans "Klingon" %}
{% trans "Klingon (pIqaD)" %}
{% trans "Korean" %}
......
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