From 55f0ca4151ef898304be911bac692e7319833460 Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Tue, 16 Jun 2020 13:01:51 -0400 Subject: [PATCH] Change 'Rename Tab' to 'Temporary Tab Settings' With the addition of color tabs, this dialog does more than just rename the tab title formats. GUI: --- src/RenameTabDialog.cpp | 2 +- src/SessionController.cpp | 2 +- src/ViewContainer.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/RenameTabDialog.cpp b/src/RenameTabDialog.cpp index 7974ce65e..ca0ff4f3b 100644 --- a/src/RenameTabDialog.cpp +++ b/src/RenameTabDialog.cpp @@ -35,7 +35,7 @@ RenameTabDialog::RenameTabDialog(QWidget *parent) : QDialog(parent), _ui(nullptr) { - setWindowTitle(i18n("Rename Tab")); + setWindowTitle(i18n("Temporary Tab Settings")); auto buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel); auto mainWidget = new QWidget(this); auto mainLayout = new QVBoxLayout; diff --git a/src/SessionController.cpp b/src/SessionController.cpp index 6aab2f7b0..f49bad834 100644 --- a/src/SessionController.cpp +++ b/src/SessionController.cpp @@ -716,7 +716,7 @@ void SessionController::setupExtraActions() // Rename Session QAction* action = collection->addAction(QStringLiteral("rename-session"), this, SLOT(renameSession())); - action->setText(i18n("&Rename Tab...")); + action->setText(i18n("&Temporary Tab Settings")); action->setIcon(QIcon::fromTheme(QStringLiteral("edit-rename"))); collection->setDefaultShortcut(action, Konsole::ACCEL + Qt::ALT + Qt::Key_S); diff --git a/src/ViewContainer.cpp b/src/ViewContainer.cpp index 2b1d8369e..e91b78180 100644 --- a/src/ViewContainer.cpp +++ b/src/ViewContainer.cpp @@ -119,7 +119,7 @@ TabbedViewContainer::TabbedViewContainer(ViewManager *connectedViewManager, QWid auto editAction = _contextPopupMenu->addAction( QIcon::fromTheme(QStringLiteral("edit-rename")), - i18nc("@action:inmenu", "&Rename Tab..."), this, + i18nc("@action:inmenu", "&Temporary Tab Settings"), this, [this]{ renameTab(_contextMenuTabIndex); } ); editAction->setObjectName(QStringLiteral("edit-rename"));