R-516 items 7-10: one banner per drive, local times, te-form, health banners in the household's language

- item 7: the storage page shows the disconnect time in local time (fmtTimeStr), not the raw RFC3339 UTC.
- item 8: a disconnected drive no longer has two banners - the health check's warning for it is dropped
  when the dedicated alert.storage.disconnected banner was built (it stays on the wire).
- item 9: alert.deadapp.group says "nezd meg" (te-form); formal ceiling 14 -> 13.
- item 10: the disk/memory/CPU/temperature health banners show the dashboard's own sentence
  (health.* keys, hu + en) via HealthReport.WarningMsgs/IssueMsgs; the wire text is unchanged.
  checkResources split out of RunHealthCheck as the test seam.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
2026-10-06 01:42:16 +02:00
parent 0f2eab7a3e
commit e4774e6a06
10 changed files with 388 additions and 115 deletions
+8 -1
View File
@@ -1563,6 +1563,13 @@
"func.time.tomorrow_at": "tomorrow %s",
"func.time.yesterday": "yesterday",
"health.no_probe_container": "No health check ran: no matching container.",
"health.system_disk_high": "System storage is filling up: %.0f%% used",
"health.system_disk_critical": "System storage is almost full: %.0f%% used",
"health.data_disk_high": "The data drive is filling up: %.0f%% used",
"health.data_disk_critical": "The data drive is almost full: %.0f%% used",
"health.memory_high": "Memory usage high: %.0f%%",
"health.cpu_high": "CPU usage high: %.0f%%",
"health.temperature_high": "Temperature high: %.0f°C (%s)",
"hold.copy_holds.db_only": "holds only the settings and the database, not the files",
"hold.copy_holds.files": "holds the settings, the database and the files",
"hold.copy_holds.volumes": "holds the settings, the database and the data volumes",
@@ -2255,7 +2262,7 @@
"storage.levalasztas": "Disconnect",
"storage.levalasztas_folyamatban": "Disconnecting…",
"storage.levalasztva": "Disconnected",
"storage.levalasztva_2": "Disconnected: {{.DisconnectedAt}}",
"storage.levalasztva_2": "Disconnected: {{fmtTimeStr .DisconnectedAt}}",
"storage.majd_a_z": "then",
"storage.mar_csatlakoztatott_tarhely_hozzaadasa_k": "Add already mounted storage by hand",
"storage.megerosites": "Confirm",
+9 -2
View File
@@ -7,7 +7,7 @@
"alert.agent_channel.unknown": "A tárolókezelő ügynök nem elérhető.",
"alert.agent_channel.unreachable": "A tárolókezelő ügynök nem elérhető.",
"alert.backup.disabled": "A biztonsági mentés nincs bekapcsolva",
"alert.deadapp.group": "%d telepített alkalmazás nem fut — nézze meg a rendszermonitort",
"alert.deadapp.group": "%d telepített alkalmazás nem fut — nézd meg a rendszermonitort",
"alert.deadapp.single": "Telepített alkalmazás nem fut: %s",
"alert.deadapp.single_state": "Telepített alkalmazás nem fut: %s (%s)",
"alert.endpoint_drift": "A tárolókezelő ügynök címe elavult a beállításokban.",
@@ -1551,6 +1551,13 @@
"func.time.tomorrow_at": "holnap %s",
"func.time.yesterday": "tegnap",
"health.no_probe_container": "Nem futott egészségellenőrzés: nincs hozzá tartozó konténer.",
"health.system_disk_high": "A rendszer tárhelye fogy: %.0f%% foglalt",
"health.system_disk_critical": "A rendszer tárhelye majdnem megtelt: %.0f%% foglalt",
"health.data_disk_high": "Az adatmeghajtó tárhelye fogy: %.0f%% foglalt",
"health.data_disk_critical": "Az adatmeghajtó majdnem megtelt: %.0f%% foglalt",
"health.memory_high": "A memóriahasználat magas: %.0f%%",
"health.cpu_high": "A processzor terhelése magas: %.0f%%",
"health.temperature_high": "A hőmérséklet magas: %.0f°C (%s)",
"hold.copy_holds.db_only": "csak a beállításokat és az adatbázist tartalmazza, a fájlokat nem",
"hold.copy_holds.files": "a beállításokat, az adatbázist és a fájlokat tartalmazza",
"hold.copy_holds.volumes": "a beállításokat, az adatbázist és az adatköteteket tartalmazza",
@@ -2243,7 +2250,7 @@
"storage.levalasztas": "Leválasztás",
"storage.levalasztas_folyamatban": "Leválasztás folyamatban…",
"storage.levalasztva": "Leválasztva",
"storage.levalasztva_2": "Leválasztva: {{.DisconnectedAt}}",
"storage.levalasztva_2": "Leválasztva: {{fmtTimeStr .DisconnectedAt}}",
"storage.majd_a_z": "majd a(z)",
"storage.mar_csatlakoztatott_tarhely_hozzaadasa_k": "Már csatlakoztatott tárhely hozzáadása kézzel",
"storage.megerosites": "Megerősítés",