Skip to content
Permalink
Browse files

translation string fix

  • Loading branch information
jef-n committed Aug 4, 2017
1 parent aaac8bd commit cfaa8f0c8c7312c720aa2bcf5cc338991848a4a3
@@ -58,7 +58,7 @@ def __init__(self, alg):

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

@@ -83,7 +83,7 @@ def __init__(self, alg):
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

1 comment on commit cfaa8f0

@nyalldawson

This comment has been minimized.

Copy link
Collaborator

@nyalldawson nyalldawson commented on cfaa8f0 Aug 4, 2017

@jef-n I had to revert this in 79a095c - I can't see why but it throws a python exception about 'AlgorithmDialog' object has no attribute 'trUtf8'

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