From 88ade3a7b7e15e6742d367bdc4b95b1293b92429 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Mon, 27 Jul 2026 15:22:14 +0200 Subject: feat: EF temporal Sunday lectionary (offline Sunday Mass readings) Unique temporal-day slugs (season-sunday-week); scripts/genlect.go generates tridentine-lectionary.ini from missalemeum keyed by slug (55 entries: the Sundays of the whole EF year). caldata.TemporalReadings(form,slug) lookup; --liturgy resolves proper-of-feast else the temporal cycle and renders the text. bible.ParseRef strips abbreviation dots (1 Cor. -> 1 Cor). 52/53 Sundays fully resolve offline. --- internal/bible/booktable.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/bible/booktable.go') diff --git a/internal/bible/booktable.go b/internal/bible/booktable.go index de8995c..ffa3907 100644 --- a/internal/bible/booktable.go +++ b/internal/bible/booktable.go @@ -139,6 +139,7 @@ func (t *BookTable) Books(dialect string) []BookInfo { // normalizeSigla. func (t *BookTable) ParseRef(dialect, input string) (string, bool) { low := strings.ToLower(strings.Join(strings.Fields(input), " ")) + low = bookDotRe.ReplaceAllString(low, "$1") // drop abbreviation dots ("1 cor. 9" -> "1 cor 9") if low == "" { return "", false } -- cgit v1.3