63f48d26d2
resolveReading() in bible-plan.ts preferred each YAML row's hardcoded
status: { la: missing, en: missing } over computing status from the
actually-resolved text. That field was accurate before the Vulgate/
Douay-Rheims bulk import but was never cleared once real text landed,
so every Matins bible-plan reading kept showing as untranslated
regardless. Strip the stale field from all 368 files so status falls
through to the real compute-from-resolved-text path.
Also alias book abbreviations in scripture/index.ts's lookup: the
bulk-imported store uses Vulgate-numbering codes (sap, jac, joan,
1reg..4reg, 1par/2par, 1esdr/2esdr, ...) matching octave-readings.ts's
existing convention, while bible-plan.ts's TSV import used common
English abbreviations (kgs, sam, chr, john, jas, luke, mark, ...) for
the ~30 books where the two conventions diverge. Alias at the lookup
layer so citations keep their familiar English display form.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Je2mXNHoXmi1DS3xEL67rH
11 lines
293 B
YAML
11 lines
293 B
YAML
# Bulk-imported from the user's bible-plan TSV, row "Monday of Holy Week".
|
|
temporalId: palm-sunday
|
|
weekday: monday
|
|
readings:
|
|
- passages:
|
|
- { book: num, chapter: 28 }
|
|
- { book: num, chapter: 29 }
|
|
- { book: num, chapter: 30 }
|
|
- passages:
|
|
- { book: jer, chapter: 50 }
|