Skip to content
Permalink
Browse files

Fix string capitalization, missing ellipsis

(cherry-picked from 1fa7e21)
  • Loading branch information
nyalldawson committed Apr 6, 2018
1 parent 6841bac commit e3d48c09571645a8e3bf88e18e8ab847e374f2fa
Showing with 37 additions and 21 deletions.
  1. +3 −2 src/gui/symbology/qgsstylemanagerdialog.cpp
  2. +34 −19 src/ui/qgsstylemanagerdialogbase.ui
@@ -64,6 +64,7 @@ QgsStyleManagerDialog::QgsStyleManagerDialog( QgsStyle *style, QWidget *parent )
mSplitter->restoreState( settings.value( QStringLiteral( "Windows/StyleV2Manager/splitter" ) ).toByteArray() );

tabItemType->setDocumentMode( true );
searchBox->setShowSearchIcon( true );
searchBox->setPlaceholderText( tr( "Filter symbols…" ) );

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

QMenu *shareMenu = new QMenu( tr( "Share menu" ), this );
QMenu *shareMenu = new QMenu( tr( "Share Menu" ), this );
QAction *exportAction = new QAction( tr( "Export Symbol(s)…" ), this );
exportAction->setIcon( QIcon( QgsApplication::iconPath( "mActionFileSave.svg" ) ) );
shareMenu->addAction( exportAction );
@@ -162,7 +163,7 @@ QgsStyleManagerDialog::QgsStyleManagerDialog( QgsStyle *style, QWidget *parent )
mGroupMenu->addAction( actnRemoveFavorite );
mGroupMenu->addSeparator()->setParent( this );
mGroupListMenu = new QMenu( mGroupMenu );
mGroupListMenu->setTitle( tr( "Add to tag" ) );
mGroupListMenu->setTitle( tr( "Add to Tag" ) );
mGroupListMenu->setEnabled( false );
mGroupMenu->addMenu( mGroupListMenu );
actnDetag->setData( 0 );
@@ -357,10 +357,10 @@
<normaloff>:/images/themes/default/symbologyRemove.svg</normaloff>:/images/themes/default/symbologyRemove.svg</iconset>
</property>
<property name="text">
<string>Remove item(s)</string>
<string>Remove Item(s)</string>
</property>
<property name="toolTip">
<string>Remove item(s)</string>
<string>Remove Item(s)</string>
</property>
</action>
<action name="actnEditItem">
@@ -372,48 +372,51 @@
<normaloff>:/images/themes/default/mActionProjectProperties.svg</normaloff>:/images/themes/default/mActionProjectProperties.svg</iconset>
</property>
<property name="text">
<string>Edit item...</string>
<string>Edit Item…</string>
</property>
<property name="toolTip">
<string>Edit item</string>
<string>Edit Item</string>
</property>
</action>
<action name="actnAddFavorite">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Add to favorites</string>
<string>Add to Favorites</string>
</property>
<property name="toolTip">
<string>Add to favorites</string>
<string>Add to Favorites</string>
</property>
</action>
<action name="actnRemoveFavorite">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Remove from favorites</string>
<string>Remove from Favorites</string>
</property>
<property name="toolTip">
<string>Remove from favorites</string>
<string>Remove from Favorites</string>
</property>
</action>
<action name="actnDetag">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Clear tags</string>
<string>Clear Tags</string>
</property>
<property name="toolTip">
<string>Clear tags</string>
<string>Clear Tags</string>
</property>
</action>
<action name="actnEditSmartGroup">
<property name="text">
<string>Edit smart group...</string>
<string>Edit Smart Group…</string>
</property>
<property name="toolTip">
<string>Edit Smart Group</string>
</property>
</action>
<action name="actnAddTag">
@@ -422,7 +425,10 @@
<normaloff>:/images/themes/default/symbologyAdd.svg</normaloff>:/images/themes/default/symbologyAdd.svg</iconset>
</property>
<property name="text">
<string>Add tag…</string>
<string>Add Tag…</string>
</property>
<property name="toolTip">
<string>Add Tag</string>
</property>
</action>
<action name="actnAddSmartgroup">
@@ -431,7 +437,10 @@
<normaloff>:/images/themes/default/symbologyAdd.svg</normaloff>:/images/themes/default/symbologyAdd.svg</iconset>
</property>
<property name="text">
<string>Add smart group…</string>
<string>Add Smart Group…</string>
</property>
<property name="toolTip">
<string>Add Smart Group</string>
</property>
</action>
<action name="actnRemoveGroup">
@@ -445,15 +454,21 @@
</action>
<action name="actnTagSymbols">
<property name="text">
<string>Attach selected tag to symbols</string>
<string>Attach Selected Tag to Symbols</string>
</property>
<property name="toolTip">
<string>Attach Selected Tag to Symbols</string>
</property>
</action>
<action name="actnFinishTagging">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Finish tagging</string>
<string>Finish Tagging</string>
</property>
<property name="toolTip">
<string>Finish Tagging</string>
</property>
<property name="visible">
<bool>true</bool>
@@ -468,10 +483,10 @@
<normaloff>:/images/themes/default/mActionSaveMapAsImage.svg</normaloff>:/images/themes/default/mActionSaveMapAsImage.svg</iconset>
</property>
<property name="text">
<string>Export selected symbol(s) as PNG…</string>
<string>Export Selected Symbol(s) as PNG…</string>
</property>
<property name="toolTip">
<string>Export selected symbol(s) as PNG</string>
<string>Export Selected Symbol(s) as PNG</string>
</property>
</action>
<action name="actnExportAsSVG">
@@ -483,10 +498,10 @@
<normaloff>:/images/themes/default/mActionSaveAsSVG.svg</normaloff>:/images/themes/default/mActionSaveAsSVG.svg</iconset>
</property>
<property name="text">
<string>Export selected symbol(s) as SVG…</string>
<string>Export Selected Symbol(s) as SVG…</string>
</property>
<property name="toolTip">
<string>Export selected symbol(s) as SVG</string>
<string>Export Selected Symbol(s) as SVG</string>
</property>
</action>
</widget>

0 comments on commit e3d48c0

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