Skip to content

Commit 9bdaac9

Browse files
m-kuhnvolaya
andauthoredJan 24, 2019
Update python/plugins/processing/modeler/EditModelAction.py
Co-Authored-By: volaya <volayaf@gmail.com>
1 parent a86965e commit 9bdaac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/modeler/EditModelAction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def execute(self):
4545
alg = self.itemData
4646
ok, msg = alg.canExecute()
4747
if not ok:
48-
iface.messageBar().pushMessage("Cannot edit model:", msg, level=Qgis.Warning)
48+
iface.messageBar().pushMessage(QCoreApplication.translate('EditModelAction', 'Cannot edit model: {}').format(msg), level=Qgis.Warning)
4949
else:
5050
dlg = ModelerDialog(alg)
5151
dlg.update_model.connect(self.updateModel)

0 commit comments

Comments
 (0)
Please sign in to comment.