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",