Skip to content

Commit 4e7b055

Browse files
committed
small typo fixes for consistency
1 parent 2181cb6 commit 4e7b055

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

src/app/qgisapp.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2595,11 +2595,11 @@ void QgisApp::addMssqlLayer()
25952595
return;
25962596
}
25972597

2598-
// show the MS SQL dialog
2598+
// show the MSSQL dialog
25992599
QDialog *dbs = dynamic_cast<QDialog*>( QgsProviderRegistry::instance()->selectWidget( QString( "mssql" ), this ) );
26002600
if ( !dbs )
26012601
{
2602-
QMessageBox::warning( this, tr( "MSSQL" ), tr( "Cannot get MS SQL select dialog from provider." ) );
2602+
QMessageBox::warning( this, tr( "MSSQL" ), tr( "Cannot get MSSQL select dialog from provider." ) );
26032603
return;
26042604
}
26052605
connect( dbs , SIGNAL( addDatabaseLayers( QStringList const &, QString const & ) ),

src/providers/mssql/qgsmssqlprovider.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
#include "qgsmssqldataitems.h"
5050

5151
static const QString TEXT_PROVIDER_KEY = "mssql";
52-
static const QString TEXT_PROVIDER_DESCRIPTION = "MS SQL spatial data provider";
52+
static const QString TEXT_PROVIDER_DESCRIPTION = "MSSQL spatial data provider";
5353

5454
QgsMssqlProvider::QgsMssqlProvider( QString uri )
5555
: QgsVectorDataProvider( uri )
@@ -423,7 +423,7 @@ QVariant QgsMssqlProvider::defaultValue( int fieldId )
423423

424424
QString QgsMssqlProvider::storageType() const
425425
{
426-
return "MS SQL spatial database";
426+
return "MSSQL spatial database";
427427
}
428428

429429
bool QgsMssqlProvider::featureAtId( QgsFeatureId featureId,

src/providers/mssql/qgsmssqlsourceselect.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/***************************************************************************
22
qgsmssqlsourceselect.cpp
3-
Dialog to select MS SQL layer(s) and add it to the map canvas
3+
Dialog to select MSSQL layer(s) and add it to the map canvas
44
-------------------
55
begin : 2011-10-08
66
copyright : (C) 2011 by Tamas Szekeres
@@ -125,7 +125,7 @@ QgsMssqlSourceSelect::QgsMssqlSourceSelect( QWidget *parent, Qt::WFlags fl, bool
125125
{
126126
setupUi( this );
127127

128-
setWindowTitle( tr( "Add MS SQL Table(s)" ) );
128+
setWindowTitle( tr( "Add MSSQL Table(s)" ) );
129129

130130
if ( mEmbeddedMode )
131131
{

src/providers/mssql/qgsmssqlsourceselect.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ class QgsMssqlGeomColumnTypeThread : public QThread
8080

8181

8282
/*! \class QgsMssqlSourceSelect
83-
* \brief Dialog to create connections and add tables from MS SQL.
83+
* \brief Dialog to create connections and add tables from MSSQL.
8484
*
8585
* This dialog allows the user to define and save connection information
86-
* for MS SQL databases. The user can then connect and add
86+
* for MSSQL databases. The user can then connect and add
8787
* tables from the database to the map canvas.
8888
*/
8989
class QgsMssqlSourceSelect : public QDialog, private Ui::QgsDbSourceSelectBase

src/providers/postgres/qgspostgresprovider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ bool QgsPostgresProvider::loadFields()
11601160
}
11611161
else
11621162
{
1163-
QgsMessageLog::logMessage( tr( "Field %1 ignored, because of unsupported type type %2" ).arg( fieldName ).arg( fieldTType ), tr( "PostGIS" ) );
1163+
QgsMessageLog::logMessage( tr( "Field %1 ignored, because of unsupported type %2" ).arg( fieldName ).arg( fieldTType ), tr( "PostGIS" ) );
11641164
continue;
11651165
}
11661166

src/ui/qgsmssqlnewconnectionbase.ui

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</sizepolicy>
1818
</property>
1919
<property name="windowTitle">
20-
<string>Create a New MS SQL connection</string>
20+
<string>Create a New MSSQL connection</string>
2121
</property>
2222
<property name="sizeGripEnabled">
2323
<bool>true</bool>

0 commit comments

Comments
 (0)