From d2d0cbdc3b5ddecc1d156c3f9e4272fa6e04ff00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sun, 17 May 2026 14:24:13 +0200 Subject: [PATCH] feat(export): i18n keys for Arztbericht hero across six locales MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a new `settings.sections.export.hero.{eyebrow,valueStatement,cta, formatHint}` bag plus a `settings.sections.export.otherOptionsHeading` key across DE, EN, FR, ES, IT, PL so the doctor-report hero card and the "Other export options" sub-heading resolve everywhere. Retires the now-unreferenced `settings.sections.export.cards.doctorReport.action` key — the hero owns the CTA copy from this point on. DE + EN ship fully translated; the four AI-initial locales (FR, ES, IT, PL) receive native translations for the hero copy in line with the rest of their export bag. --- messages/de.json | 15 ++++++++++++--- messages/en.json | 15 ++++++++++++--- messages/es.json | 15 ++++++++++++--- messages/fr.json | 15 ++++++++++++--- messages/it.json | 15 ++++++++++++--- messages/pl.json | 15 ++++++++++++--- 6 files changed, 72 insertions(+), 18 deletions(-) diff --git a/messages/de.json b/messages/de.json index 1252685f2..837991974 100644 --- a/messages/de.json +++ b/messages/de.json @@ -356,7 +356,10 @@ "deleteConfirmDescription": "Dieser Messwert wird unwiderruflich gelöscht.", "pageInfo": "Seite {page} von {total}", "previousPage": "Vorherige Seite", - "nextPage": "Nächste Seite" + "nextPage": "Nächste Seite", + "dailyTotalCaption": "({count} Einzelwerte)", + "expandDay": "Einzelwerte dieses Tages anzeigen", + "collapseDay": "Einzelwerte dieses Tages ausblenden" }, "mood": { "title": "Stimmung", @@ -1616,6 +1619,13 @@ "export": { "title": "Export", "description": "Lade deine Gesundheitsdaten als PDF, CSV oder vollständiges JSON-Backup herunter.", + "otherOptionsHeading": "Weitere Export-Optionen", + "hero": { + "eyebrow": "Arzttermin", + "valueStatement": "Ein druckbarer PDF-Bericht für den Arzttermin — Vitalwerte, BMI, Blutdruck-Klassifikation, Medikamenten-Compliance und (optional) Stimmungsverlauf, alles auf wenigen Seiten.", + "cta": "Bericht konfigurieren & generieren", + "formatHint": "PDF · druckfertig" + }, "actions": { "download": "Herunterladen" }, @@ -1626,8 +1636,7 @@ "cards": { "doctorReport": { "title": "Arztbericht", - "description": "Druckbares PDF für den Arzttermin — Vitalwerte, BMI, BD-Klassifikation, Medikamenten-Compliance, Stimmung.", - "action": "Konfigurieren & generieren" + "description": "Druckbares PDF für den Arzttermin — Vitalwerte, BMI, BD-Klassifikation, Medikamenten-Compliance, Stimmung." }, "measurementsCsv": { "title": "Messwerte", diff --git a/messages/en.json b/messages/en.json index 6ff734502..b97d9e197 100644 --- a/messages/en.json +++ b/messages/en.json @@ -356,7 +356,10 @@ "deleteConfirmDescription": "This measurement will be permanently deleted.", "pageInfo": "Page {page} of {total}", "previousPage": "Previous page", - "nextPage": "Next page" + "nextPage": "Next page", + "dailyTotalCaption": "({count} samples)", + "expandDay": "Show samples for this day", + "collapseDay": "Hide samples for this day" }, "mood": { "title": "Mood", @@ -1616,6 +1619,13 @@ "export": { "title": "Export", "description": "Download your health data as PDF, CSV, or a full JSON backup.", + "otherOptionsHeading": "Other export options", + "hero": { + "eyebrow": "Doctor visit", + "valueStatement": "A printable PDF report for your doctor's appointment — vitals, BMI, blood-pressure classification, medication compliance and (optionally) mood, all on a few pages.", + "cta": "Configure & generate report", + "formatHint": "PDF · print-ready" + }, "actions": { "download": "Download" }, @@ -1626,8 +1636,7 @@ "cards": { "doctorReport": { "title": "Doctor Report", - "description": "Printable PDF for the doctor's appointment — vitals, BMI, BP classification, medication compliance, mood.", - "action": "Configure & generate" + "description": "Printable PDF for the doctor's appointment — vitals, BMI, BP classification, medication compliance, mood." }, "measurementsCsv": { "title": "Measurements", diff --git a/messages/es.json b/messages/es.json index 837a28104..d4af86bad 100644 --- a/messages/es.json +++ b/messages/es.json @@ -356,7 +356,10 @@ "deleteConfirmDescription": "This measurement will be permanently deleted.", "pageInfo": "Página {page} de {total}", "previousPage": "Previous page", - "nextPage": "Next page" + "nextPage": "Next page", + "dailyTotalCaption": "({count} samples)", + "expandDay": "Show samples for this day", + "collapseDay": "Hide samples for this day" }, "mood": { "title": "Estado de ánimo", @@ -1616,6 +1619,13 @@ "export": { "title": "Exportar", "description": "Download your health data as PDF, CSV, or a full JSON backup.", + "otherOptionsHeading": "Otras opciones de exportación", + "hero": { + "eyebrow": "Cita médica", + "valueStatement": "Un informe PDF imprimible para tu cita médica — constantes, IMC, clasificación de la tensión, cumplimiento de la medicación y (opcionalmente) el estado de ánimo, en pocas páginas.", + "cta": "Configurar y generar informe", + "formatHint": "PDF · listo para imprimir" + }, "actions": { "download": "Download" }, @@ -1626,8 +1636,7 @@ "cards": { "doctorReport": { "title": "Doctor Report", - "description": "Printable PDF for the doctor's appointment — vitals, BMI, BP classification, medication compliance, mood.", - "action": "Configure & generate" + "description": "Printable PDF for the doctor's appointment — vitals, BMI, BP classification, medication compliance, mood." }, "measurementsCsv": { "title": "Measurements", diff --git a/messages/fr.json b/messages/fr.json index d37c82189..6cd01ea2f 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -356,7 +356,10 @@ "deleteConfirmDescription": "This measurement will be permanently deleted.", "pageInfo": "Page {page} sur {total}", "previousPage": "Previous page", - "nextPage": "Next page" + "nextPage": "Next page", + "dailyTotalCaption": "({count} samples)", + "expandDay": "Show samples for this day", + "collapseDay": "Hide samples for this day" }, "mood": { "title": "Humeur", @@ -1616,6 +1619,13 @@ "export": { "title": "Exporter", "description": "Download your health data as PDF, CSV, or a full JSON backup.", + "otherOptionsHeading": "Autres options d'export", + "hero": { + "eyebrow": "Rendez-vous médical", + "valueStatement": "Un rapport PDF imprimable pour votre rendez-vous médical — constantes, IMC, classification de tension, observance des traitements et (en option) historique de l'humeur, en quelques pages.", + "cta": "Configurer & générer le rapport", + "formatHint": "PDF · prêt à imprimer" + }, "actions": { "download": "Download" }, @@ -1626,8 +1636,7 @@ "cards": { "doctorReport": { "title": "Doctor Report", - "description": "Printable PDF for the doctor's appointment — vitals, BMI, BP classification, medication compliance, mood.", - "action": "Configure & generate" + "description": "Printable PDF for the doctor's appointment — vitals, BMI, BP classification, medication compliance, mood." }, "measurementsCsv": { "title": "Measurements", diff --git a/messages/it.json b/messages/it.json index 4a3e0b5ac..2b0752443 100644 --- a/messages/it.json +++ b/messages/it.json @@ -356,7 +356,10 @@ "deleteConfirmDescription": "This measurement will be permanently deleted.", "pageInfo": "Pagina {page} di {total}", "previousPage": "Previous page", - "nextPage": "Next page" + "nextPage": "Next page", + "dailyTotalCaption": "({count} samples)", + "expandDay": "Show samples for this day", + "collapseDay": "Hide samples for this day" }, "mood": { "title": "Umore", @@ -1616,6 +1619,13 @@ "export": { "title": "Esporta", "description": "Download your health data as PDF, CSV, or a full JSON backup.", + "otherOptionsHeading": "Altre opzioni di esportazione", + "hero": { + "eyebrow": "Visita medica", + "valueStatement": "Un referto PDF stampabile per la visita medica — parametri vitali, BMI, classificazione della pressione, aderenza alla terapia e (facoltativamente) l'andamento dell'umore, in poche pagine.", + "cta": "Configura e genera il referto", + "formatHint": "PDF · pronto per la stampa" + }, "actions": { "download": "Download" }, @@ -1626,8 +1636,7 @@ "cards": { "doctorReport": { "title": "Doctor Report", - "description": "Printable PDF for the doctor's appointment — vitals, BMI, BP classification, medication compliance, mood.", - "action": "Configure & generate" + "description": "Printable PDF for the doctor's appointment — vitals, BMI, BP classification, medication compliance, mood." }, "measurementsCsv": { "title": "Measurements", diff --git a/messages/pl.json b/messages/pl.json index 6e33045e4..3d1a02107 100644 --- a/messages/pl.json +++ b/messages/pl.json @@ -356,7 +356,10 @@ "deleteConfirmDescription": "This measurement will be permanently deleted.", "pageInfo": "Strona {page} z {total}", "previousPage": "Previous page", - "nextPage": "Next page" + "nextPage": "Next page", + "dailyTotalCaption": "({count} samples)", + "expandDay": "Show samples for this day", + "collapseDay": "Hide samples for this day" }, "mood": { "title": "Nastrój", @@ -1616,6 +1619,13 @@ "export": { "title": "Eksportuj", "description": "Download your health data as PDF, CSV, or a full JSON backup.", + "otherOptionsHeading": "Inne opcje eksportu", + "hero": { + "eyebrow": "Wizyta u lekarza", + "valueStatement": "Raport PDF do druku na wizytę u lekarza — parametry życiowe, BMI, klasyfikacja ciśnienia, przestrzeganie leczenia oraz (opcjonalnie) zapis nastroju, na kilku stronach.", + "cta": "Skonfiguruj i wygeneruj raport", + "formatHint": "PDF · gotowe do druku" + }, "actions": { "download": "Download" }, @@ -1626,8 +1636,7 @@ "cards": { "doctorReport": { "title": "Doctor Report", - "description": "Printable PDF for the doctor's appointment — vitals, BMI, BP classification, medication compliance, mood.", - "action": "Configure & generate" + "description": "Printable PDF for the doctor's appointment — vitals, BMI, BP classification, medication compliance, mood." }, "measurementsCsv": { "title": "Measurements",