From d7111b7849a79ec6b5247e6b94aa355866b94ebf Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Thu, 30 Nov 2017 15:48:47 +1000 Subject: [PATCH] Standardise some algorithm names --- python/plugins/processing/algs/qgis/DensifyGeometries.py | 2 +- .../plugins/processing/algs/qgis/DensifyGeometriesInterval.py | 2 +- src/3d/processing/qgsalgorithmtessellate.cpp | 2 +- src/analysis/processing/qgsalgorithmfiledownloader.cpp | 2 +- src/analysis/processing/qgsalgorithmsimplify.cpp | 2 +- src/analysis/processing/qgsalgorithmsmooth.cpp | 2 +- src/analysis/processing/qgsalgorithmtranslate.cpp | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) mode change 100644 => 100755 python/plugins/processing/algs/qgis/DensifyGeometries.py mode change 100644 => 100755 python/plugins/processing/algs/qgis/DensifyGeometriesInterval.py diff --git a/python/plugins/processing/algs/qgis/DensifyGeometries.py b/python/plugins/processing/algs/qgis/DensifyGeometries.py old mode 100644 new mode 100755 index 36645abc5bc..3e8b308b67e --- a/python/plugins/processing/algs/qgis/DensifyGeometries.py +++ b/python/plugins/processing/algs/qgis/DensifyGeometries.py @@ -56,7 +56,7 @@ class DensifyGeometries(QgisFeatureBasedAlgorithm): return 'densifygeometries' def displayName(self): - return self.tr('Densify geometries') + return self.tr('Densify by count') def outputName(self): return self.tr('Densified') diff --git a/python/plugins/processing/algs/qgis/DensifyGeometriesInterval.py b/python/plugins/processing/algs/qgis/DensifyGeometriesInterval.py old mode 100644 new mode 100755 index 60cc401f688..124911e977b --- a/python/plugins/processing/algs/qgis/DensifyGeometriesInterval.py +++ b/python/plugins/processing/algs/qgis/DensifyGeometriesInterval.py @@ -52,7 +52,7 @@ class DensifyGeometriesInterval(QgisFeatureBasedAlgorithm): return 'densifygeometriesgivenaninterval' def displayName(self): - return self.tr('Densify geometries given an interval') + return self.tr('Densify by interval') def outputName(self): return self.tr('Densified') diff --git a/src/3d/processing/qgsalgorithmtessellate.cpp b/src/3d/processing/qgsalgorithmtessellate.cpp index e7b1b7c05f0..c0e27a78665 100644 --- a/src/3d/processing/qgsalgorithmtessellate.cpp +++ b/src/3d/processing/qgsalgorithmtessellate.cpp @@ -28,7 +28,7 @@ QString QgsTessellateAlgorithm::name() const QString QgsTessellateAlgorithm::displayName() const { - return QObject::tr( "Tessellate geometry" ); + return QObject::tr( "Tessellate" ); } QStringList QgsTessellateAlgorithm::tags() const diff --git a/src/analysis/processing/qgsalgorithmfiledownloader.cpp b/src/analysis/processing/qgsalgorithmfiledownloader.cpp index b35047d544b..65e87455985 100644 --- a/src/analysis/processing/qgsalgorithmfiledownloader.cpp +++ b/src/analysis/processing/qgsalgorithmfiledownloader.cpp @@ -31,7 +31,7 @@ QString QgsFileDownloaderAlgorithm::name() const QString QgsFileDownloaderAlgorithm::displayName() const { - return tr( "File downloader" ); + return tr( "Download file" ); } QStringList QgsFileDownloaderAlgorithm::tags() const diff --git a/src/analysis/processing/qgsalgorithmsimplify.cpp b/src/analysis/processing/qgsalgorithmsimplify.cpp index 50f8cb90a48..03fbf69620a 100644 --- a/src/analysis/processing/qgsalgorithmsimplify.cpp +++ b/src/analysis/processing/qgsalgorithmsimplify.cpp @@ -26,7 +26,7 @@ QString QgsSimplifyAlgorithm::name() const QString QgsSimplifyAlgorithm::displayName() const { - return QObject::tr( "Simplify geometries" ); + return QObject::tr( "Simplify" ); } QStringList QgsSimplifyAlgorithm::tags() const diff --git a/src/analysis/processing/qgsalgorithmsmooth.cpp b/src/analysis/processing/qgsalgorithmsmooth.cpp index 8ce12ed94c7..093d8bd5257 100644 --- a/src/analysis/processing/qgsalgorithmsmooth.cpp +++ b/src/analysis/processing/qgsalgorithmsmooth.cpp @@ -26,7 +26,7 @@ QString QgsSmoothAlgorithm::name() const QString QgsSmoothAlgorithm::displayName() const { - return QObject::tr( "Smooth geometries" ); + return QObject::tr( "Smooth" ); } QStringList QgsSmoothAlgorithm::tags() const diff --git a/src/analysis/processing/qgsalgorithmtranslate.cpp b/src/analysis/processing/qgsalgorithmtranslate.cpp index 58cc976c3ef..99048ff0c6e 100644 --- a/src/analysis/processing/qgsalgorithmtranslate.cpp +++ b/src/analysis/processing/qgsalgorithmtranslate.cpp @@ -26,7 +26,7 @@ QString QgsTranslateAlgorithm::name() const QString QgsTranslateAlgorithm::displayName() const { - return QObject::tr( "Translate geometry" ); + return QObject::tr( "Translate" ); } QStringList QgsTranslateAlgorithm::tags() const