@@ -64,11 +64,11 @@ QgsStyleV2ManagerDialog::QgsStyleV2ManagerDialog( QgsStyleV2* style, QWidget* pa
64
64
connect ( btnEditItem, SIGNAL ( clicked () ), this , SLOT ( editItem () ) );
65
65
connect ( btnRemoveItem, SIGNAL ( clicked () ), this , SLOT ( removeItem () ) );
66
66
67
- QMenu *shareMenu = new QMenu ( tr ( " Share Menu " ), this );
68
- QAction *exportAsPNGAction = shareMenu->addAction ( tr ( " Export as PNG" ) );
69
- QAction *exportAsSVGAction = shareMenu->addAction ( tr ( " Export as SVG" ) );
70
- QAction *exportAction = shareMenu->addAction ( tr ( " Export" ) );
71
- QAction *importAction = shareMenu->addAction ( tr ( " Import" ) );
67
+ QMenu *shareMenu = new QMenu ( tr ( " Share menu " ), this );
68
+ QAction *exportAsPNGAction = shareMenu->addAction ( tr ( " Export selected symbols as PNG" ) );
69
+ QAction *exportAsSVGAction = shareMenu->addAction ( tr ( " Export selected symbols as SVG" ) );
70
+ QAction *exportAction = shareMenu->addAction ( tr ( " Export... " ) );
71
+ QAction *importAction = shareMenu->addAction ( tr ( " Import... " ) );
72
72
exportAsPNGAction->setIcon ( QIcon ( QgsApplication::iconPath ( " mActionSharingExport.svg" ) ) );
73
73
exportAsSVGAction->setIcon ( QIcon ( QgsApplication::iconPath ( " mActionSharingExport.svg" ) ) );
74
74
exportAction->setIcon ( QIcon ( QgsApplication::iconPath ( " mActionSharingExport.svg" ) ) );
@@ -101,9 +101,9 @@ QgsStyleV2ManagerDialog::QgsStyleV2ManagerDialog( QgsStyleV2* style, QWidget* pa
101
101
connect ( groupModel, SIGNAL ( itemChanged ( QStandardItem* ) ),
102
102
this , SLOT ( groupRenamed ( QStandardItem* ) ) );
103
103
104
- QMenu *groupMenu = new QMenu ( tr ( " Group Actions " ), this );
105
- QAction *groupSymbols = groupMenu->addAction ( tr ( " Group Symbols " ) );
106
- QAction *editSmartgroup = groupMenu->addAction ( tr ( " Edit Smart Group " ) );
104
+ QMenu *groupMenu = new QMenu ( tr ( " Group actions " ), this );
105
+ QAction *groupSymbols = groupMenu->addAction ( tr ( " Group symbols " ) );
106
+ QAction *editSmartgroup = groupMenu->addAction ( tr ( " Edit smart group " ) );
107
107
btnManageGroups->setMenu ( groupMenu );
108
108
connect ( groupSymbols, SIGNAL ( triggered () ), this , SLOT ( groupSymbolsAction () ) );
109
109
connect ( editSmartgroup, SIGNAL ( triggered () ), this , SLOT ( editSmartgroupAction () ) );
@@ -1057,7 +1057,7 @@ void QgsStyleV2ManagerDialog::groupSymbolsAction()
1057
1057
if ( mGrouppingMode )
1058
1058
{
1059
1059
mGrouppingMode = false ;
1060
- senderAction->setText ( tr ( " Group Symbols " ) );
1060
+ senderAction->setText ( tr ( " Group symbols " ) );
1061
1061
// disconnect slot which handles regrouping
1062
1062
disconnect ( model, SIGNAL ( itemChanged ( QStandardItem* ) ),
1063
1063
this , SLOT ( regrouped ( QStandardItem* ) ) );
@@ -1094,7 +1094,7 @@ void QgsStyleV2ManagerDialog::groupSymbolsAction()
1094
1094
1095
1095
mGrouppingMode = true ;
1096
1096
// Change the text menu
1097
- senderAction->setText ( tr ( " Finish Grouping " ) );
1097
+ senderAction->setText ( tr ( " Finish grouping " ) );
1098
1098
// Remove all Symbol editing functionalities
1099
1099
disconnect ( treeModel, SIGNAL ( itemChanged ( QStandardItem* ) ),
1100
1100
this , SLOT ( groupRenamed ( QStandardItem* ) ) );
@@ -1296,29 +1296,29 @@ void QgsStyleV2ManagerDialog::grouptreeContextMenu( const QPoint& point )
1296
1296
{
1297
1297
if ( index.parent ().data ( Qt::UserRole + 1 ).toString () == " smartgroups" )
1298
1298
{
1299
- groupMenu.addAction ( tr ( " Edit Group " ) );
1299
+ groupMenu.addAction ( tr ( " Edit smart group " ) );
1300
1300
}
1301
1301
else
1302
1302
{
1303
- groupMenu.addAction ( tr ( " Add Group " ) );
1303
+ groupMenu.addAction ( tr ( " Add group " ) );
1304
1304
}
1305
- groupMenu.addAction ( tr ( " Remove Group " ) );
1305
+ groupMenu.addAction ( tr ( " Remove group " ) );
1306
1306
}
1307
1307
else if ( index.data ( Qt::UserRole + 1 ) == " groups" || index.data ( Qt::UserRole + 1 ) == " smartgroups" )
1308
1308
{
1309
- groupMenu.addAction ( tr ( " Add Group " ) );
1309
+ groupMenu.addAction ( tr ( " Add group " ) );
1310
1310
}
1311
1311
1312
1312
1313
1313
QAction* selectedItem = groupMenu.exec ( globalPos );
1314
1314
1315
1315
if ( selectedItem )
1316
1316
{
1317
- if ( selectedItem->text () == tr ( " Add Group " ) )
1317
+ if ( selectedItem->text () == tr ( " Add group " ) )
1318
1318
addGroup ();
1319
- else if ( selectedItem->text () == tr ( " Remove Group " ) )
1319
+ else if ( selectedItem->text () == tr ( " Remove group " ) )
1320
1320
removeGroup ();
1321
- else if ( selectedItem->text () == tr ( " Edit Group " ) )
1321
+ else if ( selectedItem->text () == tr ( " Edit smart group " ) )
1322
1322
editSmartgroupAction ();
1323
1323
}
1324
1324
}
0 commit comments