Bulk-author nameLa for all 299 remaining saints, close bilingual header backlog
Deploy / deploy (push) Successful in 1m31s
Deploy / deploy (push) Successful in 1m31s
Authors a real Latin nameLa for every saint in src/data/calendar/saints/ except the deliberate example-confessor placeholder (standard ecclesiastical Latin forms, a lighter sourcing bar than this app's usual reference-engine verification -- flagged for future spot-check). Fixes a real mechanism bug found in the process: calendar/index.ts's sanctoral collision-resolution branch was dropping nameLa for any saint that won after beating another same-day candidate. Updates ~180 pre-existing test fixtures across the calendar suite for the new field. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EwsZQMjALCvy7u9tFDWmuQ
This commit is contained in:
@@ -36,12 +36,13 @@ describe('getDayLabel — ordinal temporal label', () => {
|
||||
);
|
||||
expect(getDayLabel(resolveDay('2026-04-05')).en).toBe('Easter (Duplex I Class)');
|
||||
expect(getDayLabel(resolveDay('2026-02-18')).en).toBe('Ash Wednesday');
|
||||
// Latin: no authored Latin saint name exists yet, so the winner's name
|
||||
// falls back to the same English string (see file header) — only the
|
||||
// rank label ("Duplex II. Classis") and the commemorated Sunday's own
|
||||
// name ("Dominica Sanctissimae Trinitatis") are real Latin.
|
||||
// Latin: the winner now has a real authored nameLa (see
|
||||
// calendar/data/calendar/saints/queenship-of-the-bvm.yml), so this is
|
||||
// real Latin throughout — the rank label ("Duplex II. Classis") and
|
||||
// the commemorated Sunday's own name ("Dominica Sanctissimae
|
||||
// Trinitatis") were already real Latin before this.
|
||||
expect(getDayLabel(resolveDay('2026-05-31')).la).toBe(
|
||||
'The Queenship of the Blessed Virgin Mary (Duplex II. Classis) — Dominica Sanctissimae Trinitatis',
|
||||
'Beata Maria Virgo Regina (Duplex II. Classis) — Dominica Sanctissimae Trinitatis',
|
||||
);
|
||||
expect(getDayLabel(resolveDay('2026-04-05')).la).toBe('Pascha (Duplex I. Classis)');
|
||||
expect(getDayLabel(resolveDay('2026-02-18')).la).toBe('Feria Quarta Cinerum');
|
||||
|
||||
Reference in New Issue
Block a user