Merge pull request #372 from f3rs3n/fix/storage-temperature-summary

Distinguish unavailable disk temperatures in the storage summary
This commit is contained in:
MacRimi
2026-09-22 19:24:43 +02:00
committed by GitHub
5 changed files with 166 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.