summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2017-01-19 19:49:27 +0100
committertg(x) <*@tg-x.net>2017-01-19 19:49:27 +0100
commit5ca8d8c1c1658e0ccbdeeb21cb7b187ef2e1d917 (patch)
tree6cced60edb52b45c26000c60077ec3e6e2ea9387
parentdbf11d7daf526574bf2f7c9ef8cbca7ce56ae635 (diff)
i18n: make templates
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 84bf8218..7d5e6be0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-all: template
+all: locale template
cd web-common && tsc taler-wallet-lib.ts
locale/messages.pot: *.j2 common/*.j2
@@ -11,14 +11,14 @@ locale-update: locale/messages.pot
pybabel update -i locale/messages.pot -d locale -l it --previous
pybabel update -i locale/messages.pot -d locale -l es --previous
-locale-compile: locale-update
+locale-compile:
pybabel compile -d locale -l en --use-fuzzy
pybabel compile -d locale -l de --use-fuzzy
pybabel compile -d locale -l fr --use-fuzzy
pybabel compile -d locale -l it --use-fuzzy
pybabel compile -d locale -l es --use-fuzzy
-locale: locale-compile
+locale: locale-update locale-compile
-template: locale
+template: locale-compile
./template.sh