From 430407abbaedfdbf08bc5523a6bd750997837c07 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 29 Dec 2017 11:30:06 +0100 Subject: init russian language --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 904cf2cf..8dc4bae6 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/*.j2.inc env PYTHONPATH="." pybabel extract -F locale/babel.map -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 ./template.py -- cgit v1.2.3