Skip to content

Commit

Permalink
[processing] Also standardise names for Spatialite algorithms
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 21, 2018
1 parent 5fab46f commit 9fbef83
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion python/plugins/processing/algs/qgis/ImportIntoSpatialite.py
Expand Up @@ -84,7 +84,13 @@ def name(self):
return 'importintospatialite'

def displayName(self):
return self.tr('Import into Spatialite')
return self.tr('Export to SpatiaLite')

def shortDescription(self):
return self.tr('Exports a vector layer to a SpatiaLite database')

def tags(self):
return self.tr('import,table,layer,into,copy').split(',')

def processAlgorithm(self, parameters, context, feedback):
database = self.parameterAsVectorLayer(parameters, self.DATABASE, context)
Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/SpatialiteExecuteSQL.py
Expand Up @@ -60,6 +60,9 @@ def name(self):
def displayName(self):
return self.tr('SpatiaLite execute SQL')

def shortDescription(self):
return self.tr('Executes a SQL command on a SpatiaLite database')

def flags(self):
return super().flags() | QgsProcessingAlgorithm.FlagNoThreading

Expand Down

0 comments on commit 9fbef83

Please sign in to comment.