fix: explain "cannot tell" only when the list has one

This commit is contained in:
Felitendo committed 2026-09-24 10:44:52 +02:00
1 parent 82afefe5f8
commit 472cf5382c
3 files changed
+7 -6

No files matched your search

+2 -4
View File
@@ -131,10 +131,8 @@ msgstr "Installierte Anwendungen werden durchgesehen …"
msgid "No Chromium-based applications found." msgid "No Chromium-based applications found."
msgstr "Keine Chromium-basierten Anwendungen gefunden." msgstr "Keine Chromium-basierten Anwendungen gefunden."
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 "" msgstr "Was „nicht erkennbar“ ist, bleibt aus, bis es hier eingeschaltet wird."
"Nicht erkannte Anwendungen bleiben unangetastet, bis sie hier eingeschaltet "
"werden."
msgid "Autoscroll is off. This is what would be covered." msgid "Autoscroll is off. This is what would be covered."
msgstr "Autoscroll ist aus. Das hier wäre abgedeckt." msgstr "Autoscroll ist aus. Das hier wäre abgedeckt."
+1 -1
View File
@@ -130,7 +130,7 @@ msgstr ""
msgid "No Chromium-based applications found." msgid "No Chromium-based applications found."
msgstr "" 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 "" msgstr ""
msgid "Autoscroll is off. This is what would be covered." msgid "Autoscroll is off. This is what would be covered."
+4 -1
View File
@@ -399,7 +399,7 @@ mca_ui_apps() {
mca_msg_into "$locale" "Type to search, Down: go to the list, Esc: back" mca_msg_into "$locale" "Type to search, Down: go to the list, Esc: back"
hint_search="$MCA_MSG_RESULT" hint_search="$MCA_MSG_RESULT"
mca_msg_into "$locale" "No matches."; nomatch="$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" legend="$MCA_MSG_RESULT"
mca_msg_into "$locale" "Autoscroll is off. This is what would be covered." mca_msg_into "$locale" "Autoscroll is off. This is what would be covered."
warn="$MCA_MSG_RESULT" warn="$MCA_MSG_RESULT"
@@ -487,7 +487,10 @@ mca_ui_apps() {
if [[ $CFG_ENABLED != yes ]]; then if [[ $CFG_ENABLED != yes ]]; then
frame+=" ${MCA_C_YELLOW}${warn}${MCA_C_RESET}"$'\n' frame+=" ${MCA_C_YELLOW}${warn}${MCA_C_RESET}"$'\n'
fi fi
# Only needed while there is something it explains.
if (( MCA_N_UNKNOWN )); then
frame+=" ${MCA_C_DIM}${legend}${MCA_C_RESET}"$'\n' frame+=" ${MCA_C_DIM}${legend}${MCA_C_RESET}"$'\n'
fi
if (( cursor < 0 )); then if (( cursor < 0 )); then
frame+=" ${MCA_C_DIM}${hint_search}${MCA_C_RESET}"$'\n' frame+=" ${MCA_C_DIM}${hint_search}${MCA_C_RESET}"$'\n'
# Puts the terminal cursor at the end of the query (row 4). # Puts the terminal cursor at the end of the query (row 4).