This commit is contained in:
MacRimi 2025-02-25 19:49:05 +01:00
parent e0680a78eb
commit e33a289253
4 changed files with 5 additions and 15 deletions

4
menu
View File

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

View File

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

View File

@ -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

View File

@ -314,9 +314,7 @@ echo -e
else
# Logo for terminal SSH
# Logo for terminal SSH
TEXT=(
""
""