mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
[processing] Don't use undefined tr function
This commit is contained in:
parent
99e21a7e5b
commit
c3e49d6a9e
@ -173,10 +173,10 @@ def _executeAlgorithm(alg):
|
||||
message = alg.checkBeforeOpeningParametersDialog()
|
||||
if message:
|
||||
dlg = MessageDialog()
|
||||
dlg.setTitle(tr('Missing dependency'))
|
||||
dlg.setTitle(Processing.tr('Missing dependency'))
|
||||
dlg.setMessage(
|
||||
tr('<h3>Missing dependency. This algorithm cannot '
|
||||
'be run :-( </h3>\n%s') % message)
|
||||
Processing.tr('<h3>Missing dependency. This algorithm cannot '
|
||||
'be run :-( </h3>\n%s') % message)
|
||||
dlg.exec_()
|
||||
return
|
||||
alg = alg.getCopy()
|
||||
|
Loading…
x
Reference in New Issue
Block a user