Add name-template substitution for Common-of-a-Holy-Woman's invitatory antiphon
Deploy / deploy (push) Successful in 1m20s

Commune/C7's own invitatory antiphon ("Laudémus Deum nostrum * In
confessióne beátæ N..") needs a per-saint genitive-singular name, unlike
every other Common invitatory antiphon currently authored. Exports
resolve-common.ts's existing substituteName helper (previously only used
by getDayCollect for collectCommon/collectName) and wires it into
resolveMatinsInvitatoryText via a new SaintRecord.invitatoryName field
-- kept separate from collectName since the two templates' {N}
placeholders don't always need the same grammatical case. Fills in real
declined names for the 3 saints using common-of-a-holy-woman (Anne,
Martha, Mary Magdalene).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012AVXS5iTrk3c2anSYVGwxS
This commit is contained in:
2026-08-27 09:26:22 -04:00
parent f55cd46272
commit 366ada1b26
8 changed files with 74 additions and 8 deletions
+6
View File
@@ -13,3 +13,9 @@ propers: "st-anne"
# already live-query-verified for common-of-a-virgin.yml (see TODO.md's
# 'minor hour content gaps' section).
minorHoursCommon: common-of-a-virgin
# Common-of-a-Holy-Woman's own Matins invitatory antiphon needs a
# genitive-singular {N} ("beátæ N..", matins-invitatory-common-of-a-
# holy-woman.yml) -- standard Latin 1st-declension genitive of "Anna".
invitatoryName:
la: ["Annæ"]
en: ["Anne"]
+6
View File
@@ -21,3 +21,9 @@ collectName:
en: ["Martha"]
minorHoursCommon: common-of-a-virgin
benedictusCommon: common-of-a-virgin
# Same genitive form as collectName above -- collect-c6a's own "beátæ {N}
# Vírginis tuæ" and the Matins invitatory's "beátæ N.." are both this
# same genitive-singular position.
invitatoryName:
la: ["Marthæ"]
en: ["Martha"]
@@ -14,3 +14,10 @@ propers: "st-mary-magdalene"
# already live-query-verified for common-of-a-virgin.yml (see TODO.md's
# 'minor hour content gaps' section).
minorHoursCommon: common-of-a-virgin
# Common-of-a-Holy-Woman's own Matins invitatory antiphon needs a
# genitive-singular {N} ("beátæ N..", matins-invitatory-common-of-a-
# holy-woman.yml) -- standard Latin genitive of "Maria Magdalena", both
# parts declined.
invitatoryName:
la: ["Maríæ Magdalénæ"]
en: ["Mary Magdalene"]
@@ -0,0 +1,19 @@
# The Common-of-a-Holy-Woman's own invitatory antiphon, read from the
# reference engine's own Commune/C7.txt [Invit] line (both languages) --
# a name-template text, not a fixed one like every other Common category's
# invitatory antiphon in this app: the literal `{N}` here stands for the
# winning saint's own name in genitive-singular Latin ("beátæ N.." =
# "of blessed N."), substituted at read time by
# hours/matins.ts's resolveMatinsInvitatoryText via hours/resolve-
# common.ts's substituteName (SaintRecord.invitatoryName) -- the same
# mechanism getDayCollect already uses for collectCommon/collectName,
# just for this separate template family. Any winning holy woman with no
# proper invitatory antiphon of her own authored falls to this Common
# tier.
id: matins-invitatory-common-of-a-holy-woman
text:
la: "Laudémus Deum nostrum * In confessióne beátæ {N}.."
en: "Let us praise our God * for the confession of blessed {N}."
status:
la: verified
en: verified