Update utils.sh

This commit is contained in:
MacRimi 2025-02-22 15:18:02 +01:00 committed by GitHub
parent 56acba921c
commit ca0681eeb2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,6 +39,7 @@ VENV_PATH="/opt/googletrans-env"
TRANSLATION_CONTEXT="Context: Technical message for Proxmox and IT. Translate:" TRANSLATION_CONTEXT="Context: Technical message for Proxmox and IT. Translate:"
# Color and style definitions # Color and style definitions
NV="\033[38;2;200;50;255m"
YW="\033[33m" YW="\033[33m"
YWB="\033[1;33m" YWB="\033[1;33m"
GN="\033[1;92m" GN="\033[1;92m"
@ -125,7 +126,7 @@ msg_warn() {
fi fi
printf "\e[?25h" printf "\e[?25h"
local msg="$1" local msg="$1"
echo -e "${BFR}${TAB}${YWB}${CL} ${YWB}${msg}${CL}" echo -e "${BFR}${TAB}${NV}${CL} ${YWB}${msg}${CL}"
} }