aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-27 14:59:14 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-27 14:59:14 +0200
commitcb3379f41c06a94085c77fe359709b46712850dc (patch)
tree032801111764c83c3ab089ed101ba4d1222a9abd /cmd
parenta13dd6224a095242da54062e4775570c4f16a718 (diff)
downloadlectio-cb3379f41c06a94085c77fe359709b46712850dc.tar.gz
lectio-cb3379f41c06a94085c77fe359709b46712850dc.zip
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.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/lectio-ui/main.go2
1 files changed, 1 insertions, 1 deletions
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 {