summaryrefslogtreecommitdiff
path: root/template.sh
diff options
context:
space:
mode:
Diffstat (limited to 'template.sh')
-rwxr-xr-xtemplate.sh9
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 @@
+#!/bin/sh
+
+for f in $(git ls-files *.j2 common/*.j2); do
+ for ld in locale/*/; do
+ l=$(basename $ld)
+ echo "$f: $l"
+ python template.py $f $l $(basename $f .html.j2).$l.html
+ done
+done