English used the same id-derived Latin title (e.g. "Canticum Ezechiae") for every language. Now English uses the authored name from lauds-canticles.ts when one exists, falling back to the derived title for names already conventional untranslated in English (Benedictus, Magnificat, Nunc Dimittis) and Matins' scripture-ref-derived ids. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HWN869GrMFHqrer9fdCBbF
This commit is contained in:
@@ -34,3 +34,12 @@ export function getCanticle(id: string): Canticle {
|
||||
}
|
||||
return canticle;
|
||||
}
|
||||
|
||||
// Non-throwing lookup for the UI's canticle title — unlike getCanticle,
|
||||
// callers here may pass ids (nunc-dimittis, benedictus, magnificat, or a
|
||||
// Matins nocturn-3 scripture-ref-derived id) that this store never holds,
|
||||
// since only the 7 Lauds weekday OT canticles have an authored English
|
||||
// `name` distinct from their Latin id.
|
||||
export function tryGetCanticleName(id: string): string | undefined {
|
||||
return canticles.get(id)?.name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user