Skip to content

Commit

Permalink
[needs-docs] Rename "Create parallel lines" and "Array of offset feat…
Browse files Browse the repository at this point in the history
…ures"

algorithms
  • Loading branch information
DelazJ authored and nyalldawson committed Sep 10, 2018
1 parent 06bb4d4 commit eae8b9a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/analysis/processing/qgsalgorithmarrayfeatures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions src/analysis/processing/qgsalgorithmparallellines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit eae8b9a

Please sign in to comment.