summaryrefslogtreecommitdiff
path: root/resources/locale/compile-po.sh
diff options
context:
space:
mode:
Diffstat (limited to 'resources/locale/compile-po.sh')
-rwxr-xr-xresources/locale/compile-po.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/resources/locale/compile-po.sh b/resources/locale/compile-po.sh
new file mode 100755
index 0000000..80d9411
--- /dev/null
+++ b/resources/locale/compile-po.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# get directory of script and cd to it
+DIR="$( cd "$( dirname "$0" )" && pwd )"
+cd $DIR
+
+for d in `ls -d */`
+do
+ echo -n "$d "
+ msgfmt -c -v $d/LC_MESSAGES/*.po -o $d/LC_MESSAGES/gnomepie.mo
+done