Skip to content

Commit

Permalink
rename algorithm name in template script
Browse files Browse the repository at this point in the history
  • Loading branch information
ghtmtt authored and nyalldawson committed Apr 12, 2018
1 parent 0135b4c commit b6242b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/script/ScriptTemplate.py
Expand Up @@ -46,14 +46,14 @@ def name(self):
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):
"""
Expand Down

0 comments on commit b6242b4

Please sign in to comment.