fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
compile pybabel
[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
813515e
..
6133762
100644
(file)
--- 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 = []