Skip to content

Commit 1983d8f

Browse files
committed
Improve wording of spatial location alg parameters
1 parent 95ab232 commit 1983d8f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/core/processing/qgsnativealgorithms.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ void QgsLocationBasedAlgorithm::process( QgsFeatureSource *targetSource,
15271527
void QgsLocationBasedAlgorithm::addPredicateParameter()
15281528
{
15291529
std::unique_ptr< QgsProcessingParameterEnum > predicateParam( new QgsProcessingParameterEnum( QStringLiteral( "PREDICATE" ),
1530-
QObject::tr( "Where the features are (geometric predicate)" ),
1530+
QObject::tr( "Where the features (geometric predicate)" ),
15311531
predicateOptionsList(), true, QVariant::fromValue( QList< int >() << 0 ) ) );
15321532

15331533
QVariantMap predicateMetadata;
@@ -1568,14 +1568,14 @@ QgsLocationBasedAlgorithm::Predicate QgsLocationBasedAlgorithm::reversePredicate
15681568

15691569
QStringList QgsLocationBasedAlgorithm::predicateOptionsList() const
15701570
{
1571-
return QStringList() << QObject::tr( "intersects" )
1572-
<< QObject::tr( "contains" )
1573-
<< QObject::tr( "is disjoint" )
1574-
<< QObject::tr( "equals" )
1575-
<< QObject::tr( "touches" )
1576-
<< QObject::tr( "overlaps" )
1577-
<< QObject::tr( "within" )
1578-
<< QObject::tr( "crosses" );
1571+
return QStringList() << QObject::tr( "intersect" )
1572+
<< QObject::tr( "contain" )
1573+
<< QObject::tr( "disjoint" )
1574+
<< QObject::tr( "equal" )
1575+
<< QObject::tr( "touch" )
1576+
<< QObject::tr( "overlap" )
1577+
<< QObject::tr( "are within" )
1578+
<< QObject::tr( "cross" );
15791579
}
15801580

15811581

0 commit comments

Comments
 (0)