Commit c8bd9a81 authored by Nate Graham's avatar Nate Graham 🔩
Browse files

Re-word tab context menu's "Configure" item/dialog title for clarity

- Make it confirm to the Label HIG (must start with a verb)
- Remove the redundant word "Current", which is implied
- Add the word "Rename" for clarity
- Rename the name of the resulting dialog for clarity

BUG: 426344
FIXED-IN: 20.12
parent d368745e
......@@ -35,7 +35,7 @@ RenameTabDialog::RenameTabDialog(QWidget *parent) :
QDialog(parent),
_ui(nullptr)
{
setWindowTitle(i18n("Current Tab Settings"));
setWindowTitle(i18n("Tab Properties"));
auto buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel);
auto mainWidget = new QWidget(this);
auto mainLayout = new QVBoxLayout;
......
......@@ -742,7 +742,7 @@ void SessionController::setupExtraActions()
// Rename Session
QAction* action = collection->addAction(QStringLiteral("rename-session"), this, &SessionController::renameSession);
action->setText(i18n("&Current Tab Settings..."));
action->setText(i18n("&Configure or Rename Tab..."));
action->setIcon(QIcon::fromTheme(QStringLiteral("edit-rename")));
collection->setDefaultShortcut(action, Konsole::ACCEL + Qt::ALT + Qt::Key_S);
......
......@@ -119,7 +119,7 @@ TabbedViewContainer::TabbedViewContainer(ViewManager *connectedViewManager, QWid
auto editAction = _contextPopupMenu->addAction(
QIcon::fromTheme(QStringLiteral("edit-rename")),
i18nc("@action:inmenu", "&Current Tab Settings..."), this,
i18nc("@action:inmenu", "&Configure or Rename Tab..."), this,
[this]{ renameTab(_contextMenuTabIndex); }
);
editAction->setObjectName(QStringLiteral("edit-rename"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment