diff --git a/frontend/messages/de.json b/frontend/messages/de.json index 5590c6b7..a058a329 100644 --- a/frontend/messages/de.json +++ b/frontend/messages/de.json @@ -302,7 +302,6 @@ "date_season_summer": "Sommer", "date_season_autumn": "Herbst", "date_season_winter": "Winter", - "date_original_label": "Originaltext:", "date_unknown_icon_label": "Datum unbekannt", "form_label_date_precision": "Datumsgenauigkeit", "form_label_date_end": "Enddatum", diff --git a/frontend/messages/en.json b/frontend/messages/en.json index 5b7c2698..2c771571 100644 --- a/frontend/messages/en.json +++ b/frontend/messages/en.json @@ -302,7 +302,6 @@ "date_season_summer": "Summer", "date_season_autumn": "Autumn", "date_season_winter": "Winter", - "date_original_label": "Original:", "date_unknown_icon_label": "Date unknown", "form_label_date_precision": "Date precision", "form_label_date_end": "End date", diff --git a/frontend/messages/es.json b/frontend/messages/es.json index 4e856892..aab63403 100644 --- a/frontend/messages/es.json +++ b/frontend/messages/es.json @@ -302,7 +302,6 @@ "date_season_summer": "Verano", "date_season_autumn": "Otoño", "date_season_winter": "Invierno", - "date_original_label": "Texto original:", "date_unknown_icon_label": "Fecha desconocida", "form_label_date_precision": "Precisión de la fecha", "form_label_date_end": "Fecha final", diff --git a/frontend/src/lib/shared/utils/documentDate.ts b/frontend/src/lib/shared/utils/documentDate.ts index d1965cb5..bc5aa5d7 100644 --- a/frontend/src/lib/shared/utils/documentDate.ts +++ b/frontend/src/lib/shared/utils/documentDate.ts @@ -20,8 +20,7 @@ export type DatePrecision = 'DAY' | 'MONTH' | 'SEASON' | 'YEAR' | 'RANGE' | 'APP * {@code DocumentTitleFormatter}: both are asserted against * `docs/date-label-fixtures.json` so they cannot drift. The untrusted `raw` * cell is only used to derive a season word (a known German season token) — it - * is otherwise rendered separately by the caller via Svelte default escaping, - * never interpolated into HTML here. + * is never displayed and never interpolated into HTML here. * * @param iso the sort/filter anchor day (`YYYY-MM-DD`), nullable for UNKNOWN rows * @param precision descriptive precision metadata @@ -82,8 +81,7 @@ function seasonLabel( ): string { const month = Number(iso.slice(5, 7)); // Prefer the season named in the raw cell; fall back to deriving it from the - // anchor month. Either way the WORD is localized (Decision 4) — the verbatim - // German raw cell is preserved separately as the visible secondary line. + // anchor month. Either way the WORD is localized (Decision 4). const season = seasonFromRaw(raw) ?? seasonOfMonth(month); return `${seasonWord(season, locale)} ${year}`; }