mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-10-09 06:56:37 +00:00
fix: make messages say what was verified (source questions from the Italian review)
This commit is contained in:
@@ -2507,7 +2507,7 @@ hb_configure_borg_manual() {
|
||||
--menu "\n$(hb_translate "Select repository destination:")" \
|
||||
"$HB_UI_MENU_H" "$HB_UI_MENU_W" "$HB_UI_MENU_LIST" \
|
||||
"remote" "$(hb_translate 'Remote server via SSH (recommended — off-host, dedup across machines)')" \
|
||||
"usb" "$(hb_translate 'Mounted external disk (offline-safe, single-machine dedup)')" \
|
||||
"usb" "$(hb_translate 'Mounted external disk (no network needed, single-machine dedup)')" \
|
||||
"local" "$(hb_translate 'Local directory (single-machine — only use if it is a SEPARATE disk)')" \
|
||||
3>&1 1>&2 2>&3) || return 1
|
||||
|
||||
|
||||
@@ -742,7 +742,12 @@ uninstall_persistent_network() {
|
||||
done < <(pmx_uninstall_persistent_network)
|
||||
|
||||
if (( removed > 0 )); then
|
||||
msg_ok "$(translate "Removed") $removed $(translate "ProxMenux-managed .link file(s). User-authored .link files were left in place.")"
|
||||
local removed_message
|
||||
removed_message="$(translate "ProxMenux-managed .link files removed: {count}. User-authored .link files were left in place.")"
|
||||
if [[ "$removed_message" != *'{count}'* ]]; then
|
||||
removed_message="ProxMenux-managed .link files removed: {count}. User-authored .link files were left in place."
|
||||
fi
|
||||
msg_ok "${removed_message//\{count\}/$removed}"
|
||||
msg_info "$(translate "Interface names will return to default systemd behavior.")"
|
||||
NECESSARY_REBOOT=1
|
||||
else
|
||||
|
||||
@@ -551,7 +551,7 @@ uninstall_nfs() {
|
||||
pct exec "$CTID" -- groupdel sharedfiles 2>/dev/null || true
|
||||
msg_ok "$(translate "Removed sharedfiles group.")"
|
||||
else
|
||||
msg_warn "$(translate "Kept sharedfiles group (has regular users assigned).")"
|
||||
msg_warn "$(translate "Kept sharedfiles group (it still has members that are not remapped users).")"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user