Skip to content

Commit

Permalink
Fix translation string
Browse files Browse the repository at this point in the history
(caused "tx ERROR: Error received from server: Qt Linguist variants are
not yet supported." on vanish)
  • Loading branch information
jef-n committed Aug 22, 2018
1 parent 6fba9b0 commit 1cc1f16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/AlgorithmDialog.py
Expand Up @@ -221,7 +221,7 @@ def on_complete(ok, results):
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()
Expand Down
2 changes: 2 additions & 0 deletions scripts/update_ts.sh
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1cc1f16

Please sign in to comment.