diff options
Diffstat (limited to '')
-rwxr-xr-x | utils/translations/update-translations.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/utils/translations/update-translations.sh b/utils/translations/update-translations.sh new file mode 100755 index 000000000..778aa5176 --- /dev/null +++ b/utils/translations/update-translations.sh @@ -0,0 +1,16 @@ +#!/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 + |