translation compilation script
authorChristian Weiske <cweiske@cweiske.de>
Thu, 17 Nov 2011 18:20:10 +0000 (19:20 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Thu, 17 Nov 2011 18:20:10 +0000 (19:20 +0100)
po/.gitignore [new file with mode: 0644]
po/compile.sh [new file with mode: 0755]

diff --git a/po/.gitignore b/po/.gitignore
new file mode 100644 (file)
index 0000000..cd1f2c9
--- /dev/null
@@ -0,0 +1 @@
+*.mo
diff --git a/po/compile.sh b/po/compile.sh
new file mode 100755 (executable)
index 0000000..af7f425
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+for i in ??.po; do
+    base=`basename "$i" .po`
+    msgfmt --statistics "$i" -o "$base.mo"
+done