Make octave-reading source attribution bilingual

The heading above each Matins octave reading was a bare Latin string
(e.g. "Sermo sancti Bernárdi Abbátis") rendered as-is in both the
Latin and English columns, since the app shows both languages side
by side rather than toggling. Widen OctaveReadingText.source and the
lesson part's label to carry per-language text, and render it as its
own lang-columns row like the body text beneath it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L3wxvz3mPXiHxkPB5JpnmD
This commit is contained in:
2026-08-21 08:04:03 -04:00
parent a7da8b0211
commit b52b202909
5 changed files with 41 additions and 9 deletions
+6 -4
View File
@@ -21,9 +21,11 @@ export interface ScriptureCitation {
export interface OctaveReadingText {
id: string;
/** Attribution for the reading — author and work, e.g. "St. John
* Damascene, 2nd Sermon on the Dormition of the Mother of God". Not
* itself translated/localized. */
source: string;
* Damascene, 2nd Sermon on the Dormition of the Mother of God". Bilingual
* like everything else here since it's rendered as the reading's own
* heading in both language columns (2026-08-21 fix: it used to be a bare
* Latin incipit shown verbatim in the English column too). */
source: Partial<Record<LanguageCode, string>>;
text: Partial<Record<LanguageCode, string>>;
/** The first responsory following the reading in the source, where one
* was found — which one to use when several lessons (and several
@@ -51,7 +53,7 @@ export interface OctaveReadingText {
*/
interface OctaveReadingRecord {
id: string;
source: string;
source: Partial<Record<LanguageCode, string>>;
text?: Partial<Record<LanguageCode, string>>;
passages?: ScriptureCitation[];
responsory?: Partial<Record<LanguageCode, string>>;