From 5b27d827aaaa375687ef91cce0d16a28d7931250 Mon Sep 17 00:00:00 2001 From: "Juergen E. Fischer" Date: Tue, 7 Feb 2017 02:39:06 +0100 Subject: [PATCH] update scripts/update_ts.sh to use pylupdate5 --- scripts/update_ts.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/update_ts.sh b/scripts/update_ts.sh index bbe12ee406d..cf889526136 100755 --- a/scripts/update_ts.sh +++ b/scripts/update_ts.sh @@ -55,7 +55,7 @@ else fi if ! type pylupdate5 >/dev/null 2>&1; then - echo "pylupdate4 not found" + echo "pylupdate5 not found" exit 1 fi @@ -105,13 +105,13 @@ fi echo Updating python translations cd python -pylupdate4 user.py utils.py {console,pyplugin_installer}/*.{py,ui} -ts python-i18n.ts +pylupdate5 user.py utils.py {console,pyplugin_installer}/*.{py,ui} -ts python-i18n.ts perl ../scripts/ts2cpp.pl python-i18n.ts python-i18n.cpp rm python-i18n.ts cd .. for i in python/plugins/*/CMakeLists.txt; do cd ${i%/*} - pylupdate4 -tr-function trAlgorithm $(find . -name "*.py" -o -name "*.ui") -ts python-i18n.ts + pylupdate5 -tr-function trAlgorithm $(find . -name "*.py" -o -name "*.ui") -ts python-i18n.ts perl ../../../scripts/ts2cpp.pl python-i18n.ts python-i18n.cpp rm python-i18n.ts cd ../../..