2015-07-14 21:28:25 +02:00
|
|
|
#!/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"
|
2019-01-11 15:19:28 +01:00
|
|
|
"$lupdate" `find src -name \*.cpp` -ts translations/*.ts -no-obsolete
|
2015-07-14 21:28:25 +02:00
|
|
|
|