Skip to content

Commit 0063381

Browse files
committed
spelling fixes
1 parent eeb5dae commit 0063381

File tree

153 files changed

+273
-270
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+273
-270
lines changed

python/console/console_output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class writeOut:
3131

3232
def __init__(self, shellOut, out=None, style=None):
3333
"""
34-
This class allow to write stdout and stderr
34+
This class allows writing to stdout and stderr
3535
"""
3636
self.sO = shellOut
3737
self.out = None

python/console/console_sci.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def keyPressEvent(self, e):
382382

383383
# handle invalid cursor position and multiline selections
384384
if not self.is_cursor_on_edition_zone() or startLine < endLine:
385-
# allow to copy and select
385+
# allow copying and selecting
386386
if e.modifiers() & (Qt.ControlModifier | Qt.MetaModifier):
387387
if e.key() in (Qt.Key_C, Qt.Key_A):
388388
QsciScintilla.keyPressEvent(self, e)

python/core/qgssnappingutils.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class QgsSnappingUtils : QObject
1414
/** Get a point locator for the given layer. If such locator does not exist, it will be created */
1515
QgsPointLocator* locatorForLayer( QgsVectorLayer* vl );
1616

17-
/** Snap to map according to the current configuration (mode). Optional filter allows to discard unwanted matches. */
17+
/** Snap to map according to the current configuration (mode). Optional filter allows discarding unwanted matches. */
1818
QgsPointLocator::Match snapToMap( const QPoint& point, QgsPointLocator::MatchFilter* filter = 0 );
1919
QgsPointLocator::Match snapToMap( const QgsPoint& pointMap, QgsPointLocator::MatchFilter* filter = 0 );
2020

python/gui/qgslegendfilterbutton.sip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** \ingroup gui
22
* \class QgsFilterLegendButton
3-
* A tool button that allows to enable or disable legend filter by contents of the map.
4-
* An additional pop down menu allows to define a boolean expression to refine the filtering.
3+
* A tool button that allows enabling or disabling legend filter by contents of the map.
4+
* An additional pop down menu allows defining a boolean expression to refine the filtering.
55
* @note added in 2.14
66
*/
77

python/plugins/db_manager/TODO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ DONE:
1313
* improve error handling, add Re-connect button (v0.1.12)
1414
* add "Run Vacuum" and "Move to schema" to menu (v0.1.11)
1515
* fix encoding support and import layer on Win (v0.1.10)
16-
* allow to copy contents from views (v0.1.9)
16+
* allow copying contents of views (v0.1.9)
1717
* GUI to import data by drag'n'drop (v0.1.8)
1818
* edit table (v0.1.8)
1919
* create table (v0.1.7)

python/plugins/db_manager/dlg_sql_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def __init__(self, iface, db, parent=None):
7272
self.editSql.setVerticalScrollBarPolicy(Qt.ScrollBarAsNeeded)
7373
self.initCompleter()
7474

75-
# allow to copy results
75+
# allow copying results
7676
copyAction = QAction("copy", self)
7777
self.viewResult.addAction(copyAction)
7878
copyAction.setShortcuts(QKeySequence.Copy)

python/plugins/db_manager/table_viewer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(self, parent=None):
3737
self.item = None
3838
self.dirty = False
3939

40-
# allow to copy results
40+
# allow copying results
4141
copyAction = QAction(QApplication.translate("DBManagerPlugin", "Copy"), self)
4242
self.addAction(copyAction)
4343
copyAction.setShortcuts(QKeySequence.Copy)

python/plugins/fTools/tools/ftools_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def saveDialog(parent, filtering="Shapefiles (*.shp *.SHP)"):
336336
return (unicode(files[0]), unicode(fileDialog.encoding()))
337337

338338
# Generate a save file dialog with a dropdown box for choosing encoding style
339-
# with mode="SingleFile" will allow to select only one file, in other cases - several files
339+
# with mode="SingleFile" will allow selecting only one file, in other cases - several files
340340

341341

342342
def openDialog(parent, filtering="Shapefiles (*.shp *.SHP)", dialogMode="SingleFile"):

python/plugins/processing/algs/otb/description/5.0.0/ComputePolylineFeatureFromImage.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
2424
<key>elev.default</key>
2525
<name>Default elevation</name>
26-
<description>This parameter allows to set the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.</description>
26+
<description>This parameter allows setting the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.</description>
2727
<minValue />
2828
<maxValue />
2929
<default>0</default>

python/plugins/processing/algs/otb/description/5.0.0/ConnectedComponentSegmentation.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
5959
<key>elev.default</key>
6060
<name>Default elevation</name>
61-
<description>This parameter allows to set the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.</description>
61+
<description>This parameter allows setting the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.</description>
6262
<minValue />
6363
<maxValue />
6464
<default>0</default>

python/plugins/processing/algs/otb/description/5.0.0/ExtractROI-fit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
5151
<key>mode.fit.elev.default</key>
5252
<name>Default elevation</name>
53-
<description>This parameter allows to set the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.</description>
53+
<description>This parameter allows setting the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.</description>
5454
<minValue />
5555
<maxValue />
5656
<default>0</default>

python/plugins/processing/algs/otb/description/5.0.0/ImageClassifier.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<parameter_type source_parameter_type="ParameterType_InputImage">ParameterRaster</parameter_type>
1616
<key>mask</key>
1717
<name>Input Mask</name>
18-
<description>The mask allows to restrict classification of the input image to the area where mask pixel values are greater than 0.</description>
18+
<description>The mask allows restricting classification of the input image to the area where mask pixel values are greater than 0.</description>
1919
<optional>True</optional>
2020
</parameter>
2121
<parameter>

python/plugins/processing/algs/otb/description/5.0.0/KmzExport.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
4545
<key>elev.default</key>
4646
<name>Default elevation</name>
47-
<description>This parameter allows to set the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.</description>
47+
<description>This parameter allows setting the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.</description>
4848
<minValue />
4949
<maxValue />
5050
<default>0</default>

python/plugins/processing/algs/otb/description/5.0.0/OrthoRectification-epsg.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<exec>otbcli_OrthoRectification</exec>
44
<longname>OrthoRectification (epsg)</longname>
55
<group>Geometry</group>
6-
<description>This application allows to ortho-rectify optical images from supported sensors.
6+
<description>This application allows ortho-rectifying optical images from supported sensors.
77
</description>
88
<parameter>
99
<parameter_type source_parameter_type="ParameterType_InputImage">ParameterRaster</parameter_type>
@@ -66,7 +66,7 @@
6666
<parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
6767
<key>elev.default</key>
6868
<name>Default elevation</name>
69-
<description>This parameter allows to set the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.</description>
69+
<description>This parameter allows setting the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.</description>
7070
<minValue />
7171
<maxValue />
7272
<default>0</default>
@@ -75,7 +75,7 @@
7575
<parameter_type source_parameter_type="ParameterType_Choice">ParameterSelection</parameter_type>
7676
<key>interpolator</key>
7777
<name>Interpolation</name>
78-
<description>This group of parameters allows to define how the input image will be interpolated during resampling.</description>
78+
<description>This group of parameters allows defining how the input image will be interpolated during resampling.</description>
7979
<options>
8080
<choices>
8181
<choice>bco</choice>
@@ -89,7 +89,7 @@
8989
<parameter_type source_parameter_type="ParameterType_Radius">ParameterNumber</parameter_type>
9090
<key>interpolator.bco.radius</key>
9191
<name>Radius for bicubic interpolation</name>
92-
<description>This parameter allows to control the size of the bicubic interpolation filter. If the target pixel size is higher than the input pixel size, increasing this parameter will reduce aliasing artefacts.</description>
92+
<description>This parameter allows controlling the size of the bicubic interpolation filter. If the target pixel size is higher than the input pixel size, increasing this parameter will reduce aliasing artefacts.</description>
9393
<minValue />
9494
<maxValue />
9595
<default>2</default>
@@ -98,7 +98,7 @@
9898
<parameter_type source_parameter_type="ParameterType_RAM">ParameterNumber</parameter_type>
9999
<key>opt.ram</key>
100100
<name>Available RAM (Mb)</name>
101-
<description>This allows to set the maximum amount of RAM available for processing. As the writing task is time consuming, it is better to write large pieces of data, which can be achieved by increasing this parameter (pay attention to your system capabilities)</description>
101+
<description>This allows setting the maximum amount of RAM available for processing. As the writing task is time consuming, it is better to write large pieces of data, which can be achieved by increasing this parameter (pay attention to your system capabilities)</description>
102102
<minValue />
103103
<maxValue />
104104
<default>128</default>

python/plugins/processing/algs/otb/description/5.0.0/OrthoRectification-fit-to-ortho.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<exec>otbcli_OrthoRectification</exec>
44
<longname>OrthoRectification (fit-to-ortho)</longname>
55
<group>Geometry</group>
6-
<description>This application allows to ortho-rectify optical images from supported sensors.
6+
<description>This application allows ortho-rectifying optical images from supported sensors.
77
</description>
88
<parameter>
99
<parameter_type source_parameter_type="ParameterType_InputImage">ParameterRaster</parameter_type>
@@ -51,7 +51,7 @@
5151
<parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
5252
<key>elev.default</key>
5353
<name>Default elevation</name>
54-
<description>This parameter allows to set the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.</description>
54+
<description>This parameter allows setting the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.</description>
5555
<minValue />
5656
<maxValue />
5757
<default>0</default>
@@ -60,7 +60,7 @@
6060
<parameter_type source_parameter_type="ParameterType_Choice">ParameterSelection</parameter_type>
6161
<key>interpolator</key>
6262
<name>Interpolation</name>
63-
<description>This group of parameters allows to define how the input image will be interpolated during resampling.</description>
63+
<description>This group of parameters allows defining how the input image will be interpolated during resampling.</description>
6464
<options>
6565
<choices>
6666
<choice>bco</choice>
@@ -74,7 +74,7 @@
7474
<parameter_type source_parameter_type="ParameterType_Radius">ParameterNumber</parameter_type>
7575
<key>interpolator.bco.radius</key>
7676
<name>Radius for bicubic interpolation</name>
77-
<description>This parameter allows to control the size of the bicubic interpolation filter. If the target pixel size is higher than the input pixel size, increasing this parameter will reduce aliasing artefacts.</description>
77+
<description>This parameter allows controlling the size of the bicubic interpolation filter. If the target pixel size is higher than the input pixel size, increasing this parameter will reduce aliasing artefacts.</description>
7878
<minValue />
7979
<maxValue />
8080
<default>2</default>
@@ -83,7 +83,7 @@
8383
<parameter_type source_parameter_type="ParameterType_RAM">ParameterNumber</parameter_type>
8484
<key>opt.ram</key>
8585
<name>Available RAM (Mb)</name>
86-
<description>This allows to set the maximum amount of RAM available for processing. As the writing task is time consuming, it is better to write large pieces of data, which can be achieved by increasing this parameter (pay attention to your system capabilities)</description>
86+
<description>This allows setting the maximum amount of RAM available for processing. As the writing task is time consuming, it is better to write large pieces of data, which can be achieved by increasing this parameter (pay attention to your system capabilities)</description>
8787
<minValue />
8888
<maxValue />
8989
<default>128</default>

python/plugins/processing/algs/otb/description/5.0.0/OrthoRectification-lambert-WGS84.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<exec>otbcli_OrthoRectification</exec>
44
<longname>OrthoRectification (lambert-WGS84)</longname>
55
<group>Geometry</group>
6-
<description>This application allows to ortho-rectify optical images from supported sensors.
6+
<description>This application allows ortho-rectifying optical images from supported sensors.
77
</description>
88
<parameter>
99
<parameter_type source_parameter_type="ParameterType_InputImage">ParameterRaster</parameter_type>
@@ -59,7 +59,7 @@
5959
<parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
6060
<key>elev.default</key>
6161
<name>Default elevation</name>
62-
<description>This parameter allows to set the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.</description>
62+
<description>This parameter allows setting the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.</description>
6363
<minValue />
6464
<maxValue />
6565
<default>0</default>
@@ -68,7 +68,7 @@
6868
<parameter_type source_parameter_type="ParameterType_Choice">ParameterSelection</parameter_type>
6969
<key>interpolator</key>
7070
<name>Interpolation</name>
71-
<description>This group of parameters allows to define how the input image will be interpolated during resampling.</description>
71+
<description>This group of parameters allows defining how the input image will be interpolated during resampling.</description>
7272
<options>
7373
<choices>
7474
<choice>bco</choice>
@@ -82,7 +82,7 @@
8282
<parameter_type source_parameter_type="ParameterType_Radius">ParameterNumber</parameter_type>
8383
<key>interpolator.bco.radius</key>
8484
<name>Radius for bicubic interpolation</name>
85-
<description>This parameter allows to control the size of the bicubic interpolation filter. If the target pixel size is higher than the input pixel size, increasing this parameter will reduce aliasing artefacts.</description>
85+
<description>This parameter allows controlling the size of the bicubic interpolation filter. If the target pixel size is higher than the input pixel size, increasing this parameter will reduce aliasing artefacts.</description>
8686
<minValue />
8787
<maxValue />
8888
<default>2</default>
@@ -91,7 +91,7 @@
9191
<parameter_type source_parameter_type="ParameterType_RAM">ParameterNumber</parameter_type>
9292
<key>opt.ram</key>
9393
<name>Available RAM (Mb)</name>
94-
<description>This allows to set the maximum amount of RAM available for processing. As the writing task is time consuming, it is better to write large pieces of data, which can be achieved by increasing this parameter (pay attention to your system capabilities)</description>
94+
<description>This allows setting the maximum amount of RAM available for processing. As the writing task is time consuming, it is better to write large pieces of data, which can be achieved by increasing this parameter (pay attention to your system capabilities)</description>
9595
<minValue />
9696
<maxValue />
9797
<default>128</default>

0 commit comments

Comments
 (0)