From cb3379f41c06a94085c77fe359709b46712850dc Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Mon, 27 Jul 2026 14:59:14 +0200 Subject: feat: books.toml -> books.ini, multi-language (add Latin dialect), config-scoped citation display books.ini with [en]/[pl]/[la]; parseBooks reads INI (bible drops go-toml). Latin dialect resolves EF citations (Eccli->Sirach, Apoc->Revelation, Luc...); sigla_style gains 'latin'. Reading citations now DISPLAY in the configured sigla (FormatRef(SiglaLang)), not raw English. One-shot books.toml->books.ini user migration (go-toml now config-only). Web settings editor -> books.ini. --- cmd/lectio-ui/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/lectio-ui') diff --git a/cmd/lectio-ui/main.go b/cmd/lectio-ui/main.go index dd91117..43fc5ab 100644 --- a/cmd/lectio-ui/main.go +++ b/cmd/lectio-ui/main.go @@ -120,7 +120,7 @@ func run(args []string, stdout, stderr io.Writer) int { var mdl tea.Model = tui.New(cfg, date, bibleVer) if reader { - tbl, _ := bible.LoadBookTable(config.UserBooksTOML()) + tbl, _ := bible.LoadBookTable(config.UserBooksINI()) mdl = tui.NewReader(cfg, tbl, bookmarks.Open()) } if _, err := tea.NewProgram(mdl, tea.WithAltScreen()).Run(); err != nil { -- cgit v1.3