Skip to content

Commit

Permalink
Change strings as suggested in code review part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
florianneukirchen committed Nov 13, 2024
1 parent 1b03d34 commit 57b04bf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/BarPlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ def initAlgorithm(self, config=None):

self.addParameter(QgsProcessingParameterString(
self.XAXIS_TITLE,
self.tr('X-axis Title'),
self.tr('X-axis title'),
optional=True))

self.addParameter(QgsProcessingParameterString(
self.YAXIS_TITLE,
self.tr('Y-axis Title'),
self.tr('Y-axis title'),
optional=True))

def name(self):
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/BoxPlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ def initAlgorithm(self, config=None):

self.addParameter(QgsProcessingParameterString(
self.XAXIS_TITLE,
self.tr('X-axis Title'),
self.tr('X-axis title'),
optional=True))

self.addParameter(QgsProcessingParameterString(
self.YAXIS_TITLE,
self.tr('Y-axis Title'),
self.tr('Y-axis title'),
optional=True))

self.addParameter(QgsProcessingParameterFileDestination(self.OUTPUT, self.tr('Box plot'), self.tr('HTML files (*.html)')))
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/VectorLayerScatterplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ def initAlgorithm(self, config=None):

self.addParameter(QgsProcessingParameterString(
self.XAXIS_TITLE,
self.tr('X-axis Title'),
self.tr('X-axis title'),
optional=True))

self.addParameter(QgsProcessingParameterString(
self.YAXIS_TITLE,
self.tr('Y-axis Title'),
self.tr('Y-axis title'),
optional=True))

self.addParameter(QgsProcessingParameterBoolean(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,17 @@ def initAlgorithm(self, config=None):

self.addParameter(QgsProcessingParameterString(
self.XAXIS_TITLE,
self.tr('X-axis Title'),
self.tr('X-axis title'),
optional=True))

self.addParameter(QgsProcessingParameterString(
self.YAXIS_TITLE,
self.tr('Y-axis Title'),
self.tr('Y-axis title'),
optional=True))

self.addParameter(QgsProcessingParameterString(
self.ZAXIS_TITLE,
self.tr('Z-axis Title'),
self.tr('Z-axis title'),
optional=True))

self.addParameter(QgsProcessingParameterFileDestination(self.OUTPUT, self.tr('Scatterplot 3D'), self.tr('HTML files (*.html)')))
Expand Down

0 comments on commit 57b04bf

Please sign in to comment.