mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
rename algorithm name in template script
This commit is contained in:
parent
0135b4c90e
commit
b6242b4a58
@ -46,14 +46,14 @@ class ExampleProcessingAlgorithm(QgsProcessingAlgorithm):
|
||||
lowercase alphanumeric characters only and no spaces or other
|
||||
formatting characters.
|
||||
"""
|
||||
return 'duplicatevectorlayer'
|
||||
return 'myscript'
|
||||
|
||||
def displayName(self):
|
||||
"""
|
||||
Returns the translated algorithm name, which should be used for any
|
||||
user-visible display of the algorithm name.
|
||||
"""
|
||||
return self.tr('Duplicate a vector layer')
|
||||
return self.tr('My Script')
|
||||
|
||||
def group(self):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user