Skip to content
Permalink
Browse files
[processing][needs-docs] Rename "Add Script from Template" to
"Create New Script from Template"
  • Loading branch information
nyalldawson committed Apr 2, 2018
1 parent e518634 commit ad3f1781d76991cd3beeb9580838ad99671f59ad
Showing with 2 additions and 2 deletions.
  1. +1 −1 python/plugins/processing/script/AddScriptFromTemplateAction.py
  2. +1 −1 python/plugins/processing/script/ScriptAlgorithmProvider.py
@@ -40,7 +40,7 @@
class AddScriptFromTemplateAction(ToolboxAction):

def __init__(self):
self.name = QCoreApplication.translate("AddScriptFromTemplate", "Load Script From Template...")
self.name = QCoreApplication.translate("AddScriptFromTemplate", "Create New Script from Template")
self.group = self.tr("Tools")

def execute(self):
@@ -50,8 +50,8 @@ def __init__(self):
self.algs = []
self.folder_algorithms = []
self.actions = [CreateNewScriptAction(),
AddScriptFromFileAction(),
AddScriptFromTemplateAction(),
AddScriptFromFileAction()
]
self.contextMenuActions = [EditScriptAction(),
DeleteScriptAction()]

0 comments on commit ad3f178

Please sign in to comment.