Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Sep 24, 2012
1 parent e0e57b5 commit 60ab4b3
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 25 deletions.
4 changes: 2 additions & 2 deletions python/analysis/network/qgsgraph.sip
Expand Up @@ -105,7 +105,7 @@ class QgsGraph
int addArc( int outVertexIdx, int inVertexIdx, const QVector< QVariant >& properties );

/**
* retrun vertex count
* return vertex count
*/
int vertexCount() const;

Expand All @@ -120,7 +120,7 @@ class QgsGraph
int arcCount() const;

/**
* retrun edge at index
* return edge at index
*/
const QgsGraphArc& arc( int idx ) const;

Expand Down
2 changes: 1 addition & 1 deletion python/core/symbology-ng/qgsstylev2.sip
Expand Up @@ -153,7 +153,7 @@ class QgsStyleV2
*/
QStringList symbolsWithTag( StyleEntity type, int tagid );

//! applies the specifed group to the symbol or colorramp specified by StyleEntity
//! applies the specified group to the symbol or colorramp specified by StyleEntity
/*!
* \param type is either SymbolEntity of ColorrampEntity
* \param name is the name of the symbol or coloramp whose group is to be set
Expand Down
6 changes: 3 additions & 3 deletions python/plugins/sextante/help/3rdParty.html
Expand Up @@ -231,7 +231,7 @@ <h2>R. Creating R scripts<a class="headerlink" href="#r-creating-r-scripts" titl
<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,
SEXTANTE will open in R the layer selected by the user and store it in a
variable also named <tt class="docutils literal"><span class="pre">polyg</span></tt>. So the name of a parameter is also the
name of the variable that we can use in R for accesing the value of that
name of the variable that we can use in R for accessing the value of that
parameter (thus, you should avoid using reserved R words as parameter
names).</p>
<p>Spatial elements such as vector and raster layers are read using the
Expand Down Expand Up @@ -304,7 +304,7 @@ <h2>R. Creating R scripts<a class="headerlink" href="#r-creating-r-scripts" titl
<h2>GRASS<a class="headerlink" href="#grass" title="Permalink to this headline"></a></h2>
<p>Configuring GRASS is not much different from configuring SAGA. First,
the path to the GRASS folder has to be defined, but only if you are
running Windows. Additionaly, a shell interpreter (usually msys.exe,
running Windows. Additionally, a shell interpreter (usually msys.exe,
which can be found in most GRASS for Windows distributions) has to be
defined and its path set up as well.</p>
<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>
Expand Down Expand Up @@ -403,4 +403,4 @@ <h3>Navigation</h3>
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
</div>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion python/plugins/sextante/help/_sources/3rdParty.txt
Expand Up @@ -213,7 +213,7 @@ In the above example, we are declaring an input of type
``vector`` named ``polyg``. When executing the algorithm,
SEXTANTE will open in R the layer selected by the user and store it in a
variable also named ``polyg``. So the name of a parameter is also the
name of the variable that we can use in R for accesing the value of that
name of the variable that we can use in R for accessing the value of that
parameter (thus, you should avoid using reserved R words as parameter
names).

Expand Down
2 changes: 1 addition & 1 deletion python/plugins/sextante/help/_sources/modeler.txt
Expand Up @@ -252,7 +252,7 @@ if the number of output layers cannot be know in advance), then it is
not possible to use it within a model, and thus does not appear in the
list of them that you can find in the modeler dialog.

Additionaly, you will see some algorithms in the modeler that are not
Additionally, you will see some algorithms in the modeler that are not
found in the toolbox. This algorithms are meant to be used exclusively
as part of a model, and they are of no interest in a different context.
The *Calculator* algorithm is an example of that. It is just a simple
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/sextante/help/_static/searchtools.js
Expand Up @@ -2,7 +2,7 @@
* searchtools.js_t
* ~~~~~~~~~~~~~~~~
*
* Sphinx JavaScript utilties for the full-text search.
* Sphinx JavaScript utilities for the full-text search.
*
* :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
Expand Down Expand Up @@ -557,4 +557,4 @@ var Search = {

$(document).ready(function() {
Search.init();
});
});
2 changes: 1 addition & 1 deletion python/plugins/sextante/help/_static/websupport.js
Expand Up @@ -2,7 +2,7 @@
* websupport.js
* ~~~~~~~~~~~~~
*
* sphinx.websupport utilties for all documentation.
* sphinx.websupport utilities for all documentation.
*
* :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/sextante/pymorph/html/index.html
Expand Up @@ -68,7 +68,7 @@ <h2 class="index">Description</h2>
toolbox implementations".
</blockquote>
</p>
<p> As the fuctions are written in pure Python, some functions are
<p> As the functions are written in pure Python, some functions are
not very efficient and may take very long to process. In this case, it
is possible to use a professional version available at
<a href="http://www.mmorph.com/pymorphpro">http://www.mmorph.com/pymorphpro</a>
Expand Down Expand Up @@ -138,4 +138,4 @@ <h2 class="index">On-line Documentation</h2>
</table>
</center>
</body>
</html>
</html>
Expand Up @@ -307,7 +307,7 @@ <H3>Select only the narrow region (small area)</H3>
</div>
</div>
<div class="slide">
<H3>Area measurement and ploting</H3>
<H3>Area measurement and plotting</H3>
<div class="H3">
<p>
<p>
Expand Down Expand Up @@ -360,4 +360,4 @@ <H3>Area measurement and ploting</H3>
</table>
</center>
</body>
</html>
</html>
8 changes: 4 additions & 4 deletions python/plugins/sextante/pymorph/mmorph.py
Expand Up @@ -630,7 +630,7 @@ def overlay(X, red=None, green=None, blue=None, magenta=None, yellow=None, cyan=
"""
Y = overlay(X, red=None, green=None, blue=None, magenta=None, yellow=None, cyan=None)
Apply binary overlays as colour layers on a binary or gray-scale image
Apply binary overlays as color layers on a binary or gray-scale image
Parameters
----------
Expand Down Expand Up @@ -4273,7 +4273,7 @@ def to_gray(f):
"""
g = to_gray(f)
Transform (possibly colour) image to gray image.
Transform (possibly color) image to gray image.
If input file is a color RGB image, it is converted to gray-scale using the
equation:
Expand All @@ -4283,7 +4283,7 @@ def to_gray(f):
Parameters
----------
f : ndarray of shape HxWx3
colour image.
color image.
Returns
-------
Expand All @@ -4294,7 +4294,7 @@ def to_gray(f):
if len(f.shape) == 2:
return f
if len(f.shape) != 3:
raise ValueError, 'pymorph.to_gray: can only handle gray and colour images'
raise ValueError, 'pymorph.to_gray: can only handle gray and color images'
r = f[:,:,0]
g = f[:,:,1]
b = f[:,:,2]
Expand Down
Expand Up @@ -36,7 +36,7 @@ <h2>Parameters</h2>
<dt>Time Span [h] <div class='type'>Value range</div></dt><dd>Time span used for the calculation of daily radiation sums. <div class='constraints'>Minimum: 1.39579710889e-316; Maximum: 1.395734659e-316</div></dd>
<dt>Time Resolution [h]: Day <div class='type'>Floating point</div></dt><dd>Time step size for a day's calculation given in hours. <div class='constraints'>Maximum: 24.0</div></dd>
<dt>Time Resolution [d]: Range of Days <div class='type'>Integer</div></dt><dd>Time step size for a range of days calculation given in days. <div class='constraints'>Minimum: 1.0</div></dd>
<dt>Update <div class='type'>Choice</div></dt><dd>show direct insolation for each time step. <div class='constraints'>Available choices: do not update, update, colour stretch for each time step, update, fixed colour stretch</div></dd>
<dt>Update <div class='type'>Choice</div></dt><dd>show direct insolation for each time step. <div class='constraints'>Available choices: do not update, update, color stretch for each time step, update, fixed color stretch</div></dd>
<dt>Day of Year <div class='type'>Node</div></dt><dd> <div class='constraints'></div></dd>
<dt>Day of Month <div class='type'>Choice</div></dt><dd> <div class='constraints'>Available choices: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31</div></dd>
<dt>Month <div class='type'>Choice</div></dt><dd> <div class='constraints'>Available choices: January, February, March, April, May, June, July, August, September, October, November, December</div></dd>
Expand Down
1 change: 1 addition & 0 deletions scripts/spelling.dat
Expand Up @@ -53,6 +53,7 @@ persistant:persistent
developement:development
necesary:necessary
recieved:received
retrun:return
ressize:resize
assigment:assignment
automatizes:automates
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsdataitem.h
Expand Up @@ -314,7 +314,7 @@ class CORE_EXPORT QgsZipItem : public QgsDataCollectionItem
QVector<QgsDataItem*> createChildren();
const QStringList & getZipFileList();

//! @note not avialable via python bindings
//! @note not available via python bindings
static QVector<dataItem_t *> mDataItemPtr;
static QStringList mProviderNames;

Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsprojectfiletransform.cpp
Expand Up @@ -538,7 +538,7 @@ void QgsProjectFileTransform::convertRasterProperties( QDomDocument& doc, QDomNo
QDomElement& rasterPropertiesElem, QgsRasterLayer* rlayer )
{
//no data
//TODO: We would need to set no data on all bands, but we dont know number of bands here
//TODO: We would need to set no data on all bands, but we don't know number of bands here
QDomNode noDataNode = rasterPropertiesElem.namedItem( "mNoDataValue" );
QDomElement noDataElement = noDataNode.toElement();
if ( !noDataElement.text().isEmpty() )
Expand Down
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgsfillsymbollayerv2.cpp
Expand Up @@ -83,7 +83,7 @@ void QgsSimpleFillSymbolLayerV2::startRender( QgsSymbolV2RenderContext& context
QColor selPenColor = selColor == mColor ? selColor : mBorderColor;
if ( ! selectionIsOpaque ) selColor.setAlphaF( context.alpha() );
mSelBrush = QBrush( selColor );
// N.B. unless a "selection line colour" is implemented in addition to the "selection colour" option
// N.B. unless a "selection line color" is implemented in addition to the "selection color" option
// this would mean symbols with "no fill" look the same whether or not they are selected
if ( selectFillStyle )
mSelBrush.setStyle( mBrushStyle );
Expand Down
4 changes: 2 additions & 2 deletions src/core/symbology-ng/qgsstylev2.h
Expand Up @@ -213,7 +213,7 @@ class CORE_EXPORT QgsStyleV2
*/
QStringList symbolsWithTag( StyleEntity type, int tagid );

//! applies the specifed group to the symbol or colorramp specified by StyleEntity
//! applies the specified group to the symbol or colorramp specified by StyleEntity
/*!
* \param type is either SymbolEntity of ColorrampEntity
* \param name is the name of the symbol or coloramp whose group is to be set
Expand Down Expand Up @@ -339,7 +339,7 @@ class CORE_EXPORT QgsStyleV2

//! updates the properties of an existing symbol/colorramp
/*!
* \note This should not be called seperately, only called through addSymbol or addColorRamp
* \note This should not be called separately, only called through addSymbol or addColorRamp
* \param type is either SymbolEntity or ColorrampEntity
* \param name is the name of an existing symbol or a color ramp
* \return Success state of the update operation
Expand Down

0 comments on commit 60ab4b3

Please sign in to comment.