Skip to content

Commit 24d1bd0

Browse files
committed
Fix inconsistent capitalization and add missing ellipsis to browser actions
1 parent ac2cd47 commit 24d1bd0

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/app/qgsbrowserdockwidget.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -387,16 +387,16 @@ void QgsBrowserDockWidget::showContextMenu( QPoint pt )
387387
if ( item->parent() && !inFavDirs )
388388
{
389389
// only non-root directories can be added as favourites
390-
menu->addAction( tr( "Add as a favourite" ), this, SLOT( addFavourite() ) );
390+
menu->addAction( tr( "Add as a Favourite" ), this, SLOT( addFavourite() ) );
391391
}
392392
else if ( inFavDirs )
393393
{
394394
// only favourites can be removed
395-
menu->addAction( tr( "Remove favourite" ), this, SLOT( removeFavourite() ) );
395+
menu->addAction( tr( "Remove Favourite" ), this, SLOT( removeFavourite() ) );
396396
}
397-
menu->addAction( tr( "Properties" ), this, SLOT( showProperties() ) );
398-
menu->addAction( tr( "Hide from browser" ), this, SLOT( hideItem() ) );
399-
QAction *action = menu->addAction( tr( "Fast scan this dir." ), this, SLOT( toggleFastScan() ) );
397+
menu->addAction( tr( "Properties..." ), this, SLOT( showProperties() ) );
398+
menu->addAction( tr( "Hide from Browser" ), this, SLOT( hideItem() ) );
399+
QAction *action = menu->addAction( tr( "Fast Scan this Directory" ), this, SLOT( toggleFastScan() ) );
400400
action->setCheckable( true );
401401
action->setChecked( settings.value( "/qgis/scanItemsFastScanUris",
402402
QStringList() ).toStringList().contains( item->path() ) );
@@ -405,11 +405,11 @@ void QgsBrowserDockWidget::showContextMenu( QPoint pt )
405405
{
406406
menu->addAction( tr( "Add Layer" ), this, SLOT( addCurrentLayer() ) );
407407
menu->addAction( tr( "Add Selected Layers" ), this, SLOT( addSelectedLayers() ) );
408-
menu->addAction( tr( "Properties" ), this, SLOT( showProperties() ) );
408+
menu->addAction( tr( "Properties..." ), this, SLOT( showProperties() ) );
409409
}
410410
else if ( item->type() == QgsDataItem::Favourites )
411411
{
412-
menu->addAction( tr( "Add a directory" ), this, SLOT( addFavouriteDirectory() ) );
412+
menu->addAction( tr( "Add a Directory..." ), this, SLOT( addFavouriteDirectory() ) );
413413

414414
}
415415

src/providers/mssql/qgsmssqldataitems.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ QList<QAction*> QgsMssqlConnectionItem::actions()
331331
{
332332
QList<QAction*> lst;
333333

334-
QAction* actionShowNoGeom = new QAction( tr( "Show non-spatial tables" ), this );
334+
QAction* actionShowNoGeom = new QAction( tr( "Show Non-Spatial Tables" ), this );
335335
actionShowNoGeom->setCheckable( true );
336336
actionShowNoGeom->setChecked( mAllowGeometrylessTables );
337337
connect( actionShowNoGeom, SIGNAL( toggled( bool ) ), this, SLOT( setAllowGeometrylessTables( bool ) ) );

src/providers/spatialite/qgsspatialitedataitems.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ QList<QAction*> QgsSLRootItem::actions()
312312
connect( actionNew, SIGNAL( triggered() ), this, SLOT( newConnection() ) );
313313
lst.append( actionNew );
314314

315-
QAction* actionCreateDatabase = new QAction( tr( "Create database..." ), this );
315+
QAction* actionCreateDatabase = new QAction( tr( "Create Database..." ), this );
316316
connect( actionCreateDatabase, SIGNAL( triggered() ), this, SLOT( createDatabase() ) );
317317
lst.append( actionCreateDatabase );
318318

0 commit comments

Comments
 (0)