Skip to content

Commit 6e5976e

Browse files
DelazJnyalldawson
authored andcommitted
Title case the resampling options
1 parent bd2fc75 commit 6e5976e

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

python/plugins/processing/algs/gdal/buildvrt.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ def type(self):
7676
def defaultFileExtension(self):
7777
return 'vrt'
7878

79-
self.RESAMPLING_OPTIONS = ((self.tr('Nearest neighbour'), 'nearest'),
79+
self.RESAMPLING_OPTIONS = ((self.tr('Nearest Neighbour'), 'nearest'),
8080
(self.tr('Bilinear'), 'bilinear'),
81-
(self.tr('Cubic convolution'), 'cubic'),
82-
(self.tr('B-Spline convolution'), 'cubicspline'),
83-
(self.tr('Lanczos windowed sinc'), 'lanczos'),
81+
(self.tr('Cubic Convolution'), 'cubic'),
82+
(self.tr('B-Spline Convolution'), 'cubicspline'),
83+
(self.tr('Lanczos Windowed Sinc'), 'lanczos'),
8484
(self.tr('Average'), 'average'),
8585
(self.tr('Mode'), 'mode'))
8686

python/plugins/processing/algs/gdal/pansharp.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ def __init__(self):
5252
super().__init__()
5353

5454
def initAlgorithm(self, config=None):
55-
self.methods = ((self.tr('Nearest neighbour'), 'nearest'),
55+
self.methods = ((self.tr('Nearest Neighbour'), 'nearest'),
5656
(self.tr('Bilinear'), 'bilinear'),
5757
(self.tr('Cubic'), 'cubic'),
58-
(self.tr('Cubic spline'), 'cubicspline'),
59-
(self.tr('Lanczos windowed sinc'), 'lanczos'),
58+
(self.tr('Cubic Spline'), 'cubicspline'),
59+
(self.tr('Lanczos Windowed Sinc'), 'lanczos'),
6060
(self.tr('Average'), 'average'))
6161

6262
self.addParameter(QgsProcessingParameterRasterLayer(self.SPECTRAL,

python/plugins/processing/algs/gdal/retile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ def __init__(self):
6161
super().__init__()
6262

6363
def initAlgorithm(self, config=None):
64-
self.methods = ((self.tr('Nearest neighbour'), 'near'),
64+
self.methods = ((self.tr('Nearest Neighbour'), 'near'),
6565
(self.tr('Bilinear'), 'bilinear'),
6666
(self.tr('Cubic'), 'cubic'),
67-
(self.tr('Cubic spline'), 'cubicspline'),
68-
(self.tr('Lanczos windowed sinc'), 'lanczos'),)
67+
(self.tr('Cubic Spline'), 'cubicspline'),
68+
(self.tr('Lanczos Windowed Sinc'), 'lanczos'),)
6969

7070
self.addParameter(QgsProcessingParameterMultipleLayers(self.INPUT,
7171
self.tr('Input files'),

python/plugins/processing/algs/gdal/warp.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,18 @@ def __init__(self):
6363
super().__init__()
6464

6565
def initAlgorithm(self, config=None):
66-
self.methods = ((self.tr('Nearest neighbour'), 'near'),
66+
self.methods = ((self.tr('Nearest Neighbour'), 'near'),
6767
(self.tr('Bilinear'), 'bilinear'),
6868
(self.tr('Cubic'), 'cubic'),
69-
(self.tr('Cubic spline'), 'cubicspline'),
70-
(self.tr('Lanczos windowed sinc'), 'lanczos'),
69+
(self.tr('Cubic Spline'), 'cubicspline'),
70+
(self.tr('Lanczos Windowed Sinc'), 'lanczos'),
7171
(self.tr('Average'), 'average'),
7272
(self.tr('Mode'), 'mode'),
7373
(self.tr('Maximum'), 'max'),
7474
(self.tr('Minimum'), 'min'),
7575
(self.tr('Median'), 'med'),
76-
(self.tr('First quartile'), 'q1'),
77-
(self.tr('Third quartile'), 'q3'))
76+
(self.tr('First Quartile'), 'q1'),
77+
(self.tr('Third Quartile'), 'q3'))
7878

7979
self.TYPES = [self.tr('Use Input Layer Data Type'), 'Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64', 'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
8080

0 commit comments

Comments
 (0)