From: opensides Date: Tue, 11 Jul 2006 15:56:37 +0000 (+0000) Subject: added a script to compile all of the .po files X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e0d2fcb871562021cd28e0b9994b27f05e9bcf71;p=gosa.git added a script to compile all of the .po files git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4104 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gen_locale_mo.sh b/gen_locale_mo.sh new file mode 100755 index 000000000..9cb0bb882 --- /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 +