You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
liblxqt-packaging/.tx/updateSrc.sh

18 lines
371 B

#!/bin/sh
LUPDATE_OPTIONS="-noobsolete"
LUPDATE_OPTIONS="${LUPDATE_OPTIONS} -locations none "
TS_FILE="../translations/source.ts"
LUPDATE=$(which lupdate-qt4 2>/dev/null)
[ -z "${LUPDATE}" ] && LUPDATE=$(which lupdate 2>/dev/null)
if [ -z "${LUPDATE}" ]; then
echo "The lupdate program not found."
exit 1;
fi
${LUPDATE} ${LUPDATE_OPTIONS} .. -ts ${TS_FILE}