path: root/Makefile
diff options
authorMarcello Stanisci <>2017-12-29 11:30:06 +0100
committerMarcello Stanisci <>2017-12-29 11:30:06 +0100
commit430407abbaedfdbf08bc5523a6bd750997837c07 (patch)
tree90acc86b598e007387e8985123854fcb741ce551 /Makefile
parent407d7d597ae2381029f70c1c59983789741c301b (diff)
init russian language
Diffstat (limited to 'Makefile')
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 904cf2c..8dc4bae 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
all: locale template
cd web-common && tsc
-# Extract translateable strings from jinga2 templates.
+# Extract translateable strings from jinja2 templates.
locale/messages.pot: *.j2 common/*.j2 common/*
env PYTHONPATH="." pybabel extract -F locale/ -o locale/messages.pot .
@@ -16,6 +16,7 @@ locale-update: locale/messages.pot
msgmerge -U -m --previous locale/fr/LC_MESSAGES/messages.po locale/messages.pot
msgmerge -U -m --previous locale/es/LC_MESSAGES/messages.po locale/messages.pot
msgmerge -U -m --previous locale/it/LC_MESSAGES/messages.po locale/messages.pot
+ msgmerge -U -m --previous locale/ru/LC_MESSAGES/messages.po locale/messages.pot
if grep -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; then echo -e "\nERROR: Conflicts encountered in PO files.\n"; exit 1; fi
@@ -26,11 +27,12 @@ locale-compile:
pybabel compile -d locale -l fr --use-fuzzy
pybabel compile -d locale -l it --use-fuzzy
pybabel compile -d locale -l es --use-fuzzy
+ pybabel compile -d locale -l ru --use-fuzzy
# Process everything related to gettext translations.
locale: locale-update locale-compile
-# Run the jinga2 templating engine to expand templates to HTML
+# Run the jinja2 templating engine to expand templates to HTML
# incorporating translations.
template: locale-compile