From 308d9c9d6d725803d883e0c5020721b7be61979c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Mon, 1 Jun 2026 22:55:23 +0200 Subject: [PATCH] i18n(medications): add short step labels and jump-navigation copy for the wizard stepper --- messages/de.json | 30 +++++++++++++++++++++--------- messages/en.json | 30 +++++++++++++++++++++--------- messages/es.json | 30 +++++++++++++++++++++--------- messages/fr.json | 30 +++++++++++++++++++++--------- messages/it.json | 30 +++++++++++++++++++++--------- messages/pl.json | 30 +++++++++++++++++++++--------- 6 files changed, 126 insertions(+), 54 deletions(-) diff --git a/messages/de.json b/messages/de.json index 1b2965760..aca919e6b 100644 --- a/messages/de.json +++ b/messages/de.json @@ -804,7 +804,11 @@ "back": "Zurück", "next": "Weiter", "save": "Speichern", - "saveEdit": "Änderungen speichern" + "saveEdit": "Änderungen speichern", + "nextHint": "Weiter: {step}", + "reviewHint": "Weiter: Speichern", + "jumpFirst": "Zum ersten Schritt springen", + "jumpLast": "Zur Übersicht und zum Speichern springen" }, "nl": { "button": "Beschreiben" @@ -814,11 +818,13 @@ "title": "Wie heißt das Medikament?", "subline": "Genau so wie es auf der Packung steht.", "label": "Name", - "placeholder": "z. B. Ramipril" + "placeholder": "z. B. Ramipril", + "short": "Name" }, "step2": { "title": "Was für ein Medikament ist das?", - "subline": "Wir nutzen das für passende Vorlagen und Auswertungen." + "subline": "Wir nutzen das für passende Vorlagen und Auswertungen.", + "short": "Art" }, "step3": { "title": "Wie hoch ist die Dosis?", @@ -850,15 +856,18 @@ "dosesPerUnitPlaceholder": "z. B. 4", "dosesPerUnitHint": "Dosen pro Pen / Ampulle — leer lassen, wenn kein Bestand getrackt wird.", "injectionSiteToggle": "Injektionsstellen-Rotation", - "injectionSiteHint": "Optionaler Rotationshelfer. Die Stelle jeder Dosis wird beim Eintragen der Einnahme erfasst." + "injectionSiteHint": "Optionaler Rotationshelfer. Die Stelle jeder Dosis wird beim Eintragen der Einnahme erfasst.", + "short": "Dosis" }, "step4": { "title": "Über welchen Zeitraum nimmst du es?", - "subline": "Heute reicht ein Startdatum. Ein Ende kannst du später setzen." + "subline": "Heute reicht ein Startdatum. Ein Ende kannst du später setzen.", + "short": "Zeitraum" }, "step5": { "title": "Wie oft nimmst du es?", - "subline": "Wähle die Regelmäßigkeit — die Details kommen im nächsten Schritt." + "subline": "Wähle die Regelmäßigkeit — die Details kommen im nächsten Schritt.", + "short": "Takt" }, "step6": { "title": "Wie sieht das im Detail aus?", @@ -874,7 +883,8 @@ "rollingDays": { "label": "Alle", "suffix": "Tage ab der letzten Einnahme" - } + }, + "short": "Details" }, "step7": { "title": "Wann nimmst du es?", @@ -885,14 +895,16 @@ "noon": "Mittags", "evening": "Abends", "night": "Nachts" - } + }, + "short": "Zeiten" }, "step8": { "title": "Fertig — soll HealthLog dich erinnern?", "subline": "Du kannst alles unten nochmal prüfen, bevor du speicherst.", "remindersLabel": "Erinnerungen aktiv", "remindersDescription": "Push, Telegram oder ntfy — je nach deinen Einstellungen.", - "multiScheduleNote": "Dieses Medikament hat mehrere Zeitpläne. Den Detail-Editor öffnen wir in einer späteren Version." + "multiScheduleNote": "Dieses Medikament hat mehrere Zeitpläne. Den Detail-Editor öffnen wir in einer späteren Version.", + "short": "Fertig" } }, "classRow": { diff --git a/messages/en.json b/messages/en.json index 66dd819e2..98da77bdc 100644 --- a/messages/en.json +++ b/messages/en.json @@ -804,7 +804,11 @@ "back": "Back", "next": "Next", "save": "Save", - "saveEdit": "Save changes" + "saveEdit": "Save changes", + "nextHint": "Next: {step}", + "reviewHint": "Next: Save", + "jumpFirst": "Jump to the first step", + "jumpLast": "Jump to review and save" }, "nl": { "button": "Describe" @@ -814,11 +818,13 @@ "title": "What's the medication called?", "subline": "Exactly as it appears on the box.", "label": "Name", - "placeholder": "e.g. Ramipril" + "placeholder": "e.g. Ramipril", + "short": "Name" }, "step2": { "title": "What kind of medication is it?", - "subline": "We use this for the right templates and analytics." + "subline": "We use this for the right templates and analytics.", + "short": "Type" }, "step3": { "title": "What's the dose?", @@ -850,15 +856,18 @@ "dosesPerUnitPlaceholder": "e.g. 4", "dosesPerUnitHint": "Doses per pen / vial — leave empty for no inventory tracking.", "injectionSiteToggle": "Injection-site rotation", - "injectionSiteHint": "Optional rotation guide. The site for each dose is recorded when you log the intake." + "injectionSiteHint": "Optional rotation guide. The site for each dose is recorded when you log the intake.", + "short": "Dose" }, "step4": { "title": "Over what period are you taking it?", - "subline": "A start date is enough for today. You can add an end date later." + "subline": "A start date is enough for today. You can add an end date later.", + "short": "When" }, "step5": { "title": "How often do you take it?", - "subline": "Pick the cadence — the details follow on the next step." + "subline": "Pick the cadence — the details follow on the next step.", + "short": "Cadence" }, "step6": { "title": "What does that look like in detail?", @@ -874,7 +883,8 @@ "rollingDays": { "label": "Every", "suffix": "days from the last intake" - } + }, + "short": "Detail" }, "step7": { "title": "When do you take it?", @@ -885,14 +895,16 @@ "noon": "Noon", "evening": "Evening", "night": "Night" - } + }, + "short": "Times" }, "step8": { "title": "All done — should HealthLog remind you?", "subline": "Review everything below before you save.", "remindersLabel": "Reminders on", "remindersDescription": "Push, Telegram or ntfy — based on your settings.", - "multiScheduleNote": "This medication has multiple schedules. The detailed editor returns in a later release." + "multiScheduleNote": "This medication has multiple schedules. The detailed editor returns in a later release.", + "short": "Done" } }, "classRow": { diff --git a/messages/es.json b/messages/es.json index 6a3b5b635..dfffd48e9 100644 --- a/messages/es.json +++ b/messages/es.json @@ -804,7 +804,11 @@ "back": "Back", "next": "Next", "save": "Save", - "saveEdit": "Save changes" + "saveEdit": "Save changes", + "nextHint": "Siguiente: {step}", + "reviewHint": "Siguiente: Guardar", + "jumpFirst": "Ir al primer paso", + "jumpLast": "Ir a revisar y guardar" }, "nl": { "button": "Describe" @@ -814,11 +818,13 @@ "title": "What's the medication called?", "subline": "Exactly as it appears on the box.", "label": "Name", - "placeholder": "e.g. Ramipril" + "placeholder": "e.g. Ramipril", + "short": "Nombre" }, "step2": { "title": "What kind of medication is it?", - "subline": "We use this for the right templates and analytics." + "subline": "We use this for the right templates and analytics.", + "short": "Tipo" }, "step3": { "title": "What's the dose?", @@ -850,15 +856,18 @@ "dosesPerUnitPlaceholder": "p. ej. 4", "dosesPerUnitHint": "Dosis por pluma / vial — déjalo vacío para no controlar el inventario.", "injectionSiteToggle": "Rotación del sitio de inyección", - "injectionSiteHint": "Guía de rotación opcional. El sitio de cada dosis se registra al anotar la toma." + "injectionSiteHint": "Guía de rotación opcional. El sitio de cada dosis se registra al anotar la toma.", + "short": "Dosis" }, "step4": { "title": "Over what period are you taking it?", - "subline": "A start date is enough for today. You can add an end date later." + "subline": "A start date is enough for today. You can add an end date later.", + "short": "Cuándo" }, "step5": { "title": "How often do you take it?", - "subline": "Pick the cadence — the details follow on the next step." + "subline": "Pick the cadence — the details follow on the next step.", + "short": "Frecuencia" }, "step6": { "title": "What does that look like in detail?", @@ -874,7 +883,8 @@ "rollingDays": { "label": "Every", "suffix": "days from the last intake" - } + }, + "short": "Detalle" }, "step7": { "title": "When do you take it?", @@ -885,14 +895,16 @@ "noon": "Noon", "evening": "Evening", "night": "Night" - } + }, + "short": "Horas" }, "step8": { "title": "All done — should HealthLog remind you?", "subline": "Review everything below before you save.", "remindersLabel": "Reminders on", "remindersDescription": "Push, Telegram or ntfy — based on your settings.", - "multiScheduleNote": "This medication has multiple schedules. The detailed editor returns in a later release." + "multiScheduleNote": "This medication has multiple schedules. The detailed editor returns in a later release.", + "short": "Listo" } }, "classRow": { diff --git a/messages/fr.json b/messages/fr.json index 945c3232d..8053b2ac4 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -804,7 +804,11 @@ "back": "Back", "next": "Next", "save": "Save", - "saveEdit": "Save changes" + "saveEdit": "Save changes", + "nextHint": "Suivant : {step}", + "reviewHint": "Suivant : Enregistrer", + "jumpFirst": "Aller à la première étape", + "jumpLast": "Aller à la vérification et à l’enregistrement" }, "nl": { "button": "Describe" @@ -814,11 +818,13 @@ "title": "What's the medication called?", "subline": "Exactly as it appears on the box.", "label": "Name", - "placeholder": "e.g. Ramipril" + "placeholder": "e.g. Ramipril", + "short": "Nom" }, "step2": { "title": "What kind of medication is it?", - "subline": "We use this for the right templates and analytics." + "subline": "We use this for the right templates and analytics.", + "short": "Type" }, "step3": { "title": "What's the dose?", @@ -850,15 +856,18 @@ "dosesPerUnitPlaceholder": "p. ex. 4", "dosesPerUnitHint": "Doses par stylo / flacon — laisser vide pour ne pas suivre le stock.", "injectionSiteToggle": "Rotation des sites d'injection", - "injectionSiteHint": "Guide de rotation facultatif. Le site de chaque dose est enregistré lors de la saisie de la prise." + "injectionSiteHint": "Guide de rotation facultatif. Le site de chaque dose est enregistré lors de la saisie de la prise.", + "short": "Dose" }, "step4": { "title": "Over what period are you taking it?", - "subline": "A start date is enough for today. You can add an end date later." + "subline": "A start date is enough for today. You can add an end date later.", + "short": "Quand" }, "step5": { "title": "How often do you take it?", - "subline": "Pick the cadence — the details follow on the next step." + "subline": "Pick the cadence — the details follow on the next step.", + "short": "Fréquence" }, "step6": { "title": "What does that look like in detail?", @@ -874,7 +883,8 @@ "rollingDays": { "label": "Every", "suffix": "days from the last intake" - } + }, + "short": "Détail" }, "step7": { "title": "When do you take it?", @@ -885,14 +895,16 @@ "noon": "Noon", "evening": "Evening", "night": "Night" - } + }, + "short": "Heures" }, "step8": { "title": "All done — should HealthLog remind you?", "subline": "Review everything below before you save.", "remindersLabel": "Reminders on", "remindersDescription": "Push, Telegram or ntfy — based on your settings.", - "multiScheduleNote": "This medication has multiple schedules. The detailed editor returns in a later release." + "multiScheduleNote": "This medication has multiple schedules. The detailed editor returns in a later release.", + "short": "Fini" } }, "classRow": { diff --git a/messages/it.json b/messages/it.json index 824be31d4..c3cac5c7f 100644 --- a/messages/it.json +++ b/messages/it.json @@ -804,7 +804,11 @@ "back": "Back", "next": "Next", "save": "Save", - "saveEdit": "Save changes" + "saveEdit": "Save changes", + "nextHint": "Avanti: {step}", + "reviewHint": "Avanti: Salva", + "jumpFirst": "Vai al primo passaggio", + "jumpLast": "Vai a revisione e salvataggio" }, "nl": { "button": "Describe" @@ -814,11 +818,13 @@ "title": "What's the medication called?", "subline": "Exactly as it appears on the box.", "label": "Name", - "placeholder": "e.g. Ramipril" + "placeholder": "e.g. Ramipril", + "short": "Nome" }, "step2": { "title": "What kind of medication is it?", - "subline": "We use this for the right templates and analytics." + "subline": "We use this for the right templates and analytics.", + "short": "Tipo" }, "step3": { "title": "What's the dose?", @@ -850,15 +856,18 @@ "dosesPerUnitPlaceholder": "es. 4", "dosesPerUnitHint": "Dosi per penna / fiala — lascia vuoto per non tracciare le scorte.", "injectionSiteToggle": "Rotazione del sito di iniezione", - "injectionSiteHint": "Guida alla rotazione facoltativa. Il sito di ogni dose viene registrato al momento della registrazione dell'assunzione." + "injectionSiteHint": "Guida alla rotazione facoltativa. Il sito di ogni dose viene registrato al momento della registrazione dell'assunzione.", + "short": "Dose" }, "step4": { "title": "Over what period are you taking it?", - "subline": "A start date is enough for today. You can add an end date later." + "subline": "A start date is enough for today. You can add an end date later.", + "short": "Quando" }, "step5": { "title": "How often do you take it?", - "subline": "Pick the cadence — the details follow on the next step." + "subline": "Pick the cadence — the details follow on the next step.", + "short": "Frequenza" }, "step6": { "title": "What does that look like in detail?", @@ -874,7 +883,8 @@ "rollingDays": { "label": "Every", "suffix": "days from the last intake" - } + }, + "short": "Dettaglio" }, "step7": { "title": "When do you take it?", @@ -885,14 +895,16 @@ "noon": "Noon", "evening": "Evening", "night": "Night" - } + }, + "short": "Orari" }, "step8": { "title": "All done — should HealthLog remind you?", "subline": "Review everything below before you save.", "remindersLabel": "Reminders on", "remindersDescription": "Push, Telegram or ntfy — based on your settings.", - "multiScheduleNote": "This medication has multiple schedules. The detailed editor returns in a later release." + "multiScheduleNote": "This medication has multiple schedules. The detailed editor returns in a later release.", + "short": "Fatto" } }, "classRow": { diff --git a/messages/pl.json b/messages/pl.json index 3d917ebd5..eda914fea 100644 --- a/messages/pl.json +++ b/messages/pl.json @@ -804,7 +804,11 @@ "back": "Back", "next": "Next", "save": "Save", - "saveEdit": "Save changes" + "saveEdit": "Save changes", + "nextHint": "Dalej: {step}", + "reviewHint": "Dalej: Zapisz", + "jumpFirst": "Przejdź do pierwszego kroku", + "jumpLast": "Przejdź do podsumowania i zapisu" }, "nl": { "button": "Describe" @@ -814,11 +818,13 @@ "title": "What's the medication called?", "subline": "Exactly as it appears on the box.", "label": "Name", - "placeholder": "e.g. Ramipril" + "placeholder": "e.g. Ramipril", + "short": "Nazwa" }, "step2": { "title": "What kind of medication is it?", - "subline": "We use this for the right templates and analytics." + "subline": "We use this for the right templates and analytics.", + "short": "Typ" }, "step3": { "title": "What's the dose?", @@ -850,15 +856,18 @@ "dosesPerUnitPlaceholder": "np. 4", "dosesPerUnitHint": "Dawki na wstrzykiwacz / fiolkę — zostaw puste, aby nie śledzić zapasów.", "injectionSiteToggle": "Rotacja miejsc wstrzyknięcia", - "injectionSiteHint": "Opcjonalny przewodnik rotacji. Miejsce każdej dawki zapisywane jest przy rejestrowaniu przyjęcia." + "injectionSiteHint": "Opcjonalny przewodnik rotacji. Miejsce każdej dawki zapisywane jest przy rejestrowaniu przyjęcia.", + "short": "Dawka" }, "step4": { "title": "Over what period are you taking it?", - "subline": "A start date is enough for today. You can add an end date later." + "subline": "A start date is enough for today. You can add an end date later.", + "short": "Kiedy" }, "step5": { "title": "How often do you take it?", - "subline": "Pick the cadence — the details follow on the next step." + "subline": "Pick the cadence — the details follow on the next step.", + "short": "Częstotliwość" }, "step6": { "title": "What does that look like in detail?", @@ -874,7 +883,8 @@ "rollingDays": { "label": "Every", "suffix": "days from the last intake" - } + }, + "short": "Szczegóły" }, "step7": { "title": "When do you take it?", @@ -885,14 +895,16 @@ "noon": "Noon", "evening": "Evening", "night": "Night" - } + }, + "short": "Godziny" }, "step8": { "title": "All done — should HealthLog remind you?", "subline": "Review everything below before you save.", "remindersLabel": "Reminders on", "remindersDescription": "Push, Telegram or ntfy — based on your settings.", - "multiScheduleNote": "This medication has multiple schedules. The detailed editor returns in a later release." + "multiScheduleNote": "This medication has multiple schedules. The detailed editor returns in a later release.", + "short": "Gotowe" } }, "classRow": {