Skip to content

Commit 60ab4b3

Browse files
committed
fix typos
1 parent e0e57b5 commit 60ab4b3

16 files changed

Lines changed: 26 additions & 25 deletions

File tree

‎python/analysis/network/qgsgraph.sip‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class QgsGraph
105105
int addArc( int outVertexIdx, int inVertexIdx, const QVector< QVariant >& properties );
106106

107107
/**
108-
* retrun vertex count
108+
* return vertex count
109109
*/
110110
int vertexCount() const;
111111

@@ -120,7 +120,7 @@ class QgsGraph
120120
int arcCount() const;
121121

122122
/**
123-
* retrun edge at index
123+
* return edge at index
124124
*/
125125
const QgsGraphArc& arc( int idx ) const;
126126

‎python/core/symbology-ng/qgsstylev2.sip‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class QgsStyleV2
153153
*/
154154
QStringList symbolsWithTag( StyleEntity type, int tagid );
155155

156-
//! applies the specifed group to the symbol or colorramp specified by StyleEntity
156+
//! applies the specified group to the symbol or colorramp specified by StyleEntity
157157
/*!
158158
* \param type is either SymbolEntity of ColorrampEntity
159159
* \param name is the name of the symbol or coloramp whose group is to be set

‎python/plugins/sextante/help/3rdParty.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ <h2>R. Creating R scripts<a class="headerlink" href="#r-creating-r-scripts" titl
231231
<tt class="docutils literal"><span class="pre">vector</span></tt> named <tt class="docutils literal"><span class="pre">polyg</span></tt>. When executing the algorithm,
232232
SEXTANTE will open in R the layer selected by the user and store it in a
233233
variable also named <tt class="docutils literal"><span class="pre">polyg</span></tt>. So the name of a parameter is also the
234-
name of the variable that we can use in R for accesing the value of that
234+
name of the variable that we can use in R for accessing the value of that
235235
parameter (thus, you should avoid using reserved R words as parameter
236236
names).</p>
237237
<p>Spatial elements such as vector and raster layers are read using the
@@ -304,7 +304,7 @@ <h2>R. Creating R scripts<a class="headerlink" href="#r-creating-r-scripts" titl
304304
<h2>GRASS<a class="headerlink" href="#grass" title="Permalink to this headline"></a></h2>
305305
<p>Configuring GRASS is not much different from configuring SAGA. First,
306306
the path to the GRASS folder has to be defined, but only if you are
307-
running Windows. Additionaly, a shell interpreter (usually msys.exe,
307+
running Windows. Additionally, a shell interpreter (usually msys.exe,
308308
which can be found in most GRASS for Windows distributions) has to be
309309
defined and its path set up as well.</p>
310310
<p>By default, SEXTANTE tries to configure its GRASS connector to use the GRASS distribution that ships along with QGIS. This should work without problems in most systems, but if you experience problems, you might have to do it manually. Also, if you want to use a different GRASS version, you can change that setting and point to the folder where that other version is kept. GRASS 6.4 is needed for algorithms to work correctly.</p>
@@ -403,4 +403,4 @@ <h3>Navigation</h3>
403403
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
404404
</div>
405405
</body>
406-
</html>
406+
</html>

‎python/plugins/sextante/help/_sources/3rdParty.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ In the above example, we are declaring an input of type
213213
``vector`` named ``polyg``. When executing the algorithm,
214214
SEXTANTE will open in R the layer selected by the user and store it in a
215215
variable also named ``polyg``. So the name of a parameter is also the
216-
name of the variable that we can use in R for accesing the value of that
216+
name of the variable that we can use in R for accessing the value of that
217217
parameter (thus, you should avoid using reserved R words as parameter
218218
names).
219219

‎python/plugins/sextante/help/_sources/modeler.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ if the number of output layers cannot be know in advance), then it is
252252
not possible to use it within a model, and thus does not appear in the
253253
list of them that you can find in the modeler dialog.
254254

255-
Additionaly, you will see some algorithms in the modeler that are not
255+
Additionally, you will see some algorithms in the modeler that are not
256256
found in the toolbox. This algorithms are meant to be used exclusively
257257
as part of a model, and they are of no interest in a different context.
258258
The *Calculator* algorithm is an example of that. It is just a simple

‎python/plugins/sextante/help/_static/searchtools.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* searchtools.js_t
33
* ~~~~~~~~~~~~~~~~
44
*
5-
* Sphinx JavaScript utilties for the full-text search.
5+
* Sphinx JavaScript utilities for the full-text search.
66
*
77
* :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
@@ -557,4 +557,4 @@ var Search = {
557557

558558
$(document).ready(function() {
559559
Search.init();
560-
});
560+
});

‎python/plugins/sextante/help/_static/websupport.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* websupport.js
33
* ~~~~~~~~~~~~~
44
*
5-
* sphinx.websupport utilties for all documentation.
5+
* sphinx.websupport utilities for all documentation.
66
*
77
* :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.

‎python/plugins/sextante/pymorph/html/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ <h2 class="index">Description</h2>
6868
toolbox implementations".
6969
</blockquote>
7070
</p>
71-
<p> As the fuctions are written in pure Python, some functions are
71+
<p> As the functions are written in pure Python, some functions are
7272
not very efficient and may take very long to process. In this case, it
7373
is possible to use a professional version available at
7474
<a href="http://www.mmorph.com/pymorphpro">http://www.mmorph.com/pymorphpro</a>
@@ -138,4 +138,4 @@ <h2 class="index">On-line Documentation</h2>
138138
</table>
139139
</center>
140140
</body>
141-
</html>
141+
</html>

‎python/plugins/sextante/pymorph/html/morph/mmdemos/mmdfabric.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ <H3>Select only the narrow region (small area)</H3>
307307
</div>
308308
</div>
309309
<div class="slide">
310-
<H3>Area measurement and ploting</H3>
310+
<H3>Area measurement and plotting</H3>
311311
<div class="H3">
312312
<p>
313313
<p>
@@ -360,4 +360,4 @@ <H3>Area measurement and ploting</H3>
360360
</table>
361361
</center>
362362
</body>
363-
</html>
363+
</html>

‎python/plugins/sextante/pymorph/mmorph.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ def overlay(X, red=None, green=None, blue=None, magenta=None, yellow=None, cyan=
630630
"""
631631
Y = overlay(X, red=None, green=None, blue=None, magenta=None, yellow=None, cyan=None)
632632
633-
Apply binary overlays as colour layers on a binary or gray-scale image
633+
Apply binary overlays as color layers on a binary or gray-scale image
634634
635635
Parameters
636636
----------
@@ -4273,7 +4273,7 @@ def to_gray(f):
42734273
"""
42744274
g = to_gray(f)
42754275
4276-
Transform (possibly colour) image to gray image.
4276+
Transform (possibly color) image to gray image.
42774277
42784278
If input file is a color RGB image, it is converted to gray-scale using the
42794279
equation:
@@ -4283,7 +4283,7 @@ def to_gray(f):
42834283
Parameters
42844284
----------
42854285
f : ndarray of shape HxWx3
4286-
colour image.
4286+
color image.
42874287
42884288
Returns
42894289
-------
@@ -4294,7 +4294,7 @@ def to_gray(f):
42944294
if len(f.shape) == 2:
42954295
return f
42964296
if len(f.shape) != 3:
4297-
raise ValueError, 'pymorph.to_gray: can only handle gray and colour images'
4297+
raise ValueError, 'pymorph.to_gray: can only handle gray and color images'
42984298
r = f[:,:,0]
42994299
g = f[:,:,1]
43004300
b = f[:,:,2]

0 commit comments

Comments
 (0)