Skip to content

Commit

Permalink
small typo fixes for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
mach0 committed Apr 15, 2012
1 parent 2181cb6 commit 4e7b055
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/app/qgisapp.cpp
Expand Up @@ -2595,11 +2595,11 @@ void QgisApp::addMssqlLayer()
return;
}

// show the MS SQL dialog
// show the MSSQL dialog
QDialog *dbs = dynamic_cast<QDialog*>( QgsProviderRegistry::instance()->selectWidget( QString( "mssql" ), this ) );
if ( !dbs )
{
QMessageBox::warning( this, tr( "MSSQL" ), tr( "Cannot get MS SQL select dialog from provider." ) );
QMessageBox::warning( this, tr( "MSSQL" ), tr( "Cannot get MSSQL select dialog from provider." ) );
return;
}
connect( dbs , SIGNAL( addDatabaseLayers( QStringList const &, QString const & ) ),
Expand Down
4 changes: 2 additions & 2 deletions src/providers/mssql/qgsmssqlprovider.cpp
Expand Up @@ -49,7 +49,7 @@
#include "qgsmssqldataitems.h"

static const QString TEXT_PROVIDER_KEY = "mssql";
static const QString TEXT_PROVIDER_DESCRIPTION = "MS SQL spatial data provider";
static const QString TEXT_PROVIDER_DESCRIPTION = "MSSQL spatial data provider";

QgsMssqlProvider::QgsMssqlProvider( QString uri )
: QgsVectorDataProvider( uri )
Expand Down Expand Up @@ -423,7 +423,7 @@ QVariant QgsMssqlProvider::defaultValue( int fieldId )

QString QgsMssqlProvider::storageType() const
{
return "MS SQL spatial database";
return "MSSQL spatial database";
}

bool QgsMssqlProvider::featureAtId( QgsFeatureId featureId,
Expand Down
4 changes: 2 additions & 2 deletions src/providers/mssql/qgsmssqlsourceselect.cpp
@@ -1,6 +1,6 @@
/***************************************************************************
qgsmssqlsourceselect.cpp
Dialog to select MS SQL layer(s) and add it to the map canvas
Dialog to select MSSQL layer(s) and add it to the map canvas
-------------------
begin : 2011-10-08
copyright : (C) 2011 by Tamas Szekeres
Expand Down Expand Up @@ -125,7 +125,7 @@ QgsMssqlSourceSelect::QgsMssqlSourceSelect( QWidget *parent, Qt::WFlags fl, bool
{
setupUi( this );

setWindowTitle( tr( "Add MS SQL Table(s)" ) );
setWindowTitle( tr( "Add MSSQL Table(s)" ) );

if ( mEmbeddedMode )
{
Expand Down
4 changes: 2 additions & 2 deletions src/providers/mssql/qgsmssqlsourceselect.h
Expand Up @@ -80,10 +80,10 @@ class QgsMssqlGeomColumnTypeThread : public QThread


/*! \class QgsMssqlSourceSelect
* \brief Dialog to create connections and add tables from MS SQL.
* \brief Dialog to create connections and add tables from MSSQL.
*
* This dialog allows the user to define and save connection information
* for MS SQL databases. The user can then connect and add
* for MSSQL databases. The user can then connect and add
* tables from the database to the map canvas.
*/
class QgsMssqlSourceSelect : public QDialog, private Ui::QgsDbSourceSelectBase
Expand Down
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -1160,7 +1160,7 @@ bool QgsPostgresProvider::loadFields()
}
else
{
QgsMessageLog::logMessage( tr( "Field %1 ignored, because of unsupported type type %2" ).arg( fieldName ).arg( fieldTType ), tr( "PostGIS" ) );
QgsMessageLog::logMessage( tr( "Field %1 ignored, because of unsupported type %2" ).arg( fieldName ).arg( fieldTType ), tr( "PostGIS" ) );
continue;
}

Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgsmssqlnewconnectionbase.ui
Expand Up @@ -17,7 +17,7 @@
</sizepolicy>
</property>
<property name="windowTitle">
<string>Create a New MS SQL connection</string>
<string>Create a New MSSQL connection</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
Expand Down

0 comments on commit 4e7b055

Please sign in to comment.