Skip to content
Permalink
Browse files

Fix some inconsistent capitalization in algorithm naming

  • Loading branch information
nyalldawson committed Aug 22, 2017
1 parent 2a442c7 commit 9882e4f7bb91df665534330e48c0570172eb396f
@@ -54,7 +54,7 @@ def name(self):
return 'dropmzvalues'

def displayName(self):
return self.tr('Drop M/Z Values')
return self.tr('Drop M/Z values')

def outputName(self):
return self.tr('Z/M Dropped')
@@ -55,7 +55,7 @@ def icon(self):
return QIcon(os.path.join(pluginPath, 'images', 'ftools', 'export_geometry.png'))

def tags(self):
return self.tr('export,measurements,areas,lengths,perimeters,latitudes,longitudes,x,y,z,extract,points,lines,polygons').split(',')
return self.tr('export,add,information,measurements,areas,lengths,perimeters,latitudes,longitudes,x,y,z,extract,points,lines,polygons').split(',')

def group(self):
return self.tr('Vector geometry')
@@ -80,7 +80,7 @@ def name(self):
return 'exportaddgeometrycolumns'

def displayName(self):
return self.tr('Export/Add geometry columns')
return self.tr('Export geometry columns')

def processAlgorithm(self, parameters, context, feedback):
source = self.parameterAsSource(parameters, self.INPUT, context)
@@ -78,7 +78,7 @@ def name(self):
return 'poleofinaccessibility'

def displayName(self):
return self.tr('Pole of Inaccessibility')
return self.tr('Pole of inaccessibility')

def processAlgorithm(self, parameters, context, feedback):
source = self.parameterAsSource(parameters, self.INPUT, context)
@@ -52,7 +52,7 @@ def name(self):
return 'setmvalue'

def displayName(self):
return self.tr('Set M Value')
return self.tr('Set M value')

def outputName(self):
return self.tr('M Added')
@@ -52,7 +52,7 @@ def name(self):
return 'setzvalue'

def displayName(self):
return self.tr('Set Z Value')
return self.tr('Set Z value')

def outputName(self):
return self.tr('Z Added')
@@ -106,7 +106,7 @@ def name(self):
return 'zonalstatistics'

def displayName(self):
return self.tr('Zonal Statistics')
return self.tr('Zonal statistics')

def prepareAlgorithm(self, parameters, context, feedback):
self.bandNumber = self.parameterAsInt(parameters, self.RASTER_BAND, context)

0 comments on commit 9882e4f

Please sign in to comment.
You can’t perform that action at this time.