Commit 0a924707 authored by Michal Čihař's avatar Michal Čihař

Use only shorter language names

parent 04418bc7
...@@ -17,7 +17,7 @@ class Command(BaseCommand): ...@@ -17,7 +17,7 @@ class Command(BaseCommand):
for code, props in data.languages.items(): for code, props in data.languages.items():
lang, created = Language.objects.get_or_create( lang, created = Language.objects.get_or_create(
code = code) code = code)
lang.name = props[0] lang.name = props[0].split(';')[-1]
lang.nplurals = props[1] lang.nplurals = props[1]
lang.pluralequation = props[2] lang.pluralequation = props[2]
lang.save() lang.save()
......
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