aboutsummaryrefslogtreecommitdiff
path: root/internal/web/server.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-24 09:55:36 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-24 09:55:36 +0200
commita865374755480a4aef2a6156afccdf08a91422ea (patch)
tree74caa0e64574e491a5620300c3b5544948d0a412 /internal/web/server.go
parent1faf9f1b03d7d257307f6ea0500063e4be939d17 (diff)
downloadlectio-a865374755480a4aef2a6156afccdf08a91422ea.tar.gz
lectio-a865374755480a4aef2a6156afccdf08a91422ea.zip
rename the pl scripture version to bt (Biblia Tysiąclecia); v0.4.0
The niedziela.pl scraped Polish paragraph text is the Biblia Tysiąclecia translation; rename its version code from "pl" to "bt" and its i18n label to "Biblia Tysiąclecia (niedziela.pl)" everywhere the scripture VERSION is meant, across config, i18n, render, web, tui, cli and both binaries' help text. Language-role "pl" (ui_language, traditional_lang, i18n.Get lang, --lang validation) is untouched. Behavior is identical -- bt is still dropped for offline/traditional and substituted with wuj.
Diffstat (limited to 'internal/web/server.go')
-rw-r--r--internal/web/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/web/server.go b/internal/web/server.go
index 3a7517a..110dae7 100644
--- a/internal/web/server.go
+++ b/internal/web/server.go
@@ -28,7 +28,7 @@ import (
// bibleVersions is the fixed, Themes-independent list of scripture versions
// the web UI's checkboxes offer -- independent of any one cfg.Versions, so
// every visitor sees the same five choices regardless of their config file.
-var bibleVersions = []string{"pl", "wuj", "vul", "grb", "drb"}
+var bibleVersions = []string{"bt", "wuj", "vul", "grb", "drb"}
// NewServer builds lectio-web's route tree. cfg supplies the defaults
// (lectionary, versions, theme, offline) that requests can override via