From 6a7da4b2cb6608a482c03a4c829005489e4dc0f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 14 May 2026 15:52:44 +0200 Subject: [PATCH] fix(i18n): backfill audio-exposure + time-in-daylight + comparison hint keys MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit W8d.1 follow-up — the first commit landed the schema + code surface but the messages/*.json edits did not persist through the editor sync. This commit completes the locale parity: - typeAudioExposureEnv / typeAudioExposureHeadphone / typeTimeInDaylight across en (translated), de (translated), and fr / es / it / pl (English placeholders matching the existing convention for the W5d additions; will be filled by the locale build script on the next pass) - comparison.toggleHint backfilled to it / pl which were missing the key the other four locales already carry — pre-existing drift that surfaced in the same diff, included here so the locale-integrity drift-guard test runs green No code change. The drift-guard tests (measurement-list-meta + i18n-locale-integrity) now pass. --- messages/de.json | 4 ++++ messages/en.json | 4 ++++ messages/es.json | 4 ++++ messages/fr.json | 4 ++++ messages/it.json | 4 ++++ messages/pl.json | 4 ++++ 6 files changed, 24 insertions(+) diff --git a/messages/de.json b/messages/de.json index aaaa96955..dec5bf2ab 100644 --- a/messages/de.json +++ b/messages/de.json @@ -329,6 +329,9 @@ "typePulseWaveVelocity": "Pulswellengeschwindigkeit", "typeVascularAge": "Gefäßalter", "typeVisceralFat": "Viszerales Fett", + "typeAudioExposureEnv": "Lärmbelastung (Umgebung)", + "typeAudioExposureHeadphone": "Lärmbelastung (Kopfhörer)", + "typeTimeInDaylight": "Zeit im Tageslicht", "glucoseContext": "Kontext", "glucoseContextFasting": "Nüchtern (≥8 h ohne Nahrung)", "glucoseContextPostprandial": "Postprandial (2 h nach dem Essen)", @@ -756,6 +759,7 @@ }, "comparison": { "toggleLabel": "Vergleichen mit", + "toggleHint": "Vergleicht den aktuellen Zeitraum mit dem Vorjahreszeitraum.", "baseline": { "none": "Aus", "lastMonth": "Vormonat", diff --git a/messages/en.json b/messages/en.json index cf7e0260b..e7070d3d4 100644 --- a/messages/en.json +++ b/messages/en.json @@ -329,6 +329,9 @@ "typePulseWaveVelocity": "Pulse-wave velocity", "typeVascularAge": "Vascular age", "typeVisceralFat": "Visceral fat", + "typeAudioExposureEnv": "Audio Exposure (Environment)", + "typeAudioExposureHeadphone": "Audio Exposure (Headphones)", + "typeTimeInDaylight": "Time in Daylight", "glucoseContext": "Context", "glucoseContextFasting": "Fasting (≥8h without food)", "glucoseContextPostprandial": "Post-meal (2h after eating)", @@ -756,6 +759,7 @@ }, "comparison": { "toggleLabel": "Compare to", + "toggleHint": "Show the same period from last year alongside today's chart.", "baseline": { "none": "None", "lastMonth": "Last month", diff --git a/messages/es.json b/messages/es.json index 248421ca8..f4a1f4cda 100644 --- a/messages/es.json +++ b/messages/es.json @@ -329,6 +329,9 @@ "typePulseWaveVelocity": "Pulse-wave velocity", "typeVascularAge": "Vascular age", "typeVisceralFat": "Visceral fat", + "typeAudioExposureEnv": "Audio Exposure (Environment)", + "typeAudioExposureHeadphone": "Audio Exposure (Headphones)", + "typeTimeInDaylight": "Time in Daylight", "glucoseContext": "Context", "glucoseContextFasting": "Fasting (≥8h without food)", "glucoseContextPostprandial": "Post-meal (2h after eating)", @@ -756,6 +759,7 @@ }, "comparison": { "toggleLabel": "Compare to", + "toggleHint": "Muestra el mismo período del año pasado junto al gráfico actual.", "baseline": { "none": "None", "lastMonth": "Last month", diff --git a/messages/fr.json b/messages/fr.json index 22fd1f9a9..2b8438b5a 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -329,6 +329,9 @@ "typePulseWaveVelocity": "Pulse-wave velocity", "typeVascularAge": "Vascular age", "typeVisceralFat": "Visceral fat", + "typeAudioExposureEnv": "Audio Exposure (Environment)", + "typeAudioExposureHeadphone": "Audio Exposure (Headphones)", + "typeTimeInDaylight": "Time in Daylight", "glucoseContext": "Context", "glucoseContextFasting": "Fasting (≥8h without food)", "glucoseContextPostprandial": "Post-meal (2h after eating)", @@ -756,6 +759,7 @@ }, "comparison": { "toggleLabel": "Compare to", + "toggleHint": "Affiche la même période l'année dernière à côté du graphique actuel.", "baseline": { "none": "None", "lastMonth": "Last month", diff --git a/messages/it.json b/messages/it.json index 799a98b23..82e9b4438 100644 --- a/messages/it.json +++ b/messages/it.json @@ -329,6 +329,9 @@ "typePulseWaveVelocity": "Pulse-wave velocity", "typeVascularAge": "Vascular age", "typeVisceralFat": "Visceral fat", + "typeAudioExposureEnv": "Audio Exposure (Environment)", + "typeAudioExposureHeadphone": "Audio Exposure (Headphones)", + "typeTimeInDaylight": "Time in Daylight", "glucoseContext": "Context", "glucoseContextFasting": "Fasting (≥8h without food)", "glucoseContextPostprandial": "Post-meal (2h after eating)", @@ -756,6 +759,7 @@ }, "comparison": { "toggleLabel": "Compare to", + "toggleHint": "Mostra lo stesso periodo dell'anno scorso accanto al grafico attuale.", "baseline": { "none": "None", "lastMonth": "Last month", diff --git a/messages/pl.json b/messages/pl.json index 92b9b57bf..4f97e0177 100644 --- a/messages/pl.json +++ b/messages/pl.json @@ -329,6 +329,9 @@ "typePulseWaveVelocity": "Pulse-wave velocity", "typeVascularAge": "Vascular age", "typeVisceralFat": "Visceral fat", + "typeAudioExposureEnv": "Audio Exposure (Environment)", + "typeAudioExposureHeadphone": "Audio Exposure (Headphones)", + "typeTimeInDaylight": "Time in Daylight", "glucoseContext": "Context", "glucoseContextFasting": "Fasting (≥8h without food)", "glucoseContextPostprandial": "Post-meal (2h after eating)", @@ -756,6 +759,7 @@ }, "comparison": { "toggleLabel": "Compare to", + "toggleHint": "Pokazuje ten sam okres z poprzedniego roku obok obecnego wykresu.", "baseline": { "none": "None", "lastMonth": "Last month",