Skip to content

Commit

Permalink
Cleanup some strings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 12, 2017
1 parent 35eea22 commit 90237fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/providers/arcgisrest/qgsafsdataitems.cpp
Expand Up @@ -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() )
{
Expand Down Expand Up @@ -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() )
{
Expand Down
4 changes: 2 additions & 2 deletions src/providers/arcgisrest/qgsamsdataitems.cpp
Expand Up @@ -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() )
{
Expand Down Expand Up @@ -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() )
{
Expand Down
1 change: 0 additions & 1 deletion src/providers/arcgisrest/qgsarcgisservicesourceselect.cpp
Expand Up @@ -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 ) );

Expand Down

0 comments on commit 90237fa

Please sign in to comment.