First part of name seems to be saner
This commit is contained in:
parent
3e2fc8a0b3
commit
b497ed5986
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user