Skip to content

Commit e3d48c0

Browse files
committed
Fix string capitalization, missing ellipsis
(cherry-picked from 1fa7e21)
1 parent 6841bac commit e3d48c0

File tree

2 files changed

+37
-21
lines changed

2 files changed

+37
-21
lines changed

src/gui/symbology/qgsstylemanagerdialog.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ QgsStyleManagerDialog::QgsStyleManagerDialog( QgsStyle *style, QWidget *parent )
6464
mSplitter->restoreState( settings.value( QStringLiteral( "Windows/StyleV2Manager/splitter" ) ).toByteArray() );
6565

6666
tabItemType->setDocumentMode( true );
67+
searchBox->setShowSearchIcon( true );
6768
searchBox->setPlaceholderText( tr( "Filter symbols…" ) );
6869

6970
connect( this, &QDialog::finished, this, &QgsStyleManagerDialog::onFinished );
@@ -81,7 +82,7 @@ QgsStyleManagerDialog::QgsStyleManagerDialog( QgsStyle *style, QWidget *parent )
8182
connect( actnRemoveItem, &QAction::triggered, this, [ = ]( bool ) { removeItem(); }
8283
);
8384

84-
QMenu *shareMenu = new QMenu( tr( "Share menu" ), this );
85+
QMenu *shareMenu = new QMenu( tr( "Share Menu" ), this );
8586
QAction *exportAction = new QAction( tr( "Export Symbol(s)…" ), this );
8687
exportAction->setIcon( QIcon( QgsApplication::iconPath( "mActionFileSave.svg" ) ) );
8788
shareMenu->addAction( exportAction );
@@ -162,7 +163,7 @@ QgsStyleManagerDialog::QgsStyleManagerDialog( QgsStyle *style, QWidget *parent )
162163
mGroupMenu->addAction( actnRemoveFavorite );
163164
mGroupMenu->addSeparator()->setParent( this );
164165
mGroupListMenu = new QMenu( mGroupMenu );
165-
mGroupListMenu->setTitle( tr( "Add to tag" ) );
166+
mGroupListMenu->setTitle( tr( "Add to Tag" ) );
166167
mGroupListMenu->setEnabled( false );
167168
mGroupMenu->addMenu( mGroupListMenu );
168169
actnDetag->setData( 0 );

src/ui/qgsstylemanagerdialogbase.ui

+34-19
Original file line numberDiff line numberDiff line change
@@ -357,10 +357,10 @@
357357
<normaloff>:/images/themes/default/symbologyRemove.svg</normaloff>:/images/themes/default/symbologyRemove.svg</iconset>
358358
</property>
359359
<property name="text">
360-
<string>Remove item(s)</string>
360+
<string>Remove Item(s)</string>
361361
</property>
362362
<property name="toolTip">
363-
<string>Remove item(s)</string>
363+
<string>Remove Item(s)</string>
364364
</property>
365365
</action>
366366
<action name="actnEditItem">
@@ -372,48 +372,51 @@
372372
<normaloff>:/images/themes/default/mActionProjectProperties.svg</normaloff>:/images/themes/default/mActionProjectProperties.svg</iconset>
373373
</property>
374374
<property name="text">
375-
<string>Edit item...</string>
375+
<string>Edit Item…</string>
376376
</property>
377377
<property name="toolTip">
378-
<string>Edit item</string>
378+
<string>Edit Item</string>
379379
</property>
380380
</action>
381381
<action name="actnAddFavorite">
382382
<property name="enabled">
383383
<bool>false</bool>
384384
</property>
385385
<property name="text">
386-
<string>Add to favorites</string>
386+
<string>Add to Favorites</string>
387387
</property>
388388
<property name="toolTip">
389-
<string>Add to favorites</string>
389+
<string>Add to Favorites</string>
390390
</property>
391391
</action>
392392
<action name="actnRemoveFavorite">
393393
<property name="enabled">
394394
<bool>false</bool>
395395
</property>
396396
<property name="text">
397-
<string>Remove from favorites</string>
397+
<string>Remove from Favorites</string>
398398
</property>
399399
<property name="toolTip">
400-
<string>Remove from favorites</string>
400+
<string>Remove from Favorites</string>
401401
</property>
402402
</action>
403403
<action name="actnDetag">
404404
<property name="enabled">
405405
<bool>false</bool>
406406
</property>
407407
<property name="text">
408-
<string>Clear tags</string>
408+
<string>Clear Tags</string>
409409
</property>
410410
<property name="toolTip">
411-
<string>Clear tags</string>
411+
<string>Clear Tags</string>
412412
</property>
413413
</action>
414414
<action name="actnEditSmartGroup">
415415
<property name="text">
416-
<string>Edit smart group...</string>
416+
<string>Edit Smart Group…</string>
417+
</property>
418+
<property name="toolTip">
419+
<string>Edit Smart Group</string>
417420
</property>
418421
</action>
419422
<action name="actnAddTag">
@@ -422,7 +425,10 @@
422425
<normaloff>:/images/themes/default/symbologyAdd.svg</normaloff>:/images/themes/default/symbologyAdd.svg</iconset>
423426
</property>
424427
<property name="text">
425-
<string>Add tag…</string>
428+
<string>Add Tag…</string>
429+
</property>
430+
<property name="toolTip">
431+
<string>Add Tag</string>
426432
</property>
427433
</action>
428434
<action name="actnAddSmartgroup">
@@ -431,7 +437,10 @@
431437
<normaloff>:/images/themes/default/symbologyAdd.svg</normaloff>:/images/themes/default/symbologyAdd.svg</iconset>
432438
</property>
433439
<property name="text">
434-
<string>Add smart group…</string>
440+
<string>Add Smart Group…</string>
441+
</property>
442+
<property name="toolTip">
443+
<string>Add Smart Group</string>
435444
</property>
436445
</action>
437446
<action name="actnRemoveGroup">
@@ -445,15 +454,21 @@
445454
</action>
446455
<action name="actnTagSymbols">
447456
<property name="text">
448-
<string>Attach selected tag to symbols</string>
457+
<string>Attach Selected Tag to Symbols</string>
458+
</property>
459+
<property name="toolTip">
460+
<string>Attach Selected Tag to Symbols</string>
449461
</property>
450462
</action>
451463
<action name="actnFinishTagging">
452464
<property name="enabled">
453465
<bool>true</bool>
454466
</property>
455467
<property name="text">
456-
<string>Finish tagging</string>
468+
<string>Finish Tagging</string>
469+
</property>
470+
<property name="toolTip">
471+
<string>Finish Tagging</string>
457472
</property>
458473
<property name="visible">
459474
<bool>true</bool>
@@ -468,10 +483,10 @@
468483
<normaloff>:/images/themes/default/mActionSaveMapAsImage.svg</normaloff>:/images/themes/default/mActionSaveMapAsImage.svg</iconset>
469484
</property>
470485
<property name="text">
471-
<string>Export selected symbol(s) as PNG…</string>
486+
<string>Export Selected Symbol(s) as PNG…</string>
472487
</property>
473488
<property name="toolTip">
474-
<string>Export selected symbol(s) as PNG</string>
489+
<string>Export Selected Symbol(s) as PNG</string>
475490
</property>
476491
</action>
477492
<action name="actnExportAsSVG">
@@ -483,10 +498,10 @@
483498
<normaloff>:/images/themes/default/mActionSaveAsSVG.svg</normaloff>:/images/themes/default/mActionSaveAsSVG.svg</iconset>
484499
</property>
485500
<property name="text">
486-
<string>Export selected symbol(s) as SVG…</string>
501+
<string>Export Selected Symbol(s) as SVG…</string>
487502
</property>
488503
<property name="toolTip">
489-
<string>Export selected symbol(s) as SVG</string>
504+
<string>Export Selected Symbol(s) as SVG</string>
490505
</property>
491506
</action>
492507
</widget>

0 commit comments

Comments
 (0)