diff options
author | ng0 <ng0@n0.is> | 2018-01-16 00:23:22 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2018-01-16 00:23:22 +0000 |
commit | 50c178a1f9c33b3f35f94b6a522688ed9a355734 (patch) | |
tree | 13d4227f1a6b82831db732c9d69fde3425b28b42 | |
parent | 96ee7de667e64a646514af670d78544a806d46ba (diff) | |
download | www-50c178a1f9c33b3f35f94b6a522688ed9a355734.tar.gz www-50c178a1f9c33b3f35f94b6a522688ed9a355734.zip |
still not fixed
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,11 +2,14 @@ | |||
2 | 2 | ||
3 | # All: build HTML pages in all languages and compile the | 3 | # All: build HTML pages in all languages and compile the |
4 | # TypeScript logic in web-common. | 4 | # TypeScript logic in web-common. |
5 | |||
6 | PYTHONPATH="$PYTHONPATH:$(pwd)" | ||
7 | |||
5 | all: locale template | 8 | all: locale template |
6 | 9 | ||
7 | # Extract translateable strings from jinga2 templates. | 10 | # Extract translateable strings from jinga2 templates. |
8 | locale/messages.pot: *.j2 common/*.j2.inc | 11 | locale/messages.pot: *.j2 common/*.j2.inc |
9 | env PYTHONPATH="$PYTHONPATH:." pybabel extract -F locale/babel.map -o locale/messages.pot . | 12 | pybabel extract -F locale/babel.map -o locale/messages.pot . |
10 | 13 | ||
11 | # Update translation (.po) files with new strings. | 14 | # Update translation (.po) files with new strings. |
12 | locale-update: locale/messages.pot | 15 | locale-update: locale/messages.pot |