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

Initially set filename when creating translation

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 879dc8d7
......@@ -62,6 +62,7 @@ class TranslationManager(models.Manager):
language=lang,
language_code=code,
subproject=subproject
defaults={'filename': path},
)
if translation.filename != path:
force = True
......
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