translation string fix

This commit is contained in:
Juergen E. Fischer 2017-08-04 18:11:45 +02:00
parent aaac8bd446
commit cfaa8f0c8c
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ class GdalAlgorithmDialog(AlgorithmDialog):
self.setMainWidget(GdalParametersPanel(self, alg))
self.runAsBatchButton = QPushButton(self.tr("Run as Batch Process…"))
self.runAsBatchButton = QPushButton(self.trUtf8("Run as Batch Process…"))
self.runAsBatchButton.clicked.connect(self.runAsBatch)
self.buttonBox.addButton(self.runAsBatchButton, QDialogButtonBox.ResetRole) # reset role to ensure left alignment

View File

@ -83,7 +83,7 @@ class AlgorithmDialog(AlgorithmDialogBase):
self.bar.setSizePolicy(QSizePolicy.Minimum, QSizePolicy.Fixed)
self.layout().insertWidget(0, self.bar)
self.runAsBatchButton = QPushButton(self.tr("Run as Batch Process…"))
self.runAsBatchButton = QPushButton(self.trUtf8("Run as Batch Process…"))
self.runAsBatchButton.clicked.connect(self.runAsBatch)
self.buttonBox.addButton(self.runAsBatchButton, QDialogButtonBox.ResetRole) # reset role to ensure left alignment