Skip to content
Permalink
Browse files

Cleanup some strings

  • Loading branch information
nyalldawson committed Sep 11, 2017
1 parent 35eea22 commit 90237fa3bf8b81fcb26239dfff5580d3a08f5286
@@ -72,7 +72,7 @@ void QgsAfsRootItem::connectionsChanged()
void QgsAfsRootItem::newConnection()
{
QgsNewHttpConnection nc( 0, QgsNewHttpConnection::ConnectionOther, QStringLiteral( "qgis/connections-arcgisfeatureserver/" ) );
nc.setWindowTitle( tr( "Create a New ArcGisFeatureServer Connection" ) );
nc.setWindowTitle( tr( "Create a New ArcGIS Feature Server Connection" ) );

if ( nc.exec() )
{
@@ -138,7 +138,7 @@ QList<QAction *> QgsAfsConnectionItem::actions()
void QgsAfsConnectionItem::editConnection()
{
QgsNewHttpConnection nc( 0, QgsNewHttpConnection::ConnectionOther, QStringLiteral( "qgis/connections-arcgisfeatureserver/" ), mName );
nc.setWindowTitle( tr( "Modify ArcGisFeatureServer Connection" ) );
nc.setWindowTitle( tr( "Modify ArcGIS Feature Server Connection" ) );

if ( nc.exec() )
{
@@ -71,7 +71,7 @@ void QgsAmsRootItem::connectionsChanged()
void QgsAmsRootItem::newConnection()
{
QgsNewHttpConnection nc( 0, QgsNewHttpConnection::ConnectionOther, QStringLiteral( "qgis/connections-arcgismapserver/" ) );
nc.setWindowTitle( tr( "Create a New ArcGisMapServer Connection" ) );
nc.setWindowTitle( tr( "Create a New ArcGIS Map Server Connection" ) );

if ( nc.exec() )
{
@@ -154,7 +154,7 @@ QList<QAction *> QgsAmsConnectionItem::actions()
void QgsAmsConnectionItem::editConnection()
{
QgsNewHttpConnection nc( 0, QgsNewHttpConnection::ConnectionOther, QStringLiteral( "qgis/connections-arcgismapserver/" ), mName );
nc.setWindowTitle( tr( "Modify ArcGisMapServer Connection" ) );
nc.setWindowTitle( tr( "Modify ArcGIS Map Server Connection" ) );

if ( nc.exec() )
{
@@ -208,7 +208,6 @@ void QgsArcGisServiceSourceSelect::refresh()

void QgsArcGisServiceSourceSelect::addEntryToServerList()
{

QgsNewHttpConnection nc( 0, QgsNewHttpConnection::ConnectionOther, QStringLiteral( "qgis/connections-%1/" ).arg( mServiceName.toLower() ) );
nc.setWindowTitle( tr( "Create a New %1 Connection" ).arg( mServiceName ) );

0 comments on commit 90237fa

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