Update menu

This commit is contained in:
MacRimi
2025-06-06 17:24:56 +02:00
parent 371e8a9570
commit f2637aad46
2 changed files with 3 additions and 2 deletions

4
menu
View File

@@ -49,9 +49,11 @@ fi
# Initialize language configuration
initialize_config() {
show_proxmenux_logo
# Check if config file exists and has language field
if [ ! -f "$CONFIG_FILE" ] || [ -z "$(jq -r '.language // empty' "$CONFIG_FILE")" ]; then
show_proxmenux_logo
sleep 2
LANGUAGE=$(whiptail --title "$(translate "Select Language")" --menu "$(translate "Choose a language for the menu:")" 20 60 12 \
"en" "$(translate "English (Recommended)")" \
"es" "$(translate "Spanish")" \