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:
@@ -46,6 +46,7 @@ describe('transfer mechanism (resolveDay integration)', () => {
|
||||
kind: 'sanctoral',
|
||||
id: 'st-lawrence',
|
||||
name: 'St. Lawrence, Martyr',
|
||||
nameLa: 'Sanctus Laurentius, Martyr',
|
||||
rank: 'duplex-2-classis',
|
||||
});
|
||||
});
|
||||
@@ -74,7 +75,7 @@ describe('transfer mechanism (resolveDay integration)', () => {
|
||||
expect(saturday.winner).toEqual({ kind: 'temporal', id: 'pentecost-sunday' });
|
||||
expect(saturday.commemorations).toEqual([
|
||||
{ kind: 'sanctoral', id: 'st-felix-i', name: 'St. Felix I, Pope and Martyr', rank: 'simplex' },
|
||||
{ kind: 'octave', id: 'pentecost-sunday', name: 'Pentecost' },
|
||||
{ kind: 'octave', id: 'pentecost-sunday', name: 'Pentecost', nameLa: 'Dominica Pentecostes' },
|
||||
]);
|
||||
|
||||
// Felix doesn't reach Trinity Sunday at all now. Trinity Sunday 2026
|
||||
@@ -93,7 +94,7 @@ describe('transfer mechanism (resolveDay integration)', () => {
|
||||
});
|
||||
expect(sunday.commemorations).toEqual([
|
||||
{ kind: 'temporal', id: 'post-pentecost-01' },
|
||||
{ kind: 'octave', id: 'pentecost-sunday', name: 'Pentecost' },
|
||||
{ kind: 'octave', id: 'pentecost-sunday', name: 'Pentecost', nameLa: 'Dominica Pentecostes' },
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user