Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] Don't use undefined tr function
  • Loading branch information
m-kuhn committed Mar 15, 2016
1 parent 99e21a7 commit c3e49d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/processing/gui/menus.py
Expand Up @@ -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()
Expand Down

0 comments on commit c3e49d6

Please sign in to comment.