Skip to content

Commit

Permalink
spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 26, 2015
1 parent 644bdf0 commit b165875
Show file tree
Hide file tree
Showing 19 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion cmake/modules/ECMQt4To5Porting.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#=============================================================================

# The automoc_qt4 macro is superceded by CMAKE_AUTOMOC from CMake 2.8.6
# The automoc_qt4 macro is superceeded by CMAKE_AUTOMOC from CMake 2.8.6
# A Qt 5 version is not provided by CMake or Qt.

include(MacroAddFileDependencies)
Expand Down
2 changes: 1 addition & 1 deletion python/analysis/raster/qgsrastercalculator.sip
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class QgsRasterCalculator
* @param formulaString formula for raster calculation
* @param outputFile output file path
* @param outputFormat output file format
* @param outputExtent output extent, CRS is specifed by outputCrs parameter
* @param outputExtent output extent, CRS is specified by outputCrs parameter
* @param outputCrs destination CRS for output raster
* @param nOutputColumns number of columns in output raster
* @param nOutputRows number of rows in output raster
Expand Down
2 changes: 1 addition & 1 deletion python/core/effects/qgseffectstack.sip
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class QgsEffectStack : QgsPaintEffect
*/
bool insertEffect( const int index, QgsPaintEffect* effect /Transfer/);

/** Replaces the effect at a speficied position within the stack.
/** Replaces the effect at a specified position within the stack.
* @param index position of effect to replace
* @param effect QgsPaintEffect to replace with. Ownership of the effect will be
* transferred to the stack object.
Expand Down
4 changes: 2 additions & 2 deletions python/gui/qgshistogramwidget.sip
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ class QgsHistogramWidget : QWidget
*/
QBrush brush() const;

/** Sets the graduated ranges associated with the histogram. If set, the ranges will be used to colour the histogram
/** Sets the graduated ranges associated with the histogram. If set, the ranges will be used to color the histogram
* bars and for showing vertical dividers at the histogram breaks.
* @param ranges graduated range list
*/
void setGraduatedRanges( const QgsRangeList& ranges );

/** Returns the graduated ranges associated with the histogram. If set, the ranges will be used to colour the histogram
/** Returns the graduated ranges associated with the histogram. If set, the ranges will be used to color the histogram
* bars and for showing vertical dividers at the histogram breaks.
* @returns graduated range list
* @see setGraduatedRanges
Expand Down
10 changes: 5 additions & 5 deletions python/plugins/db_manager/db_plugins/oracle/TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
* Create view button.
* Spatial Index tab (find if can be activated: no because Oracle use spatial index internally).
* Can't open query builder.
* Modify dictionnary to add math/string/aggregates functions/operators.
* Modify dictionary to add math/string/aggregates functions/operators.
* Can't open column values from query builder.
* GEOM columns are not retrieved. (Done: don't grab them, just use GEOMETRY string instead to speed columns population)
* Can't open a query in QGis.
Expand Down Expand Up @@ -124,7 +124,7 @@
* For rows estimation: use a query to scan nb_rows in object !
* Refresh on the fly data that are not stored in cache (comments/table type/row counts).
* Bad comparison between metadata extent and calculated extent (was format syntax).
* If user can't udpate metadata, dont pull the link for update action.
* If user can't udpate metadata, don't pull the link for update action.
* Can't update metadata extent: find if table is in USER_SDO_GEOM_METADATA.
* Print QGis Geometry Type in string instead of int.

Expand All @@ -134,10 +134,10 @@

* Indexes:
* Add rebuild index action for indexes.
* Add more informations: Compression/Valid/Last analyzed/ityp_name.
* Add more information: Compression/Valid/Last analyzed/ityp_name.

* Refresh:
* Make getTables and getVectorTables functions retrieve less informations and manage them on the fly.
* Make getTables and getVectorTables functions retrieve less information and manage them on the fly.
* Refreshing a schema refresh only the schema, not the whole connection.
* Still problems with refreshing (QPyNullVariant for detectedSrid).
* Mark views as views.
Expand All @@ -156,7 +156,7 @@
* retrieve definition.
* unitary comments retrieving.
* Primary key mask.
* Refreshing informations.
* Refreshing information.
* Action to refresh the mview.
* View/MView definition is not interpreted as Html anymore.

Expand Down
10 changes: 5 additions & 5 deletions python/plugins/db_manager/db_plugins/oracle/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ def getTableIndexes(self, table):
return res

def getMViewInfo(self, table):
"""Find some informations about materialized views"""
"""Find some information about materialized views"""
schema, tablename = self.getSchemaTableName(table)
where = u" AND a.OWNER = {} ".format(
self.quoteString(schema)) if schema else u""
Expand All @@ -959,7 +959,7 @@ def getMViewInfo(self, table):
return res

def getTableConstraints(self, table):
"""Find all the contraints for a table."""
"""Find all the constraints for a table."""
schema, tablename = self.getSchemaTableName(table)
schema_where = u" AND c.OWNER={} ".format(
self.quoteString(schema)) if schema else u""
Expand Down Expand Up @@ -1279,7 +1279,7 @@ def createSpatialView(self, view, query):
# Calculate the extent
extent = self.getTableExtent(view, geoCol)

# Insert informations into metadata table
# Insert information into metadata table
self.insertMetadata(view, geoCol, extent, srids[0])

return True
Expand Down Expand Up @@ -1454,7 +1454,7 @@ def deleteMetadata(self, table, geom_column=None):

def updateMetadata(self, table, geom_column, new_geom_column=None,
new_table=None, extent=None, srid=None):
"""update the metadata table with the new informations"""
"""update the metadata table with the new information"""

schema, tablename = self.getSchemaTableName(table)
if not (self.getRawTablePrivileges('USER_SDO_GEOM_METADATA',
Expand Down Expand Up @@ -1694,7 +1694,7 @@ def getQueryBuilderDictionary(self):
return getQueryBuilderDictionary()

def getSqlDictionary(self):
"""Returns the dictionnary for SQL dialog."""
"""Returns the dictionary for SQL dialog."""
from .sql_dictionary import getSqlDictionary
sql_dict = getSqlDictionary()

Expand Down
4 changes: 2 additions & 2 deletions python/plugins/db_manager/db_plugins/oracle/info_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,14 +470,14 @@ def getTableInfo(self):
HtmlSection(
QApplication.translate(
"DBManagerPlugin",
'Materialized View informations'),
'Materialized View information'),
mview_info))

return ret

def getMViewInfo(self):
"""If the table is a materialized view, grab more
informations...
information...
"""
ret = []
tbl = []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ v.split.length - Split lines to shorter segments by length.
Vector (v.*)
ParameterVector|input|Input lines layer|1|False
ParameterNumber|length|Maximum segment length|None|None|10.0
OutputVector|output|Splitted by legth
OutputVector|output|Split by length
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ v.split.vert - Split lines to shorter segments by max number of vertices.
Vector (v.*)
ParameterVector|input|Input lines layer|1|False
ParameterNumber|vertices|Maximum number of vertices in segment|None|None|10
OutputVector|output|Splitted by vertices
OutputVector|output|Split by vertices
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ v.split.length - Split lines to shorter segments by length.
Vector (v.*)
ParameterVector|input|Input lines layer|1|False
ParameterNumber|length|Maximum segment length|None|None|10.0
OutputVector|output|Splitted by length
OutputVector|output|Split by length
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ v.split.vert - Split lines to shorter segments by max number of vertices.
Vector (v.*)
ParameterVector|input|Input lines layer|1|False
ParameterNumber|vertices|Maximum number of vertices in segment|None|None|10
OutputVector|output|Splitted by vertices
OutputVector|output|Split by vertices
8 changes: 4 additions & 4 deletions python/plugins/processing/algs/qgis/Datasources2Vrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ class Datasources2Vrt(GeoAlgorithm):
""" This algorithm merge the layers of different data sources in
a single vrt file
This algo is expecially useful in case an algo need multiple layers
but accept only one vrt in wich the layers are specified
This algo is especially useful in case an algo need multiple layers
but accept only one vrt in which the layers are specified
"""

# Constants used to refer to parameters and outputs.
Expand Down Expand Up @@ -124,15 +124,15 @@ def processAlgorithm(self, progress):

#######################################################
# function to do the work
# fuction so it can be included in other code
# function so it can be included in other code
# IT NOT POSSIBILE TO ADD THIS FUNCTION AS Datasources2Vrt
# CLASS METHOD => SET AS SIMPLE FUNCTION
#######################################################
def mergeDataSources2Vrt(data_sources=[],
outfile=None,
relative=False,
schema=False,
progress=None): # progress is pased because of avoid interferences with GeoAlgorithm
progress=None): # progress is passed because of avoid interferences with GeoAlgorithm
'''Function to do the work of merging datasources in a single vrt format
@param data_sources: Array of path strings
Expand Down
4 changes: 2 additions & 2 deletions rpm/qgis.spec.template
Original file line number Diff line number Diff line change
Expand Up @@ -910,12 +910,12 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
- fixing Requires statements for sub-packages

* Tue May 15 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.0-2
- added devel dependancy on qgis
- added devel dependency on qgis
- moved qgis-config to devel package
- moving doc directory
- removed zero-length NEWS doc
- added postin/postun ldconfig calls
- split packages up to reduce package size and split out dependancies
- split packages up to reduce package size and split out dependencies
grass, theme-nkids

* Mon May 14 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.0-1
Expand Down
1 change: 1 addition & 0 deletions scripts/spelling.dat
Original file line number Diff line number Diff line change
Expand Up @@ -473,3 +473,4 @@ an other:another
swaped:swapped
stoped:stopped
tranform:transform
wich:which
17 changes: 8 additions & 9 deletions src/analysis/raster/qgsrastercalculator.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ struct ANALYSIS_EXPORT QgsRasterCalculatorEntry
int bandNumber; //raster band number
};

/**Raster calculator class*/
/** Raster calculator class*/
class ANALYSIS_EXPORT QgsRasterCalculator
{
public:
Expand Down Expand Up @@ -67,10 +67,9 @@ class ANALYSIS_EXPORT QgsRasterCalculator
QgsRasterCalculator( const QString& formulaString, const QString& outputFile, const QString& outputFormat,
const QgsRectangle& outputExtent, const QgsCoordinateReferenceSystem& outputCrs, int nOutputColumns, int nOutputRows, const QVector<QgsRasterCalculatorEntry>& rasterEntries );


~QgsRasterCalculator();

/**Starts the calculation and writes new raster
/** Starts the calculation and writes new raster
@param p progress bar (or 0 if called from non-gui code)
@return 0 in case of success*/
int processCalculation( QProgressDialog* p = 0 );
Expand All @@ -79,29 +78,29 @@ class ANALYSIS_EXPORT QgsRasterCalculator
//default constructor forbidden. We need formula, output file, output format and output raster resolution obligatory
QgsRasterCalculator();

/**Opens the output driver and tests if it supports the creation of a new dataset
/** Opens the output driver and tests if it supports the creation of a new dataset
@return NULL on error and the driver handle on success*/
GDALDriverH openOutputDriver();

/**Opens the output file and sets the same geotransform and CRS as the input data
/** Opens the output file and sets the same geotransform and CRS as the input data
@return the output dataset or NULL in case of error*/
GDALDatasetH openOutputFile( GDALDriverH outputDriver );

/**Sets gdal 6 parameters array from mOutputRectangle, mNumOutputColumns, mNumOutputRows
/** Sets gdal 6 parameters array from mOutputRectangle, mNumOutputColumns, mNumOutputRows
@param transform double[6] array that receives the GDAL parameters*/
void outputGeoTransform( double* transform ) const;

QString mFormulaString;
QString mOutputFile;
QString mOutputFormat;

/**Output raster extent*/
/** Output raster extent*/
QgsRectangle mOutputRectangle;
QgsCoordinateReferenceSystem mOutputCrs;

/**Number of output columns*/
/** Number of output columns*/
int mNumOutputColumns;
/**Number of output rows*/
/** Number of output rows*/
int mNumOutputRows;

/***/
Expand Down
6 changes: 3 additions & 3 deletions src/app/qgsoptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl ) :
QString proxyExcludedURLs = settings.value( "proxy/proxyExcludedUrls", "" ).toString();
if ( !proxyExcludedURLs.isEmpty() )
{
QStringList splittedUrls = proxyExcludedURLs.split( "|" );
QStringList::const_iterator urlIt = splittedUrls.constBegin();
for ( ; urlIt != splittedUrls.constEnd(); ++urlIt )
QStringList splitUrls = proxyExcludedURLs.split( "|" );
QStringList::const_iterator urlIt = splitUrls.constBegin();
for ( ; urlIt != splitUrls.constEnd(); ++urlIt )
{
QListWidgetItem* newItem = new QListWidgetItem( mExcludeUrlListWidget );
newItem->setText( *urlIt );
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsstringutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class CORE_EXPORT QgsStringUtils
* @param string1 first string
* @param string2 second string
* @param caseSensitive set to true for case sensitive comparison
* @returns edit distance. Lower distances indicate more similiar strings.
* @returns edit distance. Lower distances indicate more similar strings.
*/
static int levenshteinDistance( const QString &string1, const QString &string2, bool caseSensitive = false );

Expand Down
2 changes: 1 addition & 1 deletion src/providers/grass/qgsgrass.h
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ class GRASS_LIB_EXPORT QgsGrass : public QObject
static void sleep( int ms );

signals:
/** Signal emited after mapset was opened */
/** Signal emitted after mapset was opened */
void mapsetChanged();

/** Emitted when path to modules config dir changed */
Expand Down
2 changes: 1 addition & 1 deletion src/server/qgsserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ void QgsServer::printRequestParameters( const QMap< QString, QString>& parameter
}

/**
* @brief QgsServer::printRequestInfos prints debug informations about the request
* @brief QgsServer::printRequestInfos prints debug information about the request
*/
void QgsServer::printRequestInfos()
{
Expand Down

0 comments on commit b165875

Please sign in to comment.