mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
Fix translation string
(caused "tx ERROR: Error received from server: Qt Linguist variants are not yet supported." on vanish)
This commit is contained in:
parent
6fba9b0b6d
commit
1cc1f16501
@ -221,7 +221,7 @@ class AlgorithmDialog(QgsProcessingAlgorithmDialogBase):
|
|||||||
task.executed.connect(on_complete)
|
task.executed.connect(on_complete)
|
||||||
self.setCurrentTask(task)
|
self.setCurrentTask(task)
|
||||||
else:
|
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)
|
QgsApplication.taskManager().addTask(self.proxy_progress)
|
||||||
feedback.progressChanged.connect(self.proxy_progress.setProxyProgress)
|
feedback.progressChanged.connect(self.proxy_progress.setProxyProgress)
|
||||||
self.feedback_dialog = self.createProgressDialog()
|
self.feedback_dialog = self.createProgressDialog()
|
||||||
|
@ -120,6 +120,7 @@ if [ $action = push ]; then
|
|||||||
echo Download of source translation failed
|
echo Download of source translation failed
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
cp i18n/qgis_en.ts /tmp/qgis_en.ts-downloaded
|
||||||
elif [ $action = pull ]; then
|
elif [ $action = pull ]; then
|
||||||
rm i18n/qgis_*.ts
|
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
|
perl -i.bak -ne 'print unless /^\s+<location.*qgs(expression|contexthelp)_texts\.cpp.*$/;' i18n/qgis_*.ts
|
||||||
|
|
||||||
if [ $action = push ]; then
|
if [ $action = push ]; then
|
||||||
|
cp i18n/qgis_en.ts /tmp/qgis_en.ts-uploading
|
||||||
echo Pushing translation...
|
echo Pushing translation...
|
||||||
fail=1
|
fail=1
|
||||||
for i in $(seq 10); do
|
for i in $(seq 10); do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user