Files
phpmyadmin/scripts/generate-mo
2010-03-11 18:49:13 +01:00

8 lines
223 B
Bash
Executable File

#!/bin/sh
for x in po/*.po ; do
lang=`echo $x | sed 's@po/\(.*\)\.po@\1@'`
echo -n "$lang: "
mkdir -p locale/$lang/LC_MESSAGES
msgfmt --statistics --check -o locale/$lang/LC_MESSAGES/phpmyadmin.mo $x
done