Skip to content

Commit 00972e0

Browse files
DelazJnyalldawson
authored andcommittedMay 22, 2019
Title case the resampling options
1 parent 48f837a commit 00972e0

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed
 

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ def type(self):
8080
def defaultFileExtension(self):
8181
return 'vrt'
8282

83-
self.RESAMPLING_OPTIONS = ((self.tr('Nearest neighbour'), 'nearest'),
83+
self.RESAMPLING_OPTIONS = ((self.tr('Nearest Neighbour'), 'nearest'),
8484
(self.tr('Bilinear'), 'bilinear'),
85-
(self.tr('Cubic convolution'), 'cubic'),
86-
(self.tr('B-Spline convolution'), 'cubicspline'),
87-
(self.tr('Lanczos windowed sinc'), 'lanczos'),
85+
(self.tr('Cubic Convolution'), 'cubic'),
86+
(self.tr('B-Spline Convolution'), 'cubicspline'),
87+
(self.tr('Lanczos Windowed Sinc'), 'lanczos'),
8888
(self.tr('Average'), 'average'),
8989
(self.tr('Mode'), 'mode'))
9090

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

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

6767
def initAlgorithm(self, config=None):
68-
self.methods = ((self.tr('Nearest neighbour'), 'near'),
68+
self.methods = ((self.tr('Nearest Neighbour'), 'near'),
6969
(self.tr('Bilinear'), 'bilinear'),
7070
(self.tr('Cubic'), 'cubic'),
71-
(self.tr('Cubic spline'), 'cubicspline'),
72-
(self.tr('Lanczos windowed sinc'), 'lanczos'),)
71+
(self.tr('Cubic Spline'), 'cubicspline'),
72+
(self.tr('Lanczos Windowed Sinc'), 'lanczos'),)
7373

7474
self.addParameter(QgsProcessingParameterMultipleLayers(self.INPUT,
7575
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
@@ -67,18 +67,18 @@ def __init__(self):
6767
super().__init__()
6868

6969
def initAlgorithm(self, config=None):
70-
self.methods = ((self.tr('Nearest neighbour'), 'near'),
70+
self.methods = ((self.tr('Nearest Neighbour'), 'near'),
7171
(self.tr('Bilinear'), 'bilinear'),
7272
(self.tr('Cubic'), 'cubic'),
73-
(self.tr('Cubic spline'), 'cubicspline'),
74-
(self.tr('Lanczos windowed sinc'), 'lanczos'),
73+
(self.tr('Cubic Spline'), 'cubicspline'),
74+
(self.tr('Lanczos Windowed Sinc'), 'lanczos'),
7575
(self.tr('Average'), 'average'),
7676
(self.tr('Mode'), 'mode'),
7777
(self.tr('Maximum'), 'max'),
7878
(self.tr('Minimum'), 'min'),
7979
(self.tr('Median'), 'med'),
80-
(self.tr('First quartile'), 'q1'),
81-
(self.tr('Third quartile'), 'q3'))
80+
(self.tr('First Quartile'), 'q1'),
81+
(self.tr('Third Quartile'), 'q3'))
8282

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

0 commit comments

Comments
 (0)
Please sign in to comment.