i18n: translate NFS startup health messages

This commit is contained in:
VAIO73
2026-08-27 15:37:06 +02:00
parent eed9c3e597
commit 039988b506
3 changed files with 22 additions and 0 deletions
@@ -335,6 +335,18 @@ export function HealthStatusModal({ open, onOpenChange, getApiUrl }: HealthStatu
if (match) return t("healthStatus.details.pendingPackages", { count: match[1] })
match = value.match(/^Last updated (\d+) day\(s\) ago$/)
if (match) return t("healthStatus.details.updatedDaysAgo", { count: match[1] })
match = value.match(/^Storage: \d+ Proxmox storages unavailable: (.+) \(startup\)$/)
if (match) return t("healthStatus.details.startupStoragesChecking", { storages: match[1] })
match = value.match(/^Storage: (.+) not yet available \(startup\)$/)
if (match) return t("healthStatus.details.startupStorageChecking", { storage: match[1] })
match = value.match(/^(.+) not yet available \(startup\)$/)
if (match) return t("healthStatus.details.startupStorageChecking", { storage: match[1] })
match = value.match(/^\[Startup\] Storage '(.+)' is configured but not found on the server\. \(checking\.\.\.\)$/)
if (match) return t("healthStatus.details.startupStorageNotFound", { storage: match[1] })
match = value.match(/^\[Startup\] Storage '(.+)' is not available \(connection error or backend issue\)\. \(checking\.\.\.\)$/)
if (match) return t("healthStatus.details.startupStorageUnavailable", { storage: match[1] })
match = value.match(/^\[Startup\] Storage '(.+)' has status: (.+)\. \(checking\.\.\.\)$/)
if (match) return t("healthStatus.details.startupStorageStatus", { storage: match[1], status: match[2] })
match = value.match(/^(.+) storage available$/)
if (match) return t("healthStatus.details.storageAvailable", { type: match[1] })
match = value.match(/^(.+) mount reachable$/)