Commit 93c88995 authored by Michal Čihař's avatar Michal Čihař

Merge remote-tracking branch 'origin/master'

parents 6c6bbc62 c8063380
......@@ -38,10 +38,7 @@ class LanguageManager(models.Manager):
if '-' in code:
try:
baselang = Language.objects.get(code = code.replace('-', '_'))
lang.name = '%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