wownero/utils/translations/update-translations.sh
moneromooo-monero 78b2eabc87 Translatable strings for simplewallet
The system is mostly the Qt system, but we don't use Qt to avoid
the dependencies.

See README.i18n for details.
2015-07-14 20:28:25 +01:00

17 lines
268 B
Bash
Executable File

#!/bin/sh
lupdate=`which lupdate 2> /dev/null`
if test -z "$lupdate"
then
lupdate=`which lupdate-qt4 2> /dev/null`
fi
if test -z "$lupdate"
then
echo "lupdate not found"
exit 1
fi
echo "using $lupdate"
"$lupdate" `find src -name \*.cpp` -ts translations/*.ts