Skip to content
Permalink
Browse files

update_ts: avoid excessive number of arguments (for windows)

  • Loading branch information
jef-n committed Feb 11, 2017
1 parent 801821f commit 6afd9a492127c9a84e0f8a411b9022f7674022bf
Showing with 12 additions and 2 deletions.
  1. +12 −2 scripts/update_ts.sh
@@ -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

0 comments on commit 6afd9a4

Please sign in to comment.
You can’t perform that action at this time.