/usr/share/phamm/po/update-all-mo.sh is in phamm 0.5.18-3.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/bin/bash
#
for i in `ls -1 *po`; do
DIR=`echo $i| cut -d "." -f 1`
DIR1=`echo $DIR| cut -d "_" -f 1`
if test -d ../locales/$DIR/LC_MESSAGES; then
echo $i
msgfmt -v $i -o ../locales/$DIR/LC_MESSAGES/messages.mo
fi
if test -d ../locales/$DIR1/LC_MESSAGES/; then
echo $i
msgfmt -v $i -o ../locales/$DIR1/LC_MESSAGES/messages.mo
fi
done
exit 0
|