mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-07 00:15:48 -04:00
remove plugin_template exclusion from translation updates (followup 605ef7d8294b6)
This commit is contained in:
parent
4d61fb5e63
commit
9242d2f960
@ -109,7 +109,7 @@ fi
|
|||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
|
|
||||||
echo Saving translations
|
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"
|
[ $action = push ] && files="$files i18n/qgis_*.ts"
|
||||||
tar --remove-files -cf i18n/backup.tar $files
|
tar --remove-files -cf i18n/backup.tar $files
|
||||||
|
|
||||||
|
@ -44,13 +44,6 @@ cleanup() {
|
|||||||
[ -f "$i" ] && rm "$i"
|
[ -f "$i" ] && rm "$i"
|
||||||
done
|
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
|
trap "" EXIT
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -131,14 +124,7 @@ for i in python/plugins/*/CMakeLists.txt; do
|
|||||||
done
|
done
|
||||||
echo Updating GRASS module translations
|
echo Updating GRASS module translations
|
||||||
perl scripts/qgm2cpp.pl >src/plugins/grass/grasslabels-i18n.cpp
|
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
|
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"
|
$QMAKE -project -o qgis_ts.pro -nopwd src python i18n "$builddir/src/core/qgsexpression_texts.cpp"
|
||||||
if [ -n "$add" ]; then
|
if [ -n "$add" ]; then
|
||||||
for i in $add; do
|
for i in $add; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user