Skip to content
Permalink
Browse files

[processing] Don't use undefined tr function

  • Loading branch information
m-kuhn committed Mar 15, 2016
1 parent 99e21a7 commit c3e49d6a9ed15d01ed4d8c84638193e03ca24b31
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/gui/menus.py
@@ -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()

0 comments on commit c3e49d6

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