aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2017-01-19 18:54:35 +0100
committertg(x) <*@tg-x.net>2017-01-19 18:54:35 +0100
commit856556bb33ed4bd881f9ed866696fc6c1e5af37f (patch)
treefac07dc0f2aff98a19a0dd587e0a1c134efab3a3 /Makefile
parentbade9dae384032a974dedc496ad44595072d99d9 (diff)
downloadwww-856556bb33ed4bd881f9ed866696fc6c1e5af37f.tar.gz
www-856556bb33ed4bd881f9ed866696fc6c1e5af37f.zip
i18n: generate HTML files from templates for each language
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b9a72a9a..84bf8218 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
1all: locale 1all: template
2 cd web-common && tsc taler-wallet-lib.ts && cd .. 2 cd web-common && tsc taler-wallet-lib.ts
3 3
4locale/messages.pot: *.j2 common/*.j2 4locale/messages.pot: *.j2 common/*.j2
5 pybabel extract -F locale/babel.map -o locale/messages.pot . 5 pybabel extract -F locale/babel.map -o locale/messages.pot .
@@ -19,3 +19,6 @@ locale-compile: locale-update
19 pybabel compile -d locale -l es --use-fuzzy 19 pybabel compile -d locale -l es --use-fuzzy
20 20
21locale: locale-compile 21locale: locale-compile
22
23template: locale
24 ./template.sh