Skip to content
Permalink
Browse files
small typo fixes for consistency
  • Loading branch information
mach0 committed Apr 15, 2012
1 parent 2181cb6 commit 4e7b055cbe3ea1f366df0572721bb7fa929f79dc
@@ -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 & ) ),
@@ -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 )
@@ -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,
@@ -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
@@ -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 )
{
@@ -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
@@ -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;
}

@@ -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>

0 comments on commit 4e7b055

Please sign in to comment.