Files
saf7/Resources/Lokalize/2_makemo.sh
2022-10-16 15:42:36 +02:00

17 lines
297 B
Bash
Executable File

#!/bin/bash
if [ ! -x 2_makemo.sh ]
then
echo "Wrong working directory. Please cd to the directory containing this script."
exit 0
fi
APPNAME=saf7
DOMAIN=fr
msgfmt $DOMAIN/$APPNAME.po -o $DOMAIN/$APPNAME.mo
# cp $DOMAIN/$APPNAME.mo /usr/local/share/locale/$DOMAIN/LC_MESSAGES/
exit 0