Commit b497ed59 authored by Michal Čihař's avatar Michal Čihař

First part of name seems to be saner

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