Skip to content

Commit

Permalink
update_ts.sh: no obsolete translation on push
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Oct 2, 2018
1 parent 3c13e70 commit 9958c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update_ts.sh
Expand Up @@ -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

Expand Down

0 comments on commit 9958c0b

Please sign in to comment.