summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b243e8f)
raw | patch | inline | side by side (parent: b243e8f)
author | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Jul 2006 15:56:37 +0000 (15:56 +0000) | ||
committer | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Jul 2006 15:56:37 +0000 (15:56 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4104 594d385d-05f5-0310-b6e9-bd551577e9d8
gen_locale_mo.sh | [new file with mode: 0755] | patch | blob |
diff --git a/gen_locale_mo.sh b/gen_locale_mo.sh
--- /dev/null
+++ b/gen_locale_mo.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+po='messages.po'
+mo='messages.mo'
+
+echo "Compiling po files"
+for f in locale/??/LC_MESSAGES; do
+
+ if [ -f $f/$po ]; then
+ echo " compiling $f/$po"
+ msgfmt $f/$po -o $f/$mo
+ else
+ echo "! skipped $f/$po because of errors during the conversation"
+ error=1
+ continue
+ fi
+
+done
+