Skip to content

Commit 4493461

Browse files
authored
Merge pull request #3920 from DelazJ/fixtypos
Fix more typos
2 parents 5e87155 + 2b93713 commit 4493461

23 files changed

Lines changed: 44 additions & 37 deletions

‎doc/api_break.dox‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ Renamed Classes {#qgis_api_break_3_0_renamed_classes}
202202
<tr><td>QgsApplication<td>userStyleV2Path<td>userStylePath
203203
<tr><td>QgsComposerShape<td>setUseSymbolV2<td>setUseSymbol
204204
<tr><td>QgsIFeatureSelectionManager<td>selectedFeaturesIds<td>selectedFeatureIds
205+
<tr><td>QgsMapLayer<td>capitaliseLayerName<td>capitalizeLayerName
205206
<tr><td>QgsSymbolLayerUtils<td>createSymbolLayerV2ListFromSld<td>createSymbolLayerListFromSld
206207
<tr><td>QgsVectorLayer<td>editorWidgetV2Config<td>editorWidgetConfig
207208
<tr><td>QgsVectorLayer<td>editorWidgetV2Text<td>editorWidgetText
@@ -309,7 +310,7 @@ Data Providers {#qgis_api_break_3_0_DataProviders}
309310
Qgis {#qgis_api_break_3_0_Qgis}
310311
----
311312

312-
- The QGis class was renamed to Qgis for capitalisation consistency with other class names
313+
- The QGis class was renamed to Qgis for capitalization consistency with other class names
313314
- permissiveToDouble() and permissiveToInt() where moved out of the QGis class and renamed to qgsPermissiveToDouble() and
314315
qgsPermissiveToInt()
315316
- The constants DEFAULT_IDENTIFY_RADIUS and MINIMUM_POINT_SIZE were removed
@@ -1130,6 +1131,7 @@ screenUpdateRequested() were removed. These members have had no effect for a num
11301131
- drawLabels() method was removed. It used old deprecated labeling. Replaced by labeling based on PAL library, see QgsLabelingEngine.
11311132
- readLayerXML() was renamed to readLayerXml()
11321133
- writeLayerXML() was renamed to writeLayerXml()
1134+
- capitaliseLayerName() was renamed to capitalizeLayerName()
11331135

11341136

11351137
QgsMapLayerRegistry {#qgis_api_break_3_0_QgsMapLayerRegistry}

‎python/core/effects/qgspainteffect.sip‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ class QgsPaintEffect
245245
*
246246
* The draw source effect can be used to draw an unaltered copy of the original source
247247
* picture. Minor changes like lowering the opacity and applying a blend mode are
248-
* supported, however these changes will force the resultant output to be rasterised.
248+
* supported, however these changes will force the resultant output to be rasterized.
249249
* If no alterations are performed then the original picture will be rendered as a vector.
250250
*
251251
* \note Added in version 2.9

‎python/core/qgsmaplayer.sip‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,8 @@ class QgsMapLayer : QObject
395395
/** Sets layer's spatial reference system */
396396
void setCrs( const QgsCoordinateReferenceSystem& srs, bool emitSignal = true );
397397

398-
/** A convenience function to (un)capitalise the layer name */
399-
static QString capitaliseLayerName( const QString& name );
398+
/** A convenience function to (un)capitalize the layer name */
399+
static QString capitalizeLayerName( const QString& name );
400400

401401
/** Retrieve the style URI for this layer
402402
* (either as a .qml file on disk or as a

‎scripts/spelling.dat‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ calender:calendar
9292
cancelation:cancellation
9393
capabilites:capabilities
9494
capatibilities:capabilities
95+
capitalise:capitalize
9596
cariage:carriage
9697
centimetre:centimeter
9798
centimetres:centimeters
@@ -248,6 +249,7 @@ integreated:integrated
248249
integrety:integrity
249250
integrey:integrity
250251
intendet:intended
252+
interactivly:interactively
251253
interchangable:interchangeable
252254
intermittant:intermittent
253255
intersecton:intersection
@@ -258,6 +260,7 @@ jave:java
258260
kilometre:kilometer
259261
kilometres:kilometers
260262
labelling:labeling
263+
labour:labor
261264
langage:language
262265
langauage:language
263266
langugage:language
@@ -288,6 +291,7 @@ microprocesspr:microprocessor
288291
millimetre:millimeter
289292
millimetres:millimeters
290293
milliseonds:milliseconds
294+
minimise:minimize
291295
miscelleneous:miscellaneous
292296
misformed:malformed
293297
mispelled:misspelled
@@ -384,6 +388,7 @@ protecion:protection
384388
protocoll:protocol
385389
psychadelic:psychedelic
386390
quering:querying
391+
rasterise:rasterize
387392
recieve:receive
388393
recieved:received
389394
reciever:receiver

‎src/app/composer/qgscomposer.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ void QgsComposer::changeEvent( QEvent* event )
878878
#endif
879879
case QEvent::WindowStateChange:
880880
{
881-
/* Listen out for window un-minimisation and restore composer map states.
881+
/* Listen out for window un-minimization and restore composer map states.
882882
* We can't use showEvent to detect this due to QT Bug 36675 (see #6085).
883883
*/
884884
QWindowStateChangeEvent* changeEv = static_cast< QWindowStateChangeEvent* >( event );
@@ -3471,7 +3471,7 @@ void QgsComposer::writeXml( QDomNode& parentNode, QDomDocument& doc )
34713471
QDomElement composerElem = doc.createElement( QStringLiteral( "Composer" ) );
34723472
composerElem.setAttribute( QStringLiteral( "title" ), mTitle );
34733473

3474-
//change preview mode of minimised / hidden maps before saving XML (show contents only on demand)
3474+
//change preview mode of minimized / hidden maps before saving XML (show contents only on demand)
34753475
QMap< QgsComposerMap*, int >::const_iterator mapIt = mMapsToRestore.constBegin();
34763476
for ( ; mapIt != mMapsToRestore.constEnd(); ++mapIt )
34773477
{

‎src/app/gps/qgsgpsinformationwidget.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ void QgsGPSInformationWidget::displayGPSInformation( const QgsGPSInformation& in
703703
QgsRectangle myExtentLimit( mpCanvas->extent() );
704704
myExtentLimit.scale( mSpinMapExtentMultiplier->value() * 0.01 );
705705

706-
// only change the extents if the point is beyond the current extents to minimise repaints
706+
// only change the extents if the point is beyond the current extents to minimize repaints
707707
if ( radRecenterMap->isChecked() ||
708708
( radRecenterWhenNeeded->isChecked() && !myExtentLimit.contains( myPoint ) ) )
709709
{

‎src/app/qgisapp.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9118,7 +9118,7 @@ void QgisApp::showOptionsDialog( QWidget *parent, const QString& currentPage )
91189118
QSettings mySettings;
91199119
QString oldScales = mySettings.value( QStringLiteral( "Map/scales" ), PROJECT_SCALES ).toString();
91209120

9121-
bool oldCapitalise = mySettings.value( QStringLiteral( "/qgis/capitaliseLayerName" ), QVariant( false ) ).toBool();
9121+
bool oldCapitalize = mySettings.value( QStringLiteral( "/qgis/capitalizeLayerName" ), QVariant( false ) ).toBool();
91229122

91239123
QgsOptions *optionsDialog = new QgsOptions( parent );
91249124
if ( !currentPage.isEmpty() )
@@ -9143,7 +9143,7 @@ void QgisApp::showOptionsDialog( QWidget *parent, const QString& currentPage )
91439143

91449144
mMapCanvas->setMapUpdateInterval( mySettings.value( QStringLiteral( "/qgis/map_update_interval" ), 250 ).toInt() );
91459145

9146-
if ( oldCapitalise != mySettings.value( QStringLiteral( "/qgis/capitaliseLayerName" ), QVariant( false ) ).toBool() )
9146+
if ( oldCapitalize != mySettings.value( QStringLiteral( "/qgis/capitalizeLayerName" ), QVariant( false ) ).toBool() )
91479147
{
91489148
// if the layer capitalization has changed, we need to update all layer names
91499149
Q_FOREACH ( QgsMapLayer* layer, QgsProject::instance()->mapLayers() )

‎src/app/qgsoptions.cpp‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl )
693693
pbnMeasureColor->setContext( QStringLiteral( "gui" ) );
694694
pbnMeasureColor->setDefaultColor( QColor( 222, 155, 67 ) );
695695

696-
capitaliseCheckBox->setChecked( mSettings->value( QStringLiteral( "/qgis/capitaliseLayerName" ), QVariant( false ) ).toBool() );
696+
capitalizeCheckBox->setChecked( mSettings->value( QStringLiteral( "/qgis/capitalizeLayerName" ), QVariant( false ) ).toBool() );
697697

698698
int projOpen = mSettings->value( QStringLiteral( "/qgis/projOpenAtLaunch" ), 0 ).toInt();
699699
mProjectOnLaunchCmbBx->setCurrentIndex( projOpen );
@@ -1185,8 +1185,8 @@ void QgsOptions::saveOptions()
11851185

11861186
mSettings->setValue( QStringLiteral( "/qgis/map_update_interval" ), spinMapUpdateInterval->value() );
11871187
mSettings->setValue( QStringLiteral( "/qgis/legendDoubleClickAction" ), cmbLegendDoubleClickAction->currentIndex() );
1188-
bool legendLayersCapitalise = mSettings->value( QStringLiteral( "/qgis/capitaliseLayerName" ), false ).toBool();
1189-
mSettings->setValue( QStringLiteral( "/qgis/capitaliseLayerName" ), capitaliseCheckBox->isChecked() );
1188+
bool legendLayersCapitalize = mSettings->value( QStringLiteral( "/qgis/capitalizeLayerName" ), false ).toBool();
1189+
mSettings->setValue( QStringLiteral( "/qgis/capitalizeLayerName" ), capitalizeCheckBox->isChecked() );
11901190

11911191
// Default simplify drawing configuration
11921192
QgsVectorSimplifyMethod::SimplifyHints simplifyHints = QgsVectorSimplifyMethod::NoSimplification;
@@ -1440,7 +1440,7 @@ void QgsOptions::saveOptions()
14401440
// refresh legend if any legend item's state is to be changed
14411441
if ( legendLayersBold != mLegendLayersBoldChkBx->isChecked()
14421442
|| legendGroupsBold != mLegendGroupsBoldChkBx->isChecked()
1443-
|| legendLayersCapitalise != capitaliseCheckBox->isChecked() )
1443+
|| legendLayersCapitalize != capitalizeCheckBox->isChecked() )
14441444
{
14451445
// TODO[MD] QgisApp::instance()->legend()->updateLegendItemStyles();
14461446
}

‎src/app/qgsrasterlayerproperties.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ void QgsRasterLayerProperties::apply()
10071007

10081008
void QgsRasterLayerProperties::on_mLayerOrigNameLineEd_textEdited( const QString& text )
10091009
{
1010-
leDisplayName->setText( mRasterLayer->capitaliseLayerName( text ) );
1010+
leDisplayName->setText( mRasterLayer->capitalizeLayerName( text ) );
10111011
}
10121012

10131013
void QgsRasterLayerProperties::on_buttonBuildPyramids_clicked()

‎src/app/qgssponsors.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ QgsSponsors::QgsSponsors( QWidget *parent )
3232
init();
3333
QString intro = tr( "<p>We work really hard to make this nice software for you. "
3434
"See all the cool features it has? Get a warm fuzzy feeling when you use it? "
35-
"QGIS is a labour of love by a dedicated team of developers. We want you to copy "
35+
"QGIS is a labor of love by a dedicated team of developers. We want you to copy "
3636
"&amp; share it and put it in the hands of as many people as possible. If QGIS "
3737
"is saving you money or you like our work and have the financial ability to "
3838
"help, please consider sponsoring the development of QGIS. We use money from "

0 commit comments

Comments
 (0)