Use more user-friendly terminology for border actions everywhere

The window rules KCM calls this "No titlebar and frame", but different
less user-friendly terminology is used for the context menu action and
the global action. Let's unify them using the more user-friendly name.

BUG: 464007
FIXED-IN: 5.27
This commit is contained in:
Nate Graham 2023-01-09 15:16:51 -07:00
parent 1f1e67f90b
commit 0075f7bd16

View file

@ -269,7 +269,7 @@ void UserActionsMenu::init()
m_shadeOperation->setCheckable(true); m_shadeOperation->setCheckable(true);
m_shadeOperation->setData(Options::ShadeOp); m_shadeOperation->setData(Options::ShadeOp);
m_noBorderOperation = advancedMenu->addAction(i18n("&No Border")); m_noBorderOperation = advancedMenu->addAction(i18n("&No Titlebar and Frame"));
m_noBorderOperation->setIcon(QIcon::fromTheme(QStringLiteral("edit-none-border"))); m_noBorderOperation->setIcon(QIcon::fromTheme(QStringLiteral("edit-none-border")));
setShortcut(m_noBorderOperation, QStringLiteral("Window No Border")); setShortcut(m_noBorderOperation, QStringLiteral("Window No Border"));
m_noBorderOperation->setCheckable(true); m_noBorderOperation->setCheckable(true);
@ -1006,7 +1006,7 @@ void Workspace::initShortcuts()
0, &Workspace::slotWindowRaiseOrLower); 0, &Workspace::slotWindowRaiseOrLower);
initShortcut("Window Fullscreen", i18n("Make Window Fullscreen"), initShortcut("Window Fullscreen", i18n("Make Window Fullscreen"),
0, &Workspace::slotWindowFullScreen); 0, &Workspace::slotWindowFullScreen);
initShortcut("Window No Border", i18n("Toggle Window Border"), initShortcut("Window No Border", i18n("Toggle Window Titlebar and Frame"),
0, &Workspace::slotWindowNoBorder); 0, &Workspace::slotWindowNoBorder);
initShortcut("Window Above Other Windows", i18n("Keep Window Above Others"), initShortcut("Window Above Other Windows", i18n("Keep Window Above Others"),
0, &Workspace::slotWindowAbove); 0, &Workspace::slotWindowAbove);