Skip to content

Commit e5a4426

Browse files
committed
more spelling fixes
1 parent c87aad2 commit e5a4426

File tree

9 files changed

+13
-12
lines changed

9 files changed

+13
-12
lines changed

python/core/raster/qgsrasterinterface.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class QgsRasterInterface
211211

212212
/** \brief Get histogram. Histograms are cached in providers.
213213
* @param theBandNo The band (number).
214-
* @param theBinCount Number of bins (intervals,buckets). If 0, the number of bins is decided automaticaly according to data type, raster size etc.
214+
* @param theBinCount Number of bins (intervals,buckets). If 0, the number of bins is decided automatically according to data type, raster size etc.
215215
* @param theMinimum Minimum value, if NaN, raster minimum value will be used.
216216
* @param theMaximum Maximum value, if NaN, raster minimum value will be used.
217217
* @param theExtent Extent used to calc histogram, if empty, whole raster extent is used.

python/plugins/processing/algs/qgis/Relief.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ def setValue(self, value):
7676
return True
7777

7878
if value == '':
79-
if not self.optional:
80-
return False
79+
if not self.optional:
80+
return False
8181

8282
if isinstance(value, str):
8383
self.value = value if value != '' else None
@@ -97,7 +97,7 @@ def getAsScriptCode(self):
9797
def fromScriptCode(self, line):
9898
isOptional, name, definition = _splitParameterOptions(line)
9999
descName = _createDescriptiveName(name)
100-
parent = definition.lower().strip()[len('relief colors') + 1:]
100+
parent = definition.lower().strip()[len('relief colors') + 1:]
101101
return ParameterReliefColors(name, description, parent)
102102

103103
@staticmethod
@@ -117,7 +117,7 @@ def colorsToString(colors):
117117
self.tr('Z factor'),
118118
1.0, 999999.99, 1.0))
119119
self.addParameter(ParameterBoolean(self.AUTO_COLORS,
120-
self.tr('Generate relief classes automaticaly'),
120+
self.tr('Generate relief classes automatically'),
121121
False))
122122
self.addParameter(ParameterReliefColors(self.COLORS,
123123
self.tr('Relief colors'),
@@ -145,7 +145,7 @@ def processAlgorithm(self, progress):
145145
else:
146146
if colors is None:
147147
raise GeoAlgorithmExecutionException(
148-
self.tr('Specify relief colors or activate "Generate relief classes automaticaly" option.'))
148+
self.tr('Specify relief colors or activate "Generate relief classes automatically" option.'))
149149

150150
reliefColors = []
151151
for c in colors.split(';'):

scripts/chkspelling_ag.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if [[ ! -z $OUTPUT ]]; then
4040
# < ---------- get files + error ---------------------------------------------------------------------->
4141
ag --smart-case --only-matching --nogroup --nonumbers --all-text --word-regexp -p $AGIGNORE "$RE" $FILES | \
4242
# <-- generate sed command .... <------------------------------ get correction word ----------------------------------> <------------------------------- match case -------------------------------------------> <-----replace : by / and add word boundary------> ...finalize sed command>
43-
sed -e 's/\(\S*\):\([[:alnum:]]*\)$/ echo "sed -i \x27s\/"$( echo "\2:$(ag --nonumbers --ignore-case --word-regexp \2 scripts\/spelling.dat | cut -d: -f2)" | sed -r \x27s\/([A-Z]+):(.*)\/\\1:\\U\\2\/; s\/([A-Z][a-z]+):([a-z])\/\\1:\\U\\2\\L\/\x27 | sed -r \x27s\/(\\S\*):\/\\\\b\\1\\\\b\\\/\/\x27)"\/g\x27 \1" /e' | \
43+
sed -e 's/\(\S*\):\([[:alnum:]]*\)$/ echo "sed -i \x27s\/\/"$( echo "\2:$(ag --nonumbers --ignore-case --word-regexp \2 scripts\/spelling.dat | cut -d: -f2)" | sed -r \x27s\/([A-Z]+):(.*)\/\\1:\\U\\2\/; s\/([A-Z][a-z]+):([a-z])\/\\1:\\U\\2\\L\/\x27 | sed -r \x27s\/(\\S\*):\/\\\\b\\1\\\\b\\\/\/\x27)"\/g\x27 \1" /e' | \
4444
# remove duplicate line
4545
sort -u
4646
echo "****"

scripts/spelling.dat

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ attemtps:attempts
6767
attribut:attribute
6868
attruibutes:attributes
6969
authentification:authentication
70+
automaticaly:automatically
7071
automaticly:automatically
7172
automatize:automate
7273
automatized:automated

src/app/qgsidentifyresultsdialog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ QgsWebView *QgsIdentifyResultsWebView::createWindow( QWebPage::WebWindowType typ
201201
// loaded and contentsSizeChanged () is emitted.
202202
//
203203
// 3) If QgsIdentifyResultsWebView is resized (on page load) after it was inserted into
204-
// QTreeWidget, the row does not reflect that change automaticaly and
204+
// QTreeWidget, the row does not reflect that change automatically and
205205
// consecutive resize of QTreeWidget will cause to shrink QgsIdentifyResultsWebView to the
206206
// original row height. That is expected, Qt: "setItemWidget() should only
207207
// be used to display static content... => we must not change QgsIdentifyResultsWebView

src/core/raster/qgsrasterinterface.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ class CORE_EXPORT QgsRasterInterface
208208

209209
/** \brief Get histogram. Histograms are cached in providers.
210210
* @param theBandNo The band (number).
211-
* @param theBinCount Number of bins (intervals,buckets). If 0, the number of bins is decided automaticaly according to data type, raster size etc.
211+
* @param theBinCount Number of bins (intervals,buckets). If 0, the number of bins is decided automatically according to data type, raster size etc.
212212
* @param theMinimum Minimum value, if NaN, raster minimum value will be used.
213213
* @param theMaximum Maximum value, if NaN, raster minimum value will be used.
214214
* @param theExtent Extent used to calc histogram, if empty, whole raster extent is used.

src/gui/attributetable/qgsattributetablefiltermodel.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ void QgsAttributeTableFilterModel::generateListOfVisibleFeatures()
409409
if ( renderer && renderer->capabilities() & QgsFeatureRenderer::ScaleDependent )
410410
{
411411
// setup scale
412-
// mapRenderer()->renderContext()->scale is not automaticaly updated when
412+
// mapRenderer()->renderContext()->scale is not automatically updated when
413413
// render extent changes (because it's scale is used to identify if changed
414414
// since last render) -> use local context
415415
renderContext.setExtent( ms.visibleExtent() );

src/plugins/grass/qgsgrassmapcalc.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class QgsGrassMapcalc: public QMainWindow, private Ui::QgsGrassMapcalcBase,
8787
//! Grow canvas and move items
8888
void growCanvas( int left, int right, int top, int bottom );
8989

90-
//! Grow automaticaly if an item is near border
90+
//! Grow automatically if an item is near border
9191
void autoGrow();
9292

9393
void resizeCanvas( int width, int height );

src/providers/wcs/qgswcsprovider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ QgsWcsProvider::QgsWcsProvider( const QString& uri )
282282
QgsDebugMsg( QString( "myGdalDataType[%1] = %2" ).arg( i - 1 ).arg( myGdalDataType ) );
283283
mSrcGdalDataType.append( myGdalDataType );
284284

285-
// UMN Mapserver does not automaticaly set null value, METADATA wcs_rangeset_nullvalue must be used
285+
// UMN Mapserver does not automatically set null value, METADATA wcs_rangeset_nullvalue must be used
286286
// http://lists.osgeo.org/pipermail/mapserver-users/2010-April/065328.html
287287

288288
// TODO: This could be shared with GDAL provider

0 commit comments

Comments
 (0)