summaryrefslogtreecommitdiff
path: root/packaging/windows/make-translations.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/windows/make-translations.sh')
-rwxr-xr-xpackaging/windows/make-translations.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/windows/make-translations.sh b/packaging/windows/make-translations.sh
new file mode 100755
index 000000000..1d4132397
--- /dev/null
+++ b/packaging/windows/make-translations.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+for i in `grep -v ^# ../../po/LINGUAS`; do
+ mkdir -p ../../translations/$i/LC_MESSAGES
+ msgfmt -c -o ../../translations/$i/LC_MESSAGES/manaplus.mo ../../po/$i.po
+done