diff options
author | ng0 <ng0@taler.net> | 2019-10-28 16:38:31 +0000 |
---|---|---|
committer | ng0 <ng0@taler.net> | 2019-10-28 16:38:31 +0000 |
commit | 57d99f4adcc1900f6166c977facf6b8b48df470e (patch) | |
tree | cc6b56ee1635755fdce2c3e068fd2dc0f1d46e3c /Makefile | |
parent | ab72a2d3883c740f0fec38aa85e65f670bac3cbb (diff) | |
download | www-57d99f4adcc1900f6166c977facf6b8b48df470e.tar.gz www-57d99f4adcc1900f6166c977facf6b8b48df470e.tar.bz2 www-57d99f4adcc1900f6166c977facf6b8b48df470e.zip |
more quiet.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -14,6 +14,8 @@ _DIRLIST= dist icons papers pdf presentations images .PHONY: all run locale-compile locale install clean +.OBJDIR=rendered + # Work this into an mk file # All: build HTML pages in all languages and compile the @@ -33,21 +35,22 @@ all: locale template # Extract translateable strings from jinja2 templates. locale/messages.pot: template/*.j2 common/*.j2 common/*.j2.inc - $(env) PYTHONPATH="." $(pybabel) extract -F locale/babel.map -o locale/messages.pot . + $(env) PYTHONPATH="." $(pybabel) -q extract -F locale/babel.map -o locale/messages.pot . # Update translation (.po) files with new strings. locale-update: locale/messages.pot .for _lang in ${_LOCALELIST} - $(msgmerge) -U -m --previous locale/${_lang}/LC_MESSAGES/messages.po locale/messages.pot + $(msgmerge) -q -U -m --previous locale/${_lang}/LC_MESSAGES/messages.po locale/messages.pot .endfor if $(grep) -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; then \ - $(echo) -e "\nERROR: Conflicts encountered in PO files.\n"; exit 1; \ + $(echo) -e "\nERROR: Conflicts encountered in PO files.\n"; \ + exit 1; \ fi # Compile translation files for use. locale-compile: .for _lang in ${_LOCALELIST} - $(pybabel) compile -d locale -l ${_lang} --use-fuzzy + $(pybabel) -q compile -d locale -l ${_lang} --use-fuzzy .endfor # Process everything related to gettext translations. |