diff --git a/menu b/menu index d771c97..a72185a 100644 --- a/menu +++ b/menu @@ -57,9 +57,7 @@ initialize_config() { "fr" "$(translate "French")" \ "de" "$(translate "German")" \ "it" "$(translate "Italian")" \ - "pt" "$(translate "Portuguese")" \ - "zh-cn" "$(translate "Simplified Chinese")" \ - "ja" "$(translate "Japanese")" 3>&1 1>&2 2>&3) + "pt" "$(translate "Portuguese")" 3>&1 1>&2 2>&3) if [ -z "$LANGUAGE" ]; then msg_error "$(translate "No language selected. Exiting.")" diff --git a/scripts/customizable_post_install.sh b/scripts/customizable_post_install.sh index e589cf5..0a6338a 100644 --- a/scripts/customizable_post_install.sh +++ b/scripts/customizable_post_install.sh @@ -2358,14 +2358,13 @@ for index in "${!sorted_options[@]}"; do fi msg_success "$(translate "All changes applied. No reboot required.")" else - # Si no se seleccionaron opciones, salir sin hacer nada exit 0 fi } -# Main script execution + show_proxmenux_logo if [[ "$LANGUAGE" != "en" ]]; then msg_lang "$(translate "Generating automatic translations...")" diff --git a/scripts/menus/config_menu.sh b/scripts/menus/config_menu.sh index f911097..3a57178 100644 --- a/scripts/menus/config_menu.sh +++ b/scripts/menus/config_menu.sh @@ -27,7 +27,6 @@ initialize_cache show_config_menu() { - cleanup while true; do OPTION=$(whiptail --title "$(translate "Configuration Menu")" --menu "$(translate "Select an option:")" 20 70 8 \ "1" "$(translate "Change Language")" \ @@ -62,9 +61,7 @@ change_language() { "fr" "$(translate "French")" \ "de" "$(translate "German")" \ "it" "$(translate "Italian")" \ - "pt" "$(translate "Portuguese")" \ - "zh-cn" "$(translate "Simplified Chinese")" \ - "ja" "$(translate "Japanese")" 3>&1 1>&2 2>&3) + "pt" "$(translate "Portuguese")" 3>&1 1>&2 2>&3) if [ -z "$LANGUAGE" ]; then msg_error "$(translate "No language selected.")" @@ -246,7 +243,5 @@ uninstall_proxmenu() { } -if [[ "$LANGUAGE" != "en" ]]; then - msg_lang "$(translate "Generating automatic translations...")" -fi + show_config_menu diff --git a/scripts/utils.sh b/scripts/utils.sh index 5b56ca3..e8f441b 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -314,9 +314,7 @@ echo -e else -# Logo for terminal SSH - - +# Logo for terminal SSH TEXT=( "" ""