Add bilingual day-label headers with Latin weekday/season/ordinal vocabulary

Builds every day label as a {en, la} pair (weekdays, ranks, season/ordinal
phrasing authored in Latin; proper names without an authored Latin form
fall back to their English string) and merges the date+day-label into one
header in the day-nav bar.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-19 05:27:44 -04:00
parent ef71d9c5bc
commit e7bbc7c9f5
12 changed files with 415 additions and 143 deletions
+6 -6
View File
@@ -269,11 +269,11 @@ export interface ResolvedOrdo {
/** Set when this hour hasn't been built yet — UI shows "coming soon" instead of empty content. */
notImplemented?: true;
/**
* "Monday in the 10th week after Trinity", "St. Ereden — ...", etc.
* see calendar/day-label.ts. Computed from whichever LiturgicalDay the
* hour actually resolved against, which can differ from `date` itself
* (Compline may anticipate tomorrow — see calendar/vespers.ts). Absent
* on not-yet-built hours.
* "Monday in the 10th week after Trinity", "St. Ereden — ...", etc.,
* keyed by language code (`en`/`la`) — see calendar/day-label.ts.
* Computed from whichever LiturgicalDay the hour actually resolved
* against, which can differ from `date` itself (Compline may anticipate
* tomorrow — see calendar/vespers.ts). Absent on not-yet-built hours.
*/
dayLabel?: string;
dayLabel?: Partial<Record<string, string>>;
}