[needs-docs][processing] Rename "remove duplicates by attribute" to

"delete duplicates by attribute"

for consistency with "delete duplicate geometries". Also add some
tags to delete duplicate geometries algorithm.
This commit is contained in:
Nyall Dawson 2018-12-05 07:36:13 +10:00
parent 9c1653f00a
commit d79cee1fe1
2 changed files with 5 additions and 2 deletions

View File

@ -45,6 +45,9 @@ class DeleteDuplicateGeometries(QgisAlgorithm):
def groupId(self):
return 'vectorgeneral'
def tags(self):
return self.tr('drop,remove,same,points,coincident,overlapping,filter').split(',')
def __init__(self):
super().__init__()

View File

@ -26,12 +26,12 @@ QString QgsRemoveDuplicatesByAttributeAlgorithm::name() const
QString QgsRemoveDuplicatesByAttributeAlgorithm::displayName() const
{
return QObject::tr( "Remove duplicates by attribute" );
return QObject::tr( "Delete duplicates by attribute" );
}
QStringList QgsRemoveDuplicatesByAttributeAlgorithm::tags() const
{
return QObject::tr( "field,value,same,filter" ).split( ',' );
return QObject::tr( "drop,remove,field,value,same,filter" ).split( ',' );
}
QString QgsRemoveDuplicatesByAttributeAlgorithm::group() const