mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[processing] Also standardise names for Spatialite algorithms
This commit is contained in:
parent
5fab46f41c
commit
9fbef832c9
@ -84,7 +84,13 @@ class ImportIntoSpatialite(QgisAlgorithm):
|
||||
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)
|
||||
|
@ -60,6 +60,9 @@ class SpatialiteExecuteSQL(QgisAlgorithm):
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user