Fix translation string

(caused "tx ERROR: Error received from server: Qt Linguist variants are
not yet supported." on vanish)
This commit is contained in:
Juergen E. Fischer 2018-08-21 09:03:41 +02:00
parent 6fba9b0b6d
commit 1cc1f16501
2 changed files with 3 additions and 1 deletions

View File

@ -221,7 +221,7 @@ class AlgorithmDialog(QgsProcessingAlgorithmDialogBase):
task.executed.connect(on_complete)
self.setCurrentTask(task)
else:
self.proxy_progress = QgsProxyProgressTask(self.tr("Executing “{}").format(self.algorithm().displayName()))
self.proxy_progress = QgsProxyProgressTask(QCoreApplication.translate("AlgorithmDialog", "Executing “{}").format(self.algorithm().displayName()))
QgsApplication.taskManager().addTask(self.proxy_progress)
feedback.progressChanged.connect(self.proxy_progress.setProxyProgress)
self.feedback_dialog = self.createProgressDialog()

View File

@ -120,6 +120,7 @@ if [ $action = push ]; then
echo Download of source translation failed
exit 1
fi
cp i18n/qgis_en.ts /tmp/qgis_en.ts-downloaded
elif [ $action = pull ]; then
rm i18n/qgis_*.ts
@ -175,6 +176,7 @@ $LUPDATE -locations absolute -verbose qgis_ts.pro
perl -i.bak -ne 'print unless /^\s+<location.*qgs(expression|contexthelp)_texts\.cpp.*$/;' i18n/qgis_*.ts
if [ $action = push ]; then
cp i18n/qgis_en.ts /tmp/qgis_en.ts-uploading
echo Pushing translation...
fail=1
for i in $(seq 10); do