Code

Cleaned up code
[gosa.git] / gen_locale_mo.sh
1 #!/bin/sh
2 po='messages.po'
3 mo='messages.mo'
5 echo "Compiling po files"
6 for f in locale/??/LC_MESSAGES; do
8   if [ -f $f/$po ]; then
9     echo " compiling $f/$po"
10     msgfmt $f/$po -o $f/$mo
11   else
12     echo "! skipped $f/$po because of errors during the conversation"
13     error=1
14     continue
15   fi
17 done