From c42a62d03f84ada52d9998730b9aaca744da54a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sun, 17 May 2026 14:42:40 +0200 Subject: [PATCH] feat(i18n): medication-intake quick-add labels across six locales Add the menu-item label (dashboard.quickAddMedicationIntake) and the dashboard.medicationIntakeQuickAdd block (sheet title, sheet description, field labels, hint, error message, and empty-state copy) to all six locales. The German bundle ships Marc-Voice copy with full UTF-8 umlauts; the other locales mirror the English fallback already in use for the other two quick-add rows until the localisation pass. --- 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, 90 insertions(+) diff --git a/messages/de.json b/messages/de.json index 2b525ab92..ab939a7b6 100644 --- a/messages/de.json +++ b/messages/de.json @@ -244,6 +244,21 @@ "medications": "Medikamente", "quickAddMeasurement": "Messung erfassen", "quickAddMood": "Stimmung erfassen", + "quickAddMedicationIntake": "Medikamenteneinnahme erfassen", + "medicationIntakeQuickAdd": { + "sheetTitle": "Medikamenteneinnahme erfassen", + "sheetDescription": "Dosis, Zeitpunkt und Medikament in wenigen Tipps protokollieren.", + "medicationLabel": "Medikament", + "medicationPlaceholder": "Medikament auswählen", + "doseLabel": "Dosis", + "dosePlaceholder": "z. B. 5 mg", + "doseHint": "Vorbelegt mit der Standarddosis. Bei Bedarf anpassen.", + "timeLabel": "Zeitpunkt", + "saveError": "Einnahme konnte nicht gespeichert werden.", + "emptyTitle": "Noch keine Medikamente angelegt", + "emptyDescription": "Lege zuerst ein Medikament mit Zeitfenster an, damit du die Einnahme protokollieren kannst.", + "emptyCta": "Medikament anlegen" + }, "compliance7d": "Einnahmetreue (7 Tage)", "mood": "Stimmung", "customizeTitle": "Dashboard-Layout", diff --git a/messages/en.json b/messages/en.json index b5f1fb95c..25ebf14e5 100644 --- a/messages/en.json +++ b/messages/en.json @@ -244,6 +244,21 @@ "medications": "Medications", "quickAddMeasurement": "Log measurement", "quickAddMood": "Log mood", + "quickAddMedicationIntake": "Log medication intake", + "medicationIntakeQuickAdd": { + "sheetTitle": "Log medication intake", + "sheetDescription": "Record dose, time, and medication in a few taps.", + "medicationLabel": "Medication", + "medicationPlaceholder": "Select a medication", + "doseLabel": "Dose", + "dosePlaceholder": "e.g. 5 mg", + "doseHint": "Pre-filled with the default dose. Adjust if needed.", + "timeLabel": "Time taken", + "saveError": "Could not save medication intake.", + "emptyTitle": "No medications yet", + "emptyDescription": "Create a medication with a schedule first, then come back here to log the intake.", + "emptyCta": "Add medication" + }, "compliance7d": "Compliance (7 days)", "mood": "Mood", "customizeTitle": "Dashboard layout", diff --git a/messages/es.json b/messages/es.json index 98d04c1bb..6b708be3f 100644 --- a/messages/es.json +++ b/messages/es.json @@ -244,6 +244,21 @@ "medications": "Medicamentos", "quickAddMeasurement": "Log measurement", "quickAddMood": "Log mood", + "quickAddMedicationIntake": "Log medication intake", + "medicationIntakeQuickAdd": { + "sheetTitle": "Log medication intake", + "sheetDescription": "Record dose, time, and medication in a few taps.", + "medicationLabel": "Medication", + "medicationPlaceholder": "Select a medication", + "doseLabel": "Dose", + "dosePlaceholder": "e.g. 5 mg", + "doseHint": "Pre-filled with the default dose. Adjust if needed.", + "timeLabel": "Time taken", + "saveError": "Could not save medication intake.", + "emptyTitle": "No medications yet", + "emptyDescription": "Create a medication with a schedule first, then come back here to log the intake.", + "emptyCta": "Add medication" + }, "compliance7d": "Compliance (7 days)", "mood": "Estado de ánimo", "customizeTitle": "Dashboard layout", diff --git a/messages/fr.json b/messages/fr.json index 415215fa8..d999c37d2 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -244,6 +244,21 @@ "medications": "Médicaments", "quickAddMeasurement": "Log measurement", "quickAddMood": "Log mood", + "quickAddMedicationIntake": "Log medication intake", + "medicationIntakeQuickAdd": { + "sheetTitle": "Log medication intake", + "sheetDescription": "Record dose, time, and medication in a few taps.", + "medicationLabel": "Medication", + "medicationPlaceholder": "Select a medication", + "doseLabel": "Dose", + "dosePlaceholder": "e.g. 5 mg", + "doseHint": "Pre-filled with the default dose. Adjust if needed.", + "timeLabel": "Time taken", + "saveError": "Could not save medication intake.", + "emptyTitle": "No medications yet", + "emptyDescription": "Create a medication with a schedule first, then come back here to log the intake.", + "emptyCta": "Add medication" + }, "compliance7d": "Compliance (7 days)", "mood": "Humeur", "customizeTitle": "Dashboard layout", diff --git a/messages/it.json b/messages/it.json index 0c8ccb335..38b5b3858 100644 --- a/messages/it.json +++ b/messages/it.json @@ -244,6 +244,21 @@ "medications": "Farmaci", "quickAddMeasurement": "Log measurement", "quickAddMood": "Log mood", + "quickAddMedicationIntake": "Log medication intake", + "medicationIntakeQuickAdd": { + "sheetTitle": "Log medication intake", + "sheetDescription": "Record dose, time, and medication in a few taps.", + "medicationLabel": "Medication", + "medicationPlaceholder": "Select a medication", + "doseLabel": "Dose", + "dosePlaceholder": "e.g. 5 mg", + "doseHint": "Pre-filled with the default dose. Adjust if needed.", + "timeLabel": "Time taken", + "saveError": "Could not save medication intake.", + "emptyTitle": "No medications yet", + "emptyDescription": "Create a medication with a schedule first, then come back here to log the intake.", + "emptyCta": "Add medication" + }, "compliance7d": "Compliance (7 days)", "mood": "Umore", "customizeTitle": "Dashboard layout", diff --git a/messages/pl.json b/messages/pl.json index af40e9efd..c4c09d344 100644 --- a/messages/pl.json +++ b/messages/pl.json @@ -244,6 +244,21 @@ "medications": "Leki", "quickAddMeasurement": "Log measurement", "quickAddMood": "Log mood", + "quickAddMedicationIntake": "Log medication intake", + "medicationIntakeQuickAdd": { + "sheetTitle": "Log medication intake", + "sheetDescription": "Record dose, time, and medication in a few taps.", + "medicationLabel": "Medication", + "medicationPlaceholder": "Select a medication", + "doseLabel": "Dose", + "dosePlaceholder": "e.g. 5 mg", + "doseHint": "Pre-filled with the default dose. Adjust if needed.", + "timeLabel": "Time taken", + "saveError": "Could not save medication intake.", + "emptyTitle": "No medications yet", + "emptyDescription": "Create a medication with a schedule first, then come back here to log the intake.", + "emptyCta": "Add medication" + }, "compliance7d": "Compliance (7 days)", "mood": "Nastrój", "customizeTitle": "Dashboard layout",