Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update python/plugins/processing/modeler/EditModelAction.py
Co-Authored-By: volaya <volayaf@gmail.com>
  • Loading branch information
m-kuhn and volaya committed Jan 24, 2019
1 parent a86965e commit 9bdaac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/modeler/EditModelAction.py
Expand Up @@ -45,7 +45,7 @@ def execute(self):
alg = self.itemData
ok, msg = alg.canExecute()
if not ok:
iface.messageBar().pushMessage("Cannot edit model:", msg, level=Qgis.Warning)
iface.messageBar().pushMessage(QCoreApplication.translate('EditModelAction', 'Cannot edit model: {}').format(msg), level=Qgis.Warning)
else:
dlg = ModelerDialog(alg)
dlg.update_model.connect(self.updateModel)
Expand Down

0 comments on commit 9bdaac9

Please sign in to comment.