fix: make messages say what was verified (source questions from the Italian review)

This commit is contained in:
MacRimi
2026-10-06 17:08:18 +02:00
parent 12632c027e
commit 85b88f709a
21 changed files with 166 additions and 50 deletions
+6 -1
View File
@@ -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