mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
[needs-docs][processing] reword add model/script to toolbox actions
This commit is contained in:
parent
05beaa73b3
commit
fb882494d5
@ -42,7 +42,7 @@ pluginPath = os.path.split(os.path.dirname(__file__))[0]
|
||||
class AddModelFromFileAction(ToolboxAction):
|
||||
|
||||
def __init__(self):
|
||||
self.name = QCoreApplication.translate('AddModelFromFileAction', 'Add Model from File…')
|
||||
self.name = QCoreApplication.translate('AddModelFromFileAction', 'Add Model to Toolbox…')
|
||||
self.group = self.tr('Tools')
|
||||
|
||||
def getIcon(self):
|
||||
|
@ -41,7 +41,7 @@ from processing.script import ScriptUtils
|
||||
class AddScriptFromFileAction(ToolboxAction):
|
||||
|
||||
def __init__(self):
|
||||
self.name = QCoreApplication.translate("AddScriptFromFileAction", "Add Script from File…")
|
||||
self.name = QCoreApplication.translate("AddScriptFromFileAction", "Add Script to Toolbox…")
|
||||
self.group = self.tr("Tools")
|
||||
|
||||
def execute(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user