Skip to content

Commit

Permalink
[needs-docs][processing] Rename "remove duplicates by attribute" to
Browse files Browse the repository at this point in the history
"delete duplicates by attribute"

for consistency with "delete duplicate geometries". Also add some
tags to delete duplicate geometries algorithm.
  • Loading branch information
nyalldawson committed Dec 4, 2018
1 parent 9c1653f commit d79cee1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Expand Up @@ -45,6 +45,9 @@ def group(self):
def groupId(self):
return 'vectorgeneral'

def tags(self):
return self.tr('drop,remove,same,points,coincident,overlapping,filter').split(',')

def __init__(self):
super().__init__()

Expand Down
Expand Up @@ -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
Expand Down

0 comments on commit d79cee1

Please sign in to comment.