Skip to content
Permalink
Browse files

Fix translation string

(caused "tx ERROR: Error received from server: Qt Linguist variants are
not yet supported." on vanish)
  • Loading branch information
jef-n committed Aug 21, 2018
1 parent 6fba9b0 commit 1cc1f165015c5058137b17987021422c4288fb09
Showing with 3 additions and 1 deletion.
  1. +1 −1 python/plugins/processing/gui/AlgorithmDialog.py
  2. +2 −0 scripts/update_ts.sh
@@ -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()
@@ -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

0 comments on commit 1cc1f16

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