fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test for parenthood by looking for children instead of HTML.
[wolnelektury.git]
/
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
cc6d42e
..
26eee83
100644
(file)
--- 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
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,
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):
class CustomLocale(Locale):