🐛 fix(dh): fix typo in message variable name

 feat(dh): improve user messages
The commit fixes a typo in the message variable name. The commit also improves user messages by making them more descriptive and user-friendly. The messages now provide more context and instructions to the user, making it easier for them to understand what is happening and what actions they need to take.
This commit is contained in:
zenobit 2023-04-12 16:42:34 +02:00
parent 3ca9da5bc1
commit a3c32152a8
1 changed files with 6 additions and 5 deletions

11
dh
View File

@ -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."
}