X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/fb09175c71d4a656627dfc8607e88b806c27241a..aae232dcf008ab39db553bc1b20573fa00e3b191:/apps/wolnelektury_core/management/commands/localepack.py diff --git a/apps/wolnelektury_core/management/commands/localepack.py b/apps/wolnelektury_core/management/commands/localepack.py index cc6d42ef8..26eee83a5 100644 --- a/apps/wolnelektury_core/management/commands/localepack.py +++ b/apps/wolnelektury_core/management/commands/localepack.py @@ -1,4 +1,7 @@ - +# -*- coding: utf-8 -*- +# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# from optparse import make_option from django.conf import settings from django.core.management.base import BaseCommand @@ -95,7 +98,7 @@ class ModelTranslation(Locale): def load(self, input_directory, languages): call_command('translation2po', self.appname, directory=input_directory, - load=True, lang=','.join(zip(*languages)[0]), poname=self.poname) + load=True, lang=','.join(zip(*languages)[0]), poname=self.poname, keep_running=True) class CustomLocale(Locale):