From 2b91953cc939c6dfdac575a593745501f95fe3d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 8 Oct 2026 18:39:30 +0200 Subject: [PATCH] Title the illness page as the navigation names it The page called itself 'Krankheitstagebuch' while the navigation says 'Krankheit', and at 390 px the long word broke with a hyphen beside the header actions. The title now reads the navigation label in every locale. --- messages/de.json | 2 +- messages/en.json | 2 +- messages/es.json | 2 +- messages/fr.json | 2 +- messages/it.json | 2 +- messages/ko.json | 2 +- messages/pl.json | 2 +- src/components/ui/page-header.tsx | 6 +++--- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/messages/de.json b/messages/de.json index b8a9af176..a85e3273a 100644 --- a/messages/de.json +++ b/messages/de.json @@ -9796,7 +9796,7 @@ } }, "illness": { - "title": "Krankheitstagebuch", + "title": "Krankheit", "subtitle": "Ein rückblickendes Protokoll deiner Krankheits- und Beschwerde-Episoden.", "settings": { "viewDescription": "Wähle, ob Episoden als Karten oder als kompakte Liste erscheinen.", diff --git a/messages/en.json b/messages/en.json index b6118a75a..86645a1e4 100644 --- a/messages/en.json +++ b/messages/en.json @@ -9796,7 +9796,7 @@ } }, "illness": { - "title": "Illness journal", + "title": "Illness", "subtitle": "A retrospective log of your illness and condition episodes.", "settings": { "viewDescription": "Choose whether episodes show as cards or as a compact list.", diff --git a/messages/es.json b/messages/es.json index 1a38046b8..30a3741db 100644 --- a/messages/es.json +++ b/messages/es.json @@ -9796,7 +9796,7 @@ } }, "illness": { - "title": "Diario de enfermedad", + "title": "Enfermedad", "subtitle": "Un registro retrospectivo de tus episodios de enfermedad y dolencias.", "settings": { "viewDescription": "Elige si los episodios se muestran como tarjetas o como lista compacta.", diff --git a/messages/fr.json b/messages/fr.json index 42b9faffe..8397776d8 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -9796,7 +9796,7 @@ } }, "illness": { - "title": "Journal de maladie", + "title": "Maladie", "subtitle": "Un suivi rétrospectif de vos épisodes de maladie et d'affections.", "settings": { "viewDescription": "Choisis si les épisodes s'affichent en cartes ou en liste compacte.", diff --git a/messages/it.json b/messages/it.json index a85fb57dd..428691394 100644 --- a/messages/it.json +++ b/messages/it.json @@ -9796,7 +9796,7 @@ } }, "illness": { - "title": "Diario delle malattie", + "title": "Malattia", "subtitle": "Un registro retrospettivo dei tuoi episodi di malattia e disturbi.", "settings": { "viewDescription": "Scegli se gli episodi appaiono come schede o come elenco compatto.", diff --git a/messages/ko.json b/messages/ko.json index 4f2c415a4..48f25e772 100644 --- a/messages/ko.json +++ b/messages/ko.json @@ -9796,7 +9796,7 @@ } }, "illness": { - "title": "아픈 날 일지", + "title": "아픈 날", "subtitle": "아픈 날과 컨디션 에피소드를 돌아보는 기록이에요.", "settings": { "viewDescription": "에피소드를 카드로 볼지 간단한 목록으로 볼지 선택하세요.", diff --git a/messages/pl.json b/messages/pl.json index 13e7dc9c8..1f4892372 100644 --- a/messages/pl.json +++ b/messages/pl.json @@ -9796,7 +9796,7 @@ } }, "illness": { - "title": "Dziennik chorób", + "title": "Choroba", "subtitle": "Retrospektywny zapis Twoich epizodów chorób i dolegliwości.", "settings": { "viewDescription": "Wybierz, czy epizody mają być wyświetlane jako karty czy zwarta lista.", diff --git a/src/components/ui/page-header.tsx b/src/components/ui/page-header.tsx index 1efd6b16a..7b52036e7 100644 --- a/src/components/ui/page-header.tsx +++ b/src/components/ui/page-header.tsx @@ -27,9 +27,9 @@ import { cn } from "@/lib/utils"; * they drifted apart from every module page in the first place. */ /** - * A one-word German title ("Krankheitstagebuch") is wider than the column a - * phone leaves beside the actions, and without a break opportunity it ran - * underneath them. `hyphens-auto` breaks it by the page's `lang`; the + * A long one-word German title (the illness page was once + * "Krankheitstagebuch") is wider than the column a phone leaves beside the + * actions, and without a break opportunity it ran underneath them. `hyphens-auto` breaks it by the page's `lang`; the * `wrap-break-word` floor covers a word the hyphenation dictionary does not. */ const HEADING_CLASS =