Skip to content
Permalink
Browse files

Typos

Found via `codespell`
  • Loading branch information
luzpaz authored and nyalldawson committed Mar 19, 2018
1 parent 51a1564 commit f01bff25acbab6ee751ee5aadc5191286bd98aca
@@ -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
@@ -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
@@ -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;
@@ -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 );
@@ -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; }
@@ -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.
@@ -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;
@@ -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
*
@@ -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
@@ -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;
@@ -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;
@@ -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
#######################################################################################################
@@ -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 );
@@ -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;
@@ -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:
@@ -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>
@@ -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>
@@ -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>
@@ -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>

0 comments on commit f01bff2

Please sign in to comment.
You can’t perform that action at this time.