Skip to content

Commit

Permalink
Fix string capitalization, missing ellipsis
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 2, 2018
1 parent ff2ee0b commit 1fa7e21
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 21 deletions.
5 changes: 3 additions & 2 deletions src/gui/symbology/qgsstylemanagerdialog.cpp
Expand Up @@ -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 );
Expand All @@ -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 );
Expand Down Expand Up @@ -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 );
Expand Down
53 changes: 34 additions & 19 deletions src/ui/qgsstylemanagerdialogbase.ui
Expand Up @@ -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">
Expand All @@ -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">
Expand All @@ -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">
Expand All @@ -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">
Expand All @@ -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>
Expand All @@ -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">
Expand All @@ -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>
Expand Down

0 comments on commit 1fa7e21

Please sign in to comment.