From: Marcin Koziej Date: Wed, 28 Mar 2012 13:02:48 +0000 (+0200) Subject: compile pybabel X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/d6cda2aae737f7c1f039695572f7bbc22bded124?ds=inline;hp=-c compile pybabel --- d6cda2aae737f7c1f039695572f7bbc22bded124 diff --git a/apps/wolnelektury_core/management/commands/localepack.py b/apps/wolnelektury_core/management/commands/localepack.py index 813515e8e..6133762f3 100644 --- a/apps/wolnelektury_core/management/commands/localepack.py +++ b/apps/wolnelektury_core/management/commands/localepack.py @@ -101,6 +101,7 @@ class CustomLocale(Locale): for lc in zip(*languages)[0]: shutil.copy2(os.path.join(input_directory, lc, self.name + '.po'), self.po_file(lc)) + os.system('pybabel compile -D django -d %s' % os.dirname(self.out_file)) SOURCES = []