Skip to content
Permalink
Browse files

update_ts.sh: no obsolete translation on push

  • Loading branch information
jef-n committed Oct 2, 2018
1 parent 3c13e70 commit 9958c0b97798c5c5f9c65ce0370f1444f2954055
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/update_ts.sh
@@ -175,7 +175,7 @@ $QMAKE -project -o qgis_ts.pro -nopwd $PWD/src $PWD/python $PWD/i18n $textcpp
echo "TR_EXCLUDE = $(qmake -query QT_INSTALL_HEADERS)/*" >>qgis_ts.pro

echo Updating translations
$LUPDATE -locations absolute -verbose qgis_ts.pro
$LUPDATE -no-obsolete -locations absolute -verbose qgis_ts.pro

perl -i.bak -ne 'print unless /^\s+<location.*qgs(expression|contexthelp)_texts\.cpp.*$/;' i18n/qgis_*.ts

0 comments on commit 9958c0b

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