Skip to content

Commit 9fbef83

Browse files
committedAug 21, 2018
[processing] Also standardise names for Spatialite algorithms
1 parent 5fab46f commit 9fbef83

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
 

‎python/plugins/processing/algs/qgis/ImportIntoSpatialite.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,13 @@ def name(self):
8484
return 'importintospatialite'
8585

8686
def displayName(self):
87-
return self.tr('Import into Spatialite')
87+
return self.tr('Export to SpatiaLite')
88+
89+
def shortDescription(self):
90+
return self.tr('Exports a vector layer to a SpatiaLite database')
91+
92+
def tags(self):
93+
return self.tr('import,table,layer,into,copy').split(',')
8894

8995
def processAlgorithm(self, parameters, context, feedback):
9096
database = self.parameterAsVectorLayer(parameters, self.DATABASE, context)

‎python/plugins/processing/algs/qgis/SpatialiteExecuteSQL.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ def name(self):
6060
def displayName(self):
6161
return self.tr('SpatiaLite execute SQL')
6262

63+
def shortDescription(self):
64+
return self.tr('Executes a SQL command on a SpatiaLite database')
65+
6366
def flags(self):
6467
return super().flags() | QgsProcessingAlgorithm.FlagNoThreading
6568

0 commit comments

Comments
 (0)
Please sign in to comment.