Translation update done using Pootle.
[phpmyadmin-themes.git] / scripts / generate-mo
blobc0e29453f8c594d204466fd662a79fc13f8f8175
1 #!/bin/sh
2 if [ x$1 = x--quiet ] ; then
3 stats=""
4 else
5 stats="--statistics"
6 fi
8 for x in po/*.po ; do
9 lang=`echo $x | sed 's@po/\(.*\)\.po@\1@'`
10 if [ ! -z "$stats" ] ; then
11 echo -n "$lang: "
13 mkdir -p locale/$lang/LC_MESSAGES
14 msgfmt $stats --check -o locale/$lang/LC_MESSAGES/phpmyadmin.mo $x
15 done