From dd3f85d19a2e7c1c419f8c4d5b031c48456dc0bb Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Mon, 5 Apr 2021 20:41:37 -0600 Subject: [PATCH] Improve text for "keep above"/"keep below" buttons It may not be totally clear what exactly they're being kept above. CCBUG: 435292 --- .../kwindecoration/declarative-plugin/buttonsmodel.cpp | 4 ++-- src/kcmkwin/kwinrules/rulesmodel.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/kcmkwin/kwindecoration/declarative-plugin/buttonsmodel.cpp b/src/kcmkwin/kwindecoration/declarative-plugin/buttonsmodel.cpp index 666e9775c9..eb131bfe21 100644 --- a/src/kcmkwin/kwindecoration/declarative-plugin/buttonsmodel.cpp +++ b/src/kcmkwin/kwindecoration/declarative-plugin/buttonsmodel.cpp @@ -67,9 +67,9 @@ static QString buttonToName(DecorationButtonType type) case DecorationButtonType::Shade: return i18n("Shade"); case DecorationButtonType::KeepBelow: - return i18n("Keep below"); + return i18n("Keep below other windows"); case DecorationButtonType::KeepAbove: - return i18n("Keep above"); + return i18n("Keep above other windows"); default: return QString(); } diff --git a/src/kcmkwin/kwinrules/rulesmodel.cpp b/src/kcmkwin/kwinrules/rulesmodel.cpp index 9d6b4115fe..48279f235a 100644 --- a/src/kcmkwin/kwinrules/rulesmodel.cpp +++ b/src/kcmkwin/kwinrules/rulesmodel.cpp @@ -555,12 +555,12 @@ void RulesModel::populateRuleList() // Arrangement & Access addRule(new RuleItem(QLatin1String("above"), RulePolicy::SetRule, RuleItem::Boolean, - i18n("Keep above"), i18n("Arrangement & Access"), + i18n("Keep above other windows"), i18n("Arrangement & Access"), QIcon::fromTheme("window-keep-above"))); addRule(new RuleItem(QLatin1String("below"), RulePolicy::SetRule, RuleItem::Boolean, - i18n("Keep below"), i18n("Arrangement & Access"), + i18n("Keep below other windows"), i18n("Arrangement & Access"), QIcon::fromTheme("window-keep-below"))); addRule(new RuleItem(QLatin1String("skiptaskbar"),