Skip to content
Permalink
Browse files

[needs-docs] Rename "Create parallel lines" and "Array of offset feat…

…ures"

algorithms
  • Loading branch information
DelazJ authored and nyalldawson committed Sep 10, 2018
1 parent 06bb4d4 commit eae8b9a2236642201b9f70aa5c6460c79c1434d9
@@ -26,12 +26,12 @@ QString QgsArrayFeaturesAlgorithm::name() const

QString QgsArrayFeaturesAlgorithm::displayName() const
{
return QObject::tr( "Array of offset features" );
return QObject::tr( "Array of translated features" );
}

QStringList QgsArrayFeaturesAlgorithm::tags() const
{
return QObject::tr( "translate,duplicate,grid,spaced,moved,copy,features,objects,step,repeat" ).split( ',' );
return QObject::tr( "translate,parallel,offset,duplicate,grid,spaced,moved,copy,features,objects,step,repeat" ).split( ',' );
}

QString QgsArrayFeaturesAlgorithm::group() const
@@ -51,13 +51,13 @@ QString QgsArrayFeaturesAlgorithm::outputName() const

QString QgsArrayFeaturesAlgorithm::shortHelpString() const
{
return QObject::tr( "This algorithm creates copies of features in a layer, by creating multiple offset versions of each feature. "
return QObject::tr( "This algorithm creates copies of features in a layer, by creating multiple translated versions of each feature. "
"Each copy is displaced by a preset amount in the x/y/z/m axis." );
}

QString QgsArrayFeaturesAlgorithm::shortDescription() const
{
return QObject::tr( "Creates multiple offset copies of features in a layer." );
return QObject::tr( "Creates multiple translated copies of features in a layer." );
}

QgsArrayFeaturesAlgorithm *QgsArrayFeaturesAlgorithm::createInstance() const
@@ -26,12 +26,12 @@ QString QgsCreateParallelLinesAlgorithm::name() const

QString QgsCreateParallelLinesAlgorithm::displayName() const
{
return QObject::tr( "Create parallel lines" );
return QObject::tr( "Array of offset lines" );
}

QStringList QgsCreateParallelLinesAlgorithm::tags() const
{
return QObject::tr( "offset,duplicate,create,spaced,copy,features,objects,step,repeat" ).split( ',' );
return QObject::tr( "offset,parallel,duplicate,create,spaced,copy,features,objects,step,repeat" ).split( ',' );
}

QString QgsCreateParallelLinesAlgorithm::group() const
@@ -46,18 +46,18 @@ QString QgsCreateParallelLinesAlgorithm::groupId() const

QString QgsCreateParallelLinesAlgorithm::outputName() const
{
return QObject::tr( "Parallel lines" );
return QObject::tr( "Offset lines" );
}

QString QgsCreateParallelLinesAlgorithm::shortHelpString() const
{
return QObject::tr( "This algorithm creates copies of line features in a layer, by creating multiple parallel versions of each feature. "
return QObject::tr( "This algorithm creates copies of line features in a layer, by creating multiple offset versions of each feature. "
"Each copy is offset by a preset distance." );
}

QString QgsCreateParallelLinesAlgorithm::shortDescription() const
{
return QObject::tr( "Creates multiple parallel copies of lines from a layer." );
return QObject::tr( "Creates multiple offset copies of lines from a layer." );
}

QgsCreateParallelLinesAlgorithm *QgsCreateParallelLinesAlgorithm::createInstance() const

0 comments on commit eae8b9a

Please sign in to comment.
You can’t perform that action at this time.