diff options
author | tg(x) <*@tg-x.net> | 2017-01-19 18:54:35 +0100 |
---|---|---|
committer | tg(x) <*@tg-x.net> | 2017-01-19 18:54:35 +0100 |
commit | 856556bb33ed4bd881f9ed866696fc6c1e5af37f (patch) | |
tree | fac07dc0f2aff98a19a0dd587e0a1c134efab3a3 /Makefile | |
parent | bade9dae384032a974dedc496ad44595072d99d9 (diff) | |
download | www-856556bb33ed4bd881f9ed866696fc6c1e5af37f.tar.gz www-856556bb33ed4bd881f9ed866696fc6c1e5af37f.zip |
i18n: generate HTML files from templates for each language
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | all: locale | 1 | all: template |
2 | cd web-common && tsc taler-wallet-lib.ts && cd .. | 2 | cd web-common && tsc taler-wallet-lib.ts |
3 | 3 | ||
4 | locale/messages.pot: *.j2 common/*.j2 | 4 | locale/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 | ||
21 | locale: locale-compile | 21 | locale: locale-compile |
22 | |||
23 | template: locale | ||
24 | ./template.sh | ||