From a3c32152a871a95d45d801f229e562d38d17721a Mon Sep 17 00:00:00 2001 From: zenobit Date: Wed, 12 Apr 2023 16:42:34 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(dh):=20fix=20typo=20in=20mes?= =?UTF-8?q?sage=20variable=20name=20=E2=9C=A8=20feat(dh):=20improve=20user?= =?UTF-8?q?=20messages=20The=20commit=20fixes=20a=20typo=20in=20the=20mess?= =?UTF-8?q?age=20variable=20name.=20The=20commit=20also=20improves=20user?= =?UTF-8?q?=20messages=20by=20making=20them=20more=20descriptive=20and=20u?= =?UTF-8?q?ser-friendly.=20The=20messages=20now=20provide=20more=20context?= =?UTF-8?q?=20and=20instructions=20to=20the=20user,=20making=20it=20easier?= =?UTF-8?q?=20for=20them=20to=20understand=20what=20is=20happening=20and?= =?UTF-8?q?=20what=20actions=20they=20need=20to=20take.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dh b/dh index f632285..74c38cf 100755 --- a/dh +++ b/dh @@ -274,7 +274,8 @@ EOF } function virtual_machines_update_supported() { - echo "$MSG_Q_INTERM" + rm "$DH_CONFIG_DIR"/supported/*.desktop + echo "$MSG_INTERM" run_in_terminal # get supported VMs "$portable_prefix"quickget | sed 1d | cut -d':' -f2 | grep -o '[^ ]*' > "$DH_CONFIG_DIR/supported.md" @@ -542,7 +543,7 @@ function get_$NAME() { } EOF - echo "Done" + echo "$MSG_DONE" meld "${TMP_DIR}"/template.tmp "$DH_CONFIG_DIR"/quickget } @@ -582,7 +583,7 @@ EOF } TOOL_set_default_terminal() { - echo "Choose a default terminal:" + echo "$MSG_DEFAULT_TERMINAL:" select term in alacritty foot gnome-terminal kitty konsole mate-terminal roxterm sakura st tilix xfce4-terminal xterm custom; do case $term in alacritty) @@ -639,12 +640,12 @@ EOF break ;; *) - echo "Invalid option, please choose again." + echo "$MSG_INVALID_AGAIN" ;; esac done - echo "Default terminal set to $terminal." + echo "$MSG_TERMINAL_SET $terminal." }