update-tx: Fix our file list.

LUPDATE_FILES is a string, not an array.

Change-Id: Ibeef6fd45805f82eeff8c26f7110779603d9d30a
Reviewed-on: https://code.wireshark.org/review/29724
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2018-09-18 21:57:33 +00:00 committed by Gerald Combs
parent e7dd7099da
commit e644de16c3
1 changed files with 6 additions and 3 deletions

View File

@ -17,7 +17,8 @@ LUPDATE_FILES=$(find ui/qt -name '*.cpp' -o -name '*.h' -o -name '*.ui')
# Add line numbers
for i in ui/qt/*.ts ; do
lupdate -locations absolute "${LUPDATE_FILES[@]}" -ts "$i"
# shellcheck disable=SC2086
lupdate -locations absolute ${LUPDATE_FILES} -ts "$i"
done
# Get last translation for Transifex
@ -25,7 +26,8 @@ tx pull -f
# Regenerate last translation for repo
for i in ui/qt/*.ts ; do
lupdate -locations absolute "${LUPDATE_FILES[@]}" -ts "$i"
# shellcheck disable=SC2086
lupdate -locations absolute ${LUPDATE_FILES} -ts "$i"
done
# Push last change tranlastion on Transifex
@ -35,7 +37,8 @@ fi
# Remove line numbers
for i in ui/qt/*.ts ; do
lupdate -locations none -no-ui-lines "${LUPDATE_FILES[@]}" -ts "$i"
# shellcheck disable=SC2086
lupdate -locations none -no-ui-lines ${LUPDATE_FILES} -ts "$i"
done
#Add new commit with last translaation update