Add a script to compile all the .po files.
authorSteinar H. Gunderson <sesse@samfundet.no>
Sun, 17 Jul 2005 00:00:10 +0000 (00:00 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Sun, 17 Jul 2005 00:00:10 +0000 (00:00 +0000)
intl/make-all-mo.sh [new file with mode: 0755]

diff --git a/intl/make-all-mo.sh b/intl/make-all-mo.sh
new file mode 100755 (executable)
index 0000000..e7ad3f8
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh
+for FILE in po/*.po; do
+       LNG=$( basename $FILE .po )
+       echo $LNG...
+       rm -rf po/$LNG
+       mkdir -p po/$LNG/LC_MESSAGES
+       msgfmt -o po/$LNG/LC_MESSAGES/ccbs.mo po/$LNG.po
+done