Skip to content

Commit

Permalink
Fix inconsistent capitalization and add missing ellipsis to browser a…
Browse files Browse the repository at this point in the history
…ctions
  • Loading branch information
nyalldawson committed Feb 23, 2016
1 parent ac2cd47 commit 24d1bd0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions src/app/qgsbrowserdockwidget.cpp
Expand Up @@ -387,16 +387,16 @@ void QgsBrowserDockWidget::showContextMenu( QPoint pt )
if ( item->parent() && !inFavDirs )
{
// only non-root directories can be added as favourites
menu->addAction( tr( "Add as a favourite" ), this, SLOT( addFavourite() ) );
menu->addAction( tr( "Add as a Favourite" ), this, SLOT( addFavourite() ) );
}
else if ( inFavDirs )
{
// only favourites can be removed
menu->addAction( tr( "Remove favourite" ), this, SLOT( removeFavourite() ) );
menu->addAction( tr( "Remove Favourite" ), this, SLOT( removeFavourite() ) );
}
menu->addAction( tr( "Properties" ), this, SLOT( showProperties() ) );
menu->addAction( tr( "Hide from browser" ), this, SLOT( hideItem() ) );
QAction *action = menu->addAction( tr( "Fast scan this dir." ), this, SLOT( toggleFastScan() ) );
menu->addAction( tr( "Properties..." ), this, SLOT( showProperties() ) );
menu->addAction( tr( "Hide from Browser" ), this, SLOT( hideItem() ) );
QAction *action = menu->addAction( tr( "Fast Scan this Directory" ), this, SLOT( toggleFastScan() ) );
action->setCheckable( true );
action->setChecked( settings.value( "/qgis/scanItemsFastScanUris",
QStringList() ).toStringList().contains( item->path() ) );
Expand All @@ -405,11 +405,11 @@ void QgsBrowserDockWidget::showContextMenu( QPoint pt )
{
menu->addAction( tr( "Add Layer" ), this, SLOT( addCurrentLayer() ) );
menu->addAction( tr( "Add Selected Layers" ), this, SLOT( addSelectedLayers() ) );
menu->addAction( tr( "Properties" ), this, SLOT( showProperties() ) );
menu->addAction( tr( "Properties..." ), this, SLOT( showProperties() ) );
}
else if ( item->type() == QgsDataItem::Favourites )
{
menu->addAction( tr( "Add a directory" ), this, SLOT( addFavouriteDirectory() ) );
menu->addAction( tr( "Add a Directory..." ), this, SLOT( addFavouriteDirectory() ) );

}

Expand Down
2 changes: 1 addition & 1 deletion src/providers/mssql/qgsmssqldataitems.cpp
Expand Up @@ -331,7 +331,7 @@ QList<QAction*> QgsMssqlConnectionItem::actions()
{
QList<QAction*> lst;

QAction* actionShowNoGeom = new QAction( tr( "Show non-spatial tables" ), this );
QAction* actionShowNoGeom = new QAction( tr( "Show Non-Spatial Tables" ), this );
actionShowNoGeom->setCheckable( true );
actionShowNoGeom->setChecked( mAllowGeometrylessTables );
connect( actionShowNoGeom, SIGNAL( toggled( bool ) ), this, SLOT( setAllowGeometrylessTables( bool ) ) );
Expand Down
2 changes: 1 addition & 1 deletion src/providers/spatialite/qgsspatialitedataitems.cpp
Expand Up @@ -312,7 +312,7 @@ QList<QAction*> QgsSLRootItem::actions()
connect( actionNew, SIGNAL( triggered() ), this, SLOT( newConnection() ) );
lst.append( actionNew );

QAction* actionCreateDatabase = new QAction( tr( "Create database..." ), this );
QAction* actionCreateDatabase = new QAction( tr( "Create Database..." ), this );
connect( actionCreateDatabase, SIGNAL( triggered() ), this, SLOT( createDatabase() ) );
lst.append( actionCreateDatabase );

Expand Down

0 comments on commit 24d1bd0

Please sign in to comment.