From c5b7f29500554458fc27a4128fbba3ab5c813839 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Fri, 16 May 2025 09:00:27 +1000 Subject: [PATCH] Language tweaks --- .../processing/qgsalgorithmexportgeometryattributes.cpp | 2 +- src/analysis/processing/qgsalgorithmexporttospreadsheet.cpp | 2 +- src/analysis/processing/qgsalgorithmextractbyattribute.cpp | 2 +- src/analysis/processing/qgsalgorithmextractvertices.cpp | 2 +- src/analysis/processing/qgsalgorithmfillnodata.cpp | 2 +- src/analysis/processing/qgsalgorithmfilter.cpp | 2 +- src/analysis/processing/qgsalgorithmhillshade.cpp | 2 +- src/analysis/processing/qgsalgorithmmeshsurfacetopolygon.cpp | 2 +- .../processing/qgsalgorithmmultiringconstantbuffer.cpp | 4 ++-- src/analysis/processing/qgsalgorithmpointslayerfromtable.cpp | 2 +- src/analysis/processing/qgsalgorithmpointstopaths.cpp | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/analysis/processing/qgsalgorithmexportgeometryattributes.cpp b/src/analysis/processing/qgsalgorithmexportgeometryattributes.cpp index 668dbee5e9e..902262dfd64 100644 --- a/src/analysis/processing/qgsalgorithmexportgeometryattributes.cpp +++ b/src/analysis/processing/qgsalgorithmexportgeometryattributes.cpp @@ -49,7 +49,7 @@ QString QgsExportGeometryAttributesAlgorithm::groupId() const QString QgsExportGeometryAttributesAlgorithm::shortHelpString() const { - return QObject::tr( "This algorithm computes geometric properties of the features in a vector layer. Algorithm generates a new " + return QObject::tr( "This algorithm computes geometric properties of the features in a vector layer. The algorithm generates a new " "vector layer with the same content as the input one, but with additional attributes in its " "attributes table, containing geometric measurements.\n\n" "Depending on the geometry type of the vector layer, the attributes added to the table will " diff --git a/src/analysis/processing/qgsalgorithmexporttospreadsheet.cpp b/src/analysis/processing/qgsalgorithmexporttospreadsheet.cpp index b67b3ea9158..1187764822f 100644 --- a/src/analysis/processing/qgsalgorithmexporttospreadsheet.cpp +++ b/src/analysis/processing/qgsalgorithmexporttospreadsheet.cpp @@ -137,7 +137,7 @@ QString QgsExportToSpreadsheetAlgorithm::shortHelpString() const QString QgsExportToSpreadsheetAlgorithm::shortDescription() const { - return QObject::tr( "Collects a number of existing layers and exports them into a spreadsheet document." ); + return QObject::tr( "Collects a number of existing layers and exports them to a spreadsheet document." ); } QgsExportToSpreadsheetAlgorithm *QgsExportToSpreadsheetAlgorithm::createInstance() const diff --git a/src/analysis/processing/qgsalgorithmextractbyattribute.cpp b/src/analysis/processing/qgsalgorithmextractbyattribute.cpp index bbd4aee4e4b..a71a4560f8f 100644 --- a/src/analysis/processing/qgsalgorithmextractbyattribute.cpp +++ b/src/analysis/processing/qgsalgorithmextractbyattribute.cpp @@ -66,7 +66,7 @@ QString QgsExtractByAttributeAlgorithm::shortHelpString() const QString QgsExtractByAttributeAlgorithm::shortDescription() const { - return QObject::tr( "Creates a vector layer that only contains feature matching an attribute value from an input layer." ); + return QObject::tr( "Creates a vector layer that only contains features matching an attribute value from an input layer." ); } QgsExtractByAttributeAlgorithm *QgsExtractByAttributeAlgorithm::createInstance() const diff --git a/src/analysis/processing/qgsalgorithmextractvertices.cpp b/src/analysis/processing/qgsalgorithmextractvertices.cpp index 85616e8a55a..4032037e5e7 100644 --- a/src/analysis/processing/qgsalgorithmextractvertices.cpp +++ b/src/analysis/processing/qgsalgorithmextractvertices.cpp @@ -54,7 +54,7 @@ QString QgsExtractVerticesAlgorithm::shortHelpString() const QString QgsExtractVerticesAlgorithm::shortDescription() const { - return QObject::tr( "Generates a point layer with points representing the vertices in the input geometries." ); + return QObject::tr( "Generates a point layer with points representing the vertices of the input geometries." ); } Qgis::ProcessingAlgorithmDocumentationFlags QgsExtractVerticesAlgorithm::documentationFlags() const diff --git a/src/analysis/processing/qgsalgorithmfillnodata.cpp b/src/analysis/processing/qgsalgorithmfillnodata.cpp index 92d4b61d02a..5b5eb8fcb5e 100644 --- a/src/analysis/processing/qgsalgorithmfillnodata.cpp +++ b/src/analysis/processing/qgsalgorithmfillnodata.cpp @@ -77,7 +77,7 @@ QString QgsFillNoDataAlgorithm::shortHelpString() const QString QgsFillNoDataAlgorithm::shortDescription() const { - return QObject::tr( "Generates a raster dataset with the NoData values in the input raster reset to a given value." ); + return QObject::tr( "Generates a raster dataset with the NoData values in the input raster filled with a given value." ); } QgsFillNoDataAlgorithm *QgsFillNoDataAlgorithm::createInstance() const diff --git a/src/analysis/processing/qgsalgorithmfilter.cpp b/src/analysis/processing/qgsalgorithmfilter.cpp index cc4c482bc54..1286b256db0 100644 --- a/src/analysis/processing/qgsalgorithmfilter.cpp +++ b/src/analysis/processing/qgsalgorithmfilter.cpp @@ -57,7 +57,7 @@ QString QgsFilterAlgorithm::shortHelpString() const QString QgsFilterAlgorithm::shortDescription() const { - return QObject::tr( "Filters features from the input layer and redirects them to one or several outputs." ); + return QObject::tr( "Filters features from the input layer and redirects them to one or more outputs." ); } QgsFilterAlgorithm *QgsFilterAlgorithm::createInstance() const diff --git a/src/analysis/processing/qgsalgorithmhillshade.cpp b/src/analysis/processing/qgsalgorithmhillshade.cpp index 1cacb621391..884633483c5 100644 --- a/src/analysis/processing/qgsalgorithmhillshade.cpp +++ b/src/analysis/processing/qgsalgorithmhillshade.cpp @@ -55,7 +55,7 @@ QString QgsHillshadeAlgorithm::shortHelpString() const QString QgsHillshadeAlgorithm::shortDescription() const { - return QObject::tr( "Calculates the hillshade of the Digital Terrain Model in input." ); + return QObject::tr( "Calculates the hillshade of a Digital Terrain Model." ); } QgsHillshadeAlgorithm *QgsHillshadeAlgorithm::createInstance() const diff --git a/src/analysis/processing/qgsalgorithmmeshsurfacetopolygon.cpp b/src/analysis/processing/qgsalgorithmmeshsurfacetopolygon.cpp index b1bad274968..8a97ce748ce 100644 --- a/src/analysis/processing/qgsalgorithmmeshsurfacetopolygon.cpp +++ b/src/analysis/processing/qgsalgorithmmeshsurfacetopolygon.cpp @@ -36,7 +36,7 @@ QString QgsMeshSurfaceToPolygonAlgorithm::shortHelpString() const QString QgsMeshSurfaceToPolygonAlgorithm::shortDescription() const { - return QObject::tr( "Exports a polygon layer containing mesh layer boundary." ); + return QObject::tr( "Exports a polygon layer containing a mesh layer's boundary." ); } QString QgsMeshSurfaceToPolygonAlgorithm::name() const diff --git a/src/analysis/processing/qgsalgorithmmultiringconstantbuffer.cpp b/src/analysis/processing/qgsalgorithmmultiringconstantbuffer.cpp index 07fe3112b53..6e400885ec8 100644 --- a/src/analysis/processing/qgsalgorithmmultiringconstantbuffer.cpp +++ b/src/analysis/processing/qgsalgorithmmultiringconstantbuffer.cpp @@ -52,12 +52,12 @@ QString QgsMultiRingConstantBufferAlgorithm::outputName() const QString QgsMultiRingConstantBufferAlgorithm::shortHelpString() const { - return QObject::tr( "This algorithm computes multi-ring ('donuts') buffer for the features in an input layer, using a fixed or dynamic distance and rings number." ); + return QObject::tr( "This algorithm computes multi-ring ('donuts') buffer for the features in an input layer, using a fixed or dynamic distance and number of rings." ); } QString QgsMultiRingConstantBufferAlgorithm::shortDescription() const { - return QObject::tr( "Computes multi-ring ('donuts') buffer using a fixed or dynamic distance and rings number." ); + return QObject::tr( "Computes multi-ring ('donuts') buffer using a fixed or dynamic distance and number of rings." ); } Qgis::ProcessingAlgorithmDocumentationFlags QgsMultiRingConstantBufferAlgorithm::documentationFlags() const diff --git a/src/analysis/processing/qgsalgorithmpointslayerfromtable.cpp b/src/analysis/processing/qgsalgorithmpointslayerfromtable.cpp index b0491fb71fe..49a36090a08 100644 --- a/src/analysis/processing/qgsalgorithmpointslayerfromtable.cpp +++ b/src/analysis/processing/qgsalgorithmpointslayerfromtable.cpp @@ -58,7 +58,7 @@ QString QgsPointsLayerFromTableAlgorithm::shortHelpString() const QString QgsPointsLayerFromTableAlgorithm::shortDescription() const { - return QObject::tr( "Generates a points layer based on the values from an input table." ); + return QObject::tr( "Generates a point layer based on the coordinates from an input table." ); } Qgis::ProcessingAlgorithmDocumentationFlags QgsPointsLayerFromTableAlgorithm::documentationFlags() const diff --git a/src/analysis/processing/qgsalgorithmpointstopaths.cpp b/src/analysis/processing/qgsalgorithmpointstopaths.cpp index 3d1c94d300e..3a9a785e241 100644 --- a/src/analysis/processing/qgsalgorithmpointstopaths.cpp +++ b/src/analysis/processing/qgsalgorithmpointstopaths.cpp @@ -47,7 +47,7 @@ QString QgsPointsToPathsAlgorithm::shortHelpString() const QString QgsPointsToPathsAlgorithm::shortDescription() const { - return QObject::tr( "Takes a point layer and connects its features creating a new line layer." ); + return QObject::tr( "Takes a point layer and connects its features to create a new line layer." ); } QStringList QgsPointsToPathsAlgorithm::tags() const