diff options
Diffstat (limited to 'utils/translations/build-translations.sh')
-rwxr-xr-x | utils/translations/build-translations.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/utils/translations/build-translations.sh b/utils/translations/build-translations.sh new file mode 100755 index 000000000..0956e633f --- /dev/null +++ b/utils/translations/build-translations.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +lrelease=`which lrelease 2> /dev/null` +if test -z "$lrelease" +then + lrelease=`which lrelease-qt4 2> /dev/null` +fi +if test -z "$lrelease" +then + echo "lrelease not found" + exit 1 +fi + +echo "using $lrelease" +"$lrelease" translations/*.ts + |