mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-27 20:06:52 +00:00
update
This commit is contained in:
parent
e0680a78eb
commit
e33a289253
4
menu
4
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.")"
|
||||
|
@ -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...")"
|
||||
|
@ -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
|
||||
|
@ -314,9 +314,7 @@ echo -e
|
||||
else
|
||||
|
||||
|
||||
# Logo for terminal SSH
|
||||
|
||||
|
||||
# Logo for terminal SSH
|
||||
TEXT=(
|
||||
""
|
||||
""
|
||||
|
Loading…
x
Reference in New Issue
Block a user