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. --- internal/web/templates/settings.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/web/templates') diff --git a/internal/web/templates/settings.html b/internal/web/templates/settings.html index be08e6d..e2ee39e 100644 --- a/internal/web/templates/settings.html +++ b/internal/web/templates/settings.html @@ -1,5 +1,5 @@ {{/* settings.html — lectio-web /settings page: a form for every config - setting plus a raw books.toml editor. A plain POST form (no htmx) -- + setting plus a raw books.ini editor. A plain POST form (no htmx) -- saving redirects (PRG) back here with ?saved=1. On a validation error the form re-renders with the submitted values and an inline message instead of redirecting. Self-contained and theme-aware, like index.html. */}} @@ -100,7 +100,7 @@ -