Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
Found via `codespell`
  • Loading branch information
luzpaz authored and nyalldawson committed May 7, 2018
1 parent 51a1564 commit f01bff2
Show file tree
Hide file tree
Showing 16 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion python/pyplugin_installer/installer_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ def getAllInstalled(self):
pluginPaths.reverse()

for pluginsPath in pluginPaths:
isTheSystemDir = (pluginPaths.index(pluginsPath) == 0) # The curent dir is the system plugins dir
isTheSystemDir = (pluginPaths.index(pluginsPath) == 0) # The current dir is the system plugins dir
if isTheSystemDir:
# temporarily add the system path as the first element to force loading the readonly plugins, even if masked by user ones.
sys.path = [pluginsPath] + sys.path
Expand Down
2 changes: 1 addition & 1 deletion src/analysis/raster/qgsrastercalcparser.yy
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
extern char* rastertext;
extern void set_raster_input_buffer(const char* buffer);

//! varible where the parser error will be stored
//! variable where the parser error will be stored
QString rParserErrorMsg;

//! sets gParserErrorMsg
Expand Down
2 changes: 1 addition & 1 deletion src/core/auth/qgsauthmanager.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class CORE_EXPORT QgsAuthManager : public QObject
* they forgot their password.
* The created schedule timer will emit a request to gain access to the user,
* through the given application, to prompt the erase operation (e.g. via a dialog);
* if no access to user interaction occurs wihtin 90 seconds, it cancels the schedule.
* if no access to user interaction occurs within 90 seconds, it cancels the schedule.
* \note not available in Python bindings
*/
void setScheduledAuthDatabaseErase( bool scheduleErase ) SIP_SKIP;
Expand Down
2 changes: 1 addition & 1 deletion src/core/layout/qgslayoutitemscalebar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ void QgsLayoutItemScaleBar::refreshSegmentMillimeters()

// Start with coarsest "nice" number closest to minUnitsPerSeg resp
// maxUnitsPerSeg, then proceed to finer numbers as long as neither
// lowerNiceUnitsPerSeg nor upperNiceUnitsPerSeg are are in
// lowerNiceUnitsPerSeg nor upperNiceUnitsPerSeg are in
// [minUnitsPerSeg, maxUnitsPerSeg]
double lowerNiceUnitsPerSeg = nextNiceNumber( minUnitsPerSeg );
double upperNiceUnitsPerSeg = prevNiceNumber( maxUnitsPerSeg );
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsconditionalstyle.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class CORE_EXPORT QgsConditionalStyle
void setTextColor( const QColor &value ) { mTextColor = value; mValid = true; }

/**
* \brief Set the font for the the style
* \brief Set the font for the style
* \param value QFont to be used for text
*/
void setFont( const QFont &value ) { mFont = value; mValid = true; }
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgscoordinatetransformcontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class CORE_EXPORT QgsCoordinateTransformContext

/**
* Adds a new \a sourceTransform and \a destinationTransform to use when projecting coordinates
* from the the specified \a sourceCrs to the specified \a destinationCrs.
* from the specified \a sourceCrs to the specified \a destinationCrs.
*
* If either \a sourceTransformId or \a destinationTransformId is -1, then no datum transform is
* required for transformations for that source or destination.
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgssqlstatementparser.yy
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ struct sqlstatement_parser_context
// lexer context
yyscan_t flex_scanner;

// varible where the parser error will be stored
// variable where the parser error will be stored
QString errorMsg;
// root node of the sqlstatement
QgsSQLStatement::NodeSelect* rootNode;
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayerjoinbuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class CORE_EXPORT QgsVectorLayerJoinBuffer : public QObject, public QgsFeatureSi

/**
* Deletes a list of features from joined layers. Feature ids given
* in aprameter are those coming from the target layer.
* in a parameter are those coming from the target layer.
*
* \param fids Feature ids from the target layer to delete
*
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsdetaileditemdata.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***************************************************************************
qgsdetailedlistdata.cpp - A data represenation for a rich QItemData subclass
qgsdetailedlistdata.cpp - A data representation for a rich QItemData subclass
-------------------
begin : Sat May 17 2008
copyright : (C) 2008 Tim Sutton
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsmapcanvas.h
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
bool renderFlag() const { return mRenderFlag; }

/**
* Convience function for returning the current canvas map units. The map units
* Convenience function for returning the current canvas map units. The map units
* are dictated by the canvas' destinationCrs() map units.
*/
QgsUnitTypes::DistanceUnit mapUnits() const;
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsmapcanvasannotationitem.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class GUI_EXPORT QgsMapCanvasAnnotationItem: public QObject, public QgsMapCanvas
//! Draws selection handles around the item
void drawSelectionBoxes( QPainter *p ) const;

//! Returns the symbol size scaled in (mapcanvas) pixels. Used for the counding rect calculation
//! Returns the symbol size scaled in (mapcanvas) pixels. Used for the counting rect calculation
double scaledSymbolSize() const;

QgsAnnotation *mAnnotation = nullptr;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/globe/CMakeModules/OsgEarthMacroUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ ENDMACRO(DETECT_OSG_VERSION)
# full path of the library name. in order to differentiate release and debug, this macro get the
# NAME of the variables, so the macro gets as arguments the target name and the following list of parameters
# is intended as a list of variable names each one containing the path of the libraries to link to
# The existence of a variable name with _DEBUG appended is tested and, in case it' s value is used
# The existence of a variable name with _DEBUG appended is tested and, in case it's value is used
# for linking to when in debug mode
# the content of this library for linking when in debugging
#######################################################################################################
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/topology/rulesDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class rulesDialog : public QDialog, private Ui::rulesDialog
*/
void projectRead();
/*
* Updates Rule combobox to mach first layer
* Updates Rule combobox to match first layer
* \param layerId layer ID
*/
void updateRuleItems( const QString &layerName );
Expand Down
4 changes: 2 additions & 2 deletions src/providers/grass/qgsgrassvectormap.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class GRASS_LIB_EXPORT QgsGrassVectorMap : public QObject
QgsGrassObject mGrassObject;
// true if map is open, once the map is closed, valid is set to false and no more used
bool mValid;
// Indicates if map is open, it may be open but invalide
// Indicates if map is open, it may be open but invalid
bool mOpen;
// Vector temporally disabled. Necessary for GRASS Tools on Windows
bool mFrozen;
Expand Down Expand Up @@ -238,7 +238,7 @@ class GRASS_LIB_EXPORT QgsGrassVectorMapStore
/**
* Open map.
* \param grassObject
* \returns map, the map may be invalide */
* \returns map, the map may be invalid */
QgsGrassVectorMap *openMap( const QgsGrassObject &grassObject );

private:
Expand Down
8 changes: 4 additions & 4 deletions src/ui/qgsrasterlayerpropertiesbase.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1633,10 +1633,10 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="QLineEdit" name="mLayerDataUrlLineEdit">
<property name="toolTip">
<string>An URL of the data presentation.</string>
<string>A URL of the data presentation.</string>
</property>
<property name="placeholderText">
<string>An URL of the data presentation.</string>
<string>A URL of the data presentation.</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -1903,10 +1903,10 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="QLineEdit" name="mLayerLegendUrlLineEdit">
<property name="toolTip">
<string>An URL of the legend image.</string>
<string>A URL of the legend image.</string>
</property>
<property name="placeholderText">
<string>An URL of the legend image.</string>
<string>A URL of the legend image.</string>
</property>
</widget>
</item>
Expand Down
8 changes: 4 additions & 4 deletions src/ui/qgsvectorlayerpropertiesbase.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1969,10 +1969,10 @@ border-radius: 2px;</string>
<item>
<widget class="QLineEdit" name="mLayerDataUrlLineEdit">
<property name="toolTip">
<string>An URL of the data presentation.</string>
<string>A URL of the data presentation.</string>
</property>
<property name="placeholderText">
<string>An URL of the data presentation.</string>
<string>A URL of the data presentation.</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -2242,10 +2242,10 @@ border-radius: 2px;</string>
<item>
<widget class="QLineEdit" name="mLayerLegendUrlLineEdit">
<property name="toolTip">
<string>An URL of the legend image.</string>
<string>A URL of the legend image.</string>
</property>
<property name="placeholderText">
<string>An URL of the legend image.</string>
<string>A URL of the legend image.</string>
</property>
</widget>
</item>
Expand Down

0 comments on commit f01bff2

Please sign in to comment.