Skip to content
Permalink
Browse files

remove plugin_template exclusion from translation updates (followup 6…

  • Loading branch information
jef-n committed Apr 21, 2018
1 parent 4d61fb5 commit 9242d2f960ddec24465036dab5e925093c30c641
Showing with 1 addition and 15 deletions.
  1. +1 −1 scripts/update_ts.sh
  2. +0 −14 scripts/update_ts_files.sh
@@ -109,7 +109,7 @@ fi
trap cleanup EXIT

echo Saving translations
files="$files $(find python -name "*.ts") src/plugins/plugin_template/plugingui.cpp src/plugins/plugin_template/plugin.cpp"
files="$files $(find python -name "*.ts")"
[ $action = push ] && files="$files i18n/qgis_*.ts"
tar --remove-files -cf i18n/backup.tar $files

@@ -44,13 +44,6 @@ cleanup() {
[ -f "$i" ] && rm "$i"
done

for i in \
src/plugins/plugin_template/plugingui.cpp \
src/plugins/plugin_template/plugin.cpp
do
[ -f "$i.save" ] && mv "$i.save" "$i"
done

trap "" EXIT
}

@@ -131,14 +124,7 @@ for i in python/plugins/*/CMakeLists.txt; do
done
echo Updating GRASS module translations
perl scripts/qgm2cpp.pl >src/plugins/grass/grasslabels-i18n.cpp
mv src/plugins/plugin_template/plugingui.cpp src/plugins/plugin_template/plugingui.cpp.save
echo Creating qmake project file
for i in \
src/plugins/plugin_template/plugingui.cpp \
src/plugins/plugin_template/plugin.cpp
do
[ -f "$i" ] && mv "$i" "$i.save"
done
$QMAKE -project -o qgis_ts.pro -nopwd src python i18n "$builddir/src/core/qgsexpression_texts.cpp"
if [ -n "$add" ]; then
for i in $add; do

0 comments on commit 9242d2f

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