mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 04:06:54 +00:00
Update menu
This commit is contained in:
parent
a9970199d8
commit
c4cd308ba5
3
menu
3
menu
@ -43,12 +43,13 @@ if [[ -f "$UTILS_FILE" ]]; then
|
|||||||
fi
|
fi
|
||||||
# ==========================================================
|
# ==========================================================
|
||||||
|
|
||||||
show_proxmenux_logo
|
#show_proxmenux_logo
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Initialize language configuration
|
# Initialize language configuration
|
||||||
initialize_config() {
|
initialize_config() {
|
||||||
|
show_proxmenux_logo
|
||||||
# Check if config file exists and has language field
|
# Check if config file exists and has language field
|
||||||
if [ ! -f "$CONFIG_FILE" ] || [ -z "$(jq -r '.language // empty' "$CONFIG_FILE")" ]; then
|
if [ ! -f "$CONFIG_FILE" ] || [ -z "$(jq -r '.language // empty' "$CONFIG_FILE")" ]; then
|
||||||
LANGUAGE=$(whiptail --title "$(translate "Select Language")" --menu "$(translate "Choose a language for the menu:")" 20 60 12 \
|
LANGUAGE=$(whiptail --title "$(translate "Select Language")" --menu "$(translate "Choose a language for the menu:")" 20 60 12 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user