Skip to content

Commit 9958c0b

Browse files
committed
update_ts.sh: no obsolete translation on push
1 parent 3c13e70 commit 9958c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/update_ts.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ $QMAKE -project -o qgis_ts.pro -nopwd $PWD/src $PWD/python $PWD/i18n $textcpp
175175
echo "TR_EXCLUDE = $(qmake -query QT_INSTALL_HEADERS)/*" >>qgis_ts.pro
176176

177177
echo Updating translations
178-
$LUPDATE -locations absolute -verbose qgis_ts.pro
178+
$LUPDATE -no-obsolete -locations absolute -verbose qgis_ts.pro
179179

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

0 commit comments

Comments
 (0)