From f0aefedd22118d8e409b61ad0711836fe2fb72bf Mon Sep 17 00:00:00 2001 From: th33xitus Date: Fri, 6 May 2022 18:06:47 +0200 Subject: [PATCH] refactor(moonraker.sh): improve wording Signed-off-by: Dominik Willner th33xitus@gmail.com --- scripts/moonraker.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/moonraker.sh b/scripts/moonraker.sh index c698619..51f9f01 100644 --- a/scripts/moonraker.sh +++ b/scripts/moonraker.sh @@ -97,9 +97,9 @@ function moonraker_setup_dialog(){ ### confirm instance amount while true; do - ((moonraker_count == 1)) && local ins="instance" - ((moonraker_count > 1)) && local ins="instances" - read -p "${cyan}###### Install ${moonraker_count} Moonraker ${ins}? (Y/n):${white} " yn + ((moonraker_count == 1)) && local question="Install Moonraker?" + ((moonraker_count > 1)) && local question="Install ${moonraker_count} Moonraker instances?" + read -p "${cyan}###### ${question}? (Y/n):${white} " yn case "${yn}" in Y|y|Yes|yes|"") select_msg "Yes"