Skip to content
Permalink
Browse files

Fix inconsistent capitalization and add missing ellipsis to browser a…

…ctions
  • Loading branch information
nyalldawson committed Feb 23, 2016
1 parent ac2cd47 commit 24d1bd0cfabb964fea8fa90c21cd89b80c6dcaa5
@@ -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() ) );
@@ -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() ) );

}

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

0 comments on commit 24d1bd0

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