mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-09-29 18:16:43 +00:00
fix(i18n): clarify VM storage selection messages
This commit is contained in:
@@ -540,7 +540,7 @@ function select_disk_type() {
|
||||
}
|
||||
|
||||
function select_virtual_disk() {
|
||||
msg_info "Detecting available storage volumes..."
|
||||
msg_info "$(translate "Detecting storage for disk images...")"
|
||||
|
||||
local STORAGE_MENU=()
|
||||
local TAG TYPE FREE ITEM
|
||||
@@ -564,8 +564,8 @@ function select_virtual_disk() {
|
||||
STORAGE=${STORAGE_MENU[0]}
|
||||
else
|
||||
[[ -n "${SPINNER_PID:-}" ]] && kill "$SPINNER_PID" >/dev/null 2>&1
|
||||
STORAGE=$(whiptail --backtitle "ProxMenuX" --title "$(translate "Select Storage Volume")" --radiolist \
|
||||
"$(translate "Choose the storage volume for the virtual disk:\n")" 20 78 10 \
|
||||
STORAGE=$(whiptail --backtitle "ProxMenuX" --title "$(translate "Select Storage")" --radiolist \
|
||||
"$(translate "Choose the storage for the virtual disk:")"$'\n' 20 78 10 \
|
||||
"${STORAGE_MENU[@]}" 3>&1 1>&2 2>&3) || return 0
|
||||
[[ -z "$STORAGE" ]] && return 0
|
||||
fi
|
||||
@@ -953,7 +953,7 @@ function select_efi_storage() {
|
||||
[[ -n "${SPINNER_PID:-}" ]] && kill "$SPINNER_PID" > /dev/null 2>&1
|
||||
while [ -z "${STORAGE:+x}" ]; do
|
||||
STORAGE=$(whiptail --backtitle "ProxMenuX" --title "EFI Disk Storage" --radiolist \
|
||||
"$(translate "Choose the storage volume for the EFI disk (4MB):\n\nUse Spacebar to select.")" \
|
||||
"$(translate "Choose the storage for the EFI disk (4MB):")"$'\n\n'"$(translate "Use Spacebar to select.")" \
|
||||
16 $(($MSG_MAX_LENGTH + 23)) 6 \
|
||||
"${STORAGE_MENU[@]}" 3>&1 1>&2 2>&3) || {
|
||||
msg_warn "$(translate "EFI storage selection cancelled.")" >&2
|
||||
@@ -1004,8 +1004,8 @@ function select_storage_volume() {
|
||||
STORAGE=${STORAGE_MENU[0]}
|
||||
else
|
||||
while [ -z "${STORAGE:+x}" ]; do
|
||||
STORAGE=$(whiptail --backtitle "ProxMenuX" --title "Storage Pools" --radiolist \
|
||||
"$(translate "Choose the storage volume for $purpose:\n\nUse Spacebar to select.")" \
|
||||
STORAGE=$(whiptail --backtitle "ProxMenuX" --title "$(translate "Select Storage")" --radiolist \
|
||||
"$(translate "Choose the storage for the loader disk:")"$'\n\n'"$(translate "Use Spacebar to select.")" \
|
||||
16 $(($MSG_MAX_LENGTH + 23)) 6 \
|
||||
"${STORAGE_MENU[@]}" 3>&1 1>&2 2>&3) || {
|
||||
msg_warn "$(translate "Storage selection cancelled for $purpose.")" >&2
|
||||
|
||||
Reference in New Issue
Block a user