From b0dc3b3009d29b56fe886bcf48ed21cc4a002ec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Mon, 28 Sep 2015 09:28:37 +0200 Subject: [PATCH] shuffle mnemonics in "more actions" in a way so that each entry has its own drawback: present mnemonics changed. they however also change with i18n. REVIEW: 125434 BUG: 319695 FIXED-IN: 5.5 --- useractions.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/useractions.cpp b/useractions.cpp index 0300b793fb..36b2b0113f 100755 --- a/useractions.cpp +++ b/useractions.cpp @@ -253,7 +253,7 @@ void UserActionsMenu::init() setShortcut(m_moveOperation, QStringLiteral("Window Move")); m_moveOperation->setData(Options::UnrestrictedMoveOp); - m_resizeOperation = advancedMenu->addAction(i18n("Re&size")); + m_resizeOperation = advancedMenu->addAction(i18n("&Resize")); setShortcut(m_resizeOperation, QStringLiteral("Window Resize")); m_resizeOperation->setData(Options::ResizeOp); @@ -275,7 +275,7 @@ void UserActionsMenu::init() m_fullScreenOperation->setCheckable(true); m_fullScreenOperation->setData(Options::FullScreenOp); - m_shadeOperation = advancedMenu->addAction(i18n("Sh&ade")); + m_shadeOperation = advancedMenu->addAction(i18n("&Shade")); setShortcut(m_shadeOperation, QStringLiteral("Window Shade")); m_shadeOperation->setCheckable(true); m_shadeOperation->setData(Options::ShadeOp); @@ -287,12 +287,12 @@ void UserActionsMenu::init() advancedMenu->addSeparator(); - m_shortcutOperation = advancedMenu->addAction(i18n("Window &Shortcut...")); + m_shortcutOperation = advancedMenu->addAction(i18n("Window Short&cut...")); m_shortcutOperation->setIcon(QIcon::fromTheme(QStringLiteral("configure-shortcuts"))); setShortcut(m_shortcutOperation, QStringLiteral("Setup Window Shortcut")); m_shortcutOperation->setData(Options::SetupWindowShortcutOp); - QAction *action = advancedMenu->addAction(i18n("&Special Window Settings...")); + QAction *action = advancedMenu->addAction(i18n("Special &Window Settings...")); action->setIcon(QIcon::fromTheme(QStringLiteral("preferences-system-windows-actions"))); action->setData(Options::WindowRulesOp); @@ -303,7 +303,7 @@ void UserActionsMenu::init() !KAuthorized::authorizeControlModules(configModules(true)).isEmpty()) { advancedMenu->addSeparator(); action = advancedMenu->addAction(i18nc("Entry in context menu of window decoration to open the configuration module of KWin", - "Window &Manager Settings...")); + "Window Manager S&ettings...")); action->setIcon(QIcon::fromTheme(QStringLiteral("configure"))); connect(action, &QAction::triggered, this, [this]() {