From 472cf5382cf00cd42e3a56e0f45cd7b7412bcdbb Mon Sep 17 00:00:00 2001 From: Felitendo Date: Thu, 24 Sep 2026 10:44:52 +0200 Subject: [PATCH] fix: explain "cannot tell" only when the list has one --- po/de.po | 6 ++---- po/middleclick-autoscroll.pot | 2 +- src/lib/menu.sh | 7 +++++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/po/de.po b/po/de.po index 835f05e..e41f360 100644 --- a/po/de.po +++ b/po/de.po @@ -131,10 +131,8 @@ msgstr "Installierte Anwendungen werden durchgesehen …" msgid "No Chromium-based applications found." msgstr "Keine Chromium-basierten Anwendungen gefunden." -msgid "Anything not identified is left alone until it is turned on here." -msgstr "" -"Nicht erkannte Anwendungen bleiben unangetastet, bis sie hier eingeschaltet " -"werden." +msgid "Anything marked \"cannot tell\" stays off until it is turned on here." +msgstr "Was „nicht erkennbar“ ist, bleibt aus, bis es hier eingeschaltet wird." msgid "Autoscroll is off. This is what would be covered." msgstr "Autoscroll ist aus. Das hier wäre abgedeckt." diff --git a/po/middleclick-autoscroll.pot b/po/middleclick-autoscroll.pot index dc69e47..7fe79d2 100644 --- a/po/middleclick-autoscroll.pot +++ b/po/middleclick-autoscroll.pot @@ -130,7 +130,7 @@ msgstr "" msgid "No Chromium-based applications found." msgstr "" -msgid "Anything not identified is left alone until it is turned on here." +msgid "Anything marked \"cannot tell\" stays off until it is turned on here." msgstr "" msgid "Autoscroll is off. This is what would be covered." diff --git a/src/lib/menu.sh b/src/lib/menu.sh index e2863b4..2face83 100644 --- a/src/lib/menu.sh +++ b/src/lib/menu.sh @@ -399,7 +399,7 @@ mca_ui_apps() { mca_msg_into "$locale" "Type to search, Down: go to the list, Esc: back" hint_search="$MCA_MSG_RESULT" mca_msg_into "$locale" "No matches."; nomatch="$MCA_MSG_RESULT" - mca_msg_into "$locale" "Anything not identified is left alone until it is turned on here." + mca_msg_into "$locale" 'Anything marked "cannot tell" stays off until it is turned on here.' legend="$MCA_MSG_RESULT" mca_msg_into "$locale" "Autoscroll is off. This is what would be covered." warn="$MCA_MSG_RESULT" @@ -487,7 +487,10 @@ mca_ui_apps() { if [[ $CFG_ENABLED != yes ]]; then frame+=" ${MCA_C_YELLOW}${warn}${MCA_C_RESET}"$'\n' fi - frame+=" ${MCA_C_DIM}${legend}${MCA_C_RESET}"$'\n' + # Only needed while there is something it explains. + if (( MCA_N_UNKNOWN )); then + frame+=" ${MCA_C_DIM}${legend}${MCA_C_RESET}"$'\n' + fi if (( cursor < 0 )); then frame+=" ${MCA_C_DIM}${hint_search}${MCA_C_RESET}"$'\n' # Puts the terminal cursor at the end of the query (row 4).