mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
update_ts: avoid excessive number of arguments (for windows)
This commit is contained in:
parent
801821f6f1
commit
6afd9a4921
@ -111,9 +111,19 @@ rm python-i18n.ts
|
||||
cd ..
|
||||
for i in python/plugins/*/CMakeLists.txt; do
|
||||
cd ${i%/*}
|
||||
pylupdate5 -tr-function trAlgorithm $(find . -name "*.py" -o -name "*.ui") -ts python-i18n.ts
|
||||
cat <<EOF >python-i18n.pro
|
||||
SOURCES = $(find . -type f -name "*.py" -printf " %p \
|
||||
")
|
||||
|
||||
FORMS = $(find . -type f -name "*.ui" -printf " %p \
|
||||
")
|
||||
|
||||
TRANSLATIONS = python-i18n.ts
|
||||
EOF
|
||||
|
||||
pylupdate5 -tr-function trAlgorithm python-i18n.pro
|
||||
perl ../../../scripts/ts2cpp.pl python-i18n.ts python-i18n.cpp
|
||||
rm python-i18n.ts
|
||||
rm python-i18n.ts python-i18n.pro
|
||||
cd ../../..
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user