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

Avoid adding word generated

parent d13f2422
......@@ -53,10 +53,7 @@ class LanguageManager(models.Manager):
parts = code.split('-')
try:
baselang = Language.objects.get(code = parts[0])
lang.name = '%s (generated - %s)' % (
baselang.name,
code,
)
lang.name = baselang.name
lang.nplurals = baselang.nplurals
lang.pluralequation = baselang.pluralequation
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