Skip to content

Commit 5b27d82

Browse files
committed
update scripts/update_ts.sh to use pylupdate5
1 parent 94a2639 commit 5b27d82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/update_ts.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ else
5555
fi
5656

5757
if ! type pylupdate5 >/dev/null 2>&1; then
58-
echo "pylupdate4 not found"
58+
echo "pylupdate5 not found"
5959
exit 1
6060
fi
6161

@@ -105,13 +105,13 @@ fi
105105

106106
echo Updating python translations
107107
cd python
108-
pylupdate4 user.py utils.py {console,pyplugin_installer}/*.{py,ui} -ts python-i18n.ts
108+
pylupdate5 user.py utils.py {console,pyplugin_installer}/*.{py,ui} -ts python-i18n.ts
109109
perl ../scripts/ts2cpp.pl python-i18n.ts python-i18n.cpp
110110
rm python-i18n.ts
111111
cd ..
112112
for i in python/plugins/*/CMakeLists.txt; do
113113
cd ${i%/*}
114-
pylupdate4 -tr-function trAlgorithm $(find . -name "*.py" -o -name "*.ui") -ts python-i18n.ts
114+
pylupdate5 -tr-function trAlgorithm $(find . -name "*.py" -o -name "*.ui") -ts python-i18n.ts
115115
perl ../../../scripts/ts2cpp.pl python-i18n.ts python-i18n.cpp
116116
rm python-i18n.ts
117117
cd ../../..

0 commit comments

Comments
 (0)