diff options
Diffstat (limited to 'template.sh')
-rwxr-xr-x | template.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/template.sh b/template.sh new file mode 100755 index 00000000..4d498c71 --- /dev/null +++ b/template.sh | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | for f in $(git ls-files *.j2 common/*.j2); do | ||
4 | for ld in locale/*/; do | ||
5 | l=$(basename $ld) | ||
6 | echo "$f: $l" | ||
7 | python template.py $f $l $(basename $f .html.j2).$l.html | ||
8 | done | ||
9 | done | ||