aboutsummaryrefslogtreecommitdiff
path: root/internal/i18n/i18n.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/i18n/i18n.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/i18n/i18n.go')
-rw-r--r--internal/i18n/i18n.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/i18n/i18n.go b/internal/i18n/i18n.go
index 4d034a5..a108323 100644
--- a/internal/i18n/i18n.go
+++ b/internal/i18n/i18n.go
@@ -8,7 +8,7 @@ package i18n
// UI is one language's complete set of chrome strings.
type UI struct {
// Version names each bible version for column headers / prose, keyed by
- // version code (pl, wuj, vul, grb, drb).
+ // version code (bt, wuj, vul, grb, drb).
Version map[string]string
// PartLabel names each modern-lectionary section's heading label word,
@@ -64,7 +64,7 @@ func Get(lang string) UI {
var enUI = UI{
Version: map[string]string{
- "pl": "Polish (niedziela.pl)",
+ "bt": "Biblia Tysiąclecia (niedziela.pl)",
"wuj": "Wujek (Polish)",
"vul": "Vulgate (Latin)",
"grb": "Greek",
@@ -107,7 +107,7 @@ var enUI = UI{
var plUI = UI{
Version: map[string]string{
- "pl": "Polski (niedziela.pl)",
+ "bt": "Biblia Tysiąclecia (niedziela.pl)",
"wuj": "Wujek (pol.)",
"vul": "Wulgata (lac.)",
"grb": "Grecki",