Add nameLa mechanism for bilingual header, proof set of 11 feasts + St. Lawrence
Deploy / deploy (push) Successful in 1m32s
Deploy / deploy (push) Successful in 1m32s
Threads an optional nameLa field through SanctoralIdentity/SaintRecord/ TemporalFeastRecord/ActiveOctave so day-label.ts can render real Latin proper names instead of always falling back to English. Authors the proof set: all 11 named temporal feasts plus St. Lawrence (chosen to exercise the octave-headline and octave-commemoration code paths too). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EwsZQMjALCvy7u9tFDWmuQ
This commit is contained in:
@@ -103,6 +103,11 @@ export type TemporalCategory =
|
||||
export interface SanctoralIdentity {
|
||||
id: string;
|
||||
name: string;
|
||||
/** Latin form of `name`, when authored (see `data/calendar/saints/*.yml`'s
|
||||
* own `nameLa` field). Absent for the majority of saints still — display
|
||||
* code falls back to `name` itself when this is missing, same "surface
|
||||
* real text rather than block on missing" convention used elsewhere. */
|
||||
nameLa?: string;
|
||||
rank: FeastClass;
|
||||
}
|
||||
|
||||
@@ -180,7 +185,7 @@ export type Commemoration =
|
||||
// carries no such qualifier.
|
||||
vespersNote?: 'today' | 'tomorrow';
|
||||
} & SanctoralIdentity)
|
||||
| { kind: 'octave'; id: string; name: string };
|
||||
| { kind: 'octave'; id: string; name: string; nameLa?: string };
|
||||
|
||||
export interface LiturgicalDay {
|
||||
/** ISO date, e.g. "2026-08-09" */
|
||||
|
||||
Reference in New Issue
Block a user