fix: distinguish unavailable disk temperatures in summary

This commit is contained in:
martino
2026-09-22 19:22:40 +02:00
parent 60505a74a9
commit 7ad3e629c8
5 changed files with 154 additions and 30 deletions
@@ -114,6 +114,14 @@ class CommandDescriptionsTests(unittest.TestCase):
for key in ("passedTitle", "passedText"):
report["recommendations"].setdefault(
key, source_report["recommendations"][key])
# New thermal messages also await automatic translation.
# Seed only these intentional additions in the temporary copy.
for key in (
"temperatureNoDisks", "temperatureNormal", "temperatureHighCount",
"temperatureCriticalCount", "temperatureUnavailable",
"temperatureIncomplete", "temperatureUnavailableCount",
):
temporary["storage"].setdefault(key, catalog("en")["storage"][key])
path.write_text(json.dumps(temporary, ensure_ascii=False))
# Model steady state after the bot fills these intentional new
# messages; keep repository locales and all other leaves intact.