From a865374755480a4aef2a6156afccdf08a91422ea Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Fri, 24 Jul 2026 09:55:36 +0200 Subject: rename the pl scripture version to bt (Biblia Tysiąclecia); v0.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- cmd/lectio-ui/main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cmd') diff --git a/cmd/lectio-ui/main.go b/cmd/lectio-ui/main.go index 1808e4a..023cf66 100644 --- a/cmd/lectio-ui/main.go +++ b/cmd/lectio-ui/main.go @@ -20,7 +20,7 @@ Usage: lectio-ui [DATE] [flags] DATE = YYYY-MM-DD (default: today), any position Flags: - -b, --bible VER start on version: pl,wuj,vul,grb,drb + -b, --bible VER start on version: bt,wuj,vul,grb,drb -a, --all show all parts (override config) -o, --offline cache/sigla only, no network -l, --lectionary WHICH new|trad (trad -> traditional) @@ -28,7 +28,7 @@ Flags: -v, --version print the version and exit -h, --help this help -Versions: pl (Polski/niedziela.pl) wuj (Wujek) vul (Wulgata) grb (Grecki) +Versions: bt (Biblia Tysiąclecia) wuj (Wujek) vul (Wulgata) grb (Grecki) drb (Douay-Rheims) Flags override config. Exit codes: 0 ok, 1 runtime error, 2 usage error. @@ -71,8 +71,8 @@ func run(args []string, stdout, stderr io.Writer) int { fs.SetOutput(stderr) fs.Usage = func() { fmt.Fprint(stderr, helpText) } - fs.StringVar(&bibleVer, "b", "", "start on version: pl,wuj,vul,grb,drb") - fs.StringVar(&bibleVer, "bible", "", "start on version: pl,wuj,vul,grb,drb") + fs.StringVar(&bibleVer, "b", "", "start on version: bt,wuj,vul,grb,drb") + fs.StringVar(&bibleVer, "bible", "", "start on version: bt,wuj,vul,grb,drb") fs.BoolVar(&all, "a", cfg.All, "show all parts (override config)") fs.BoolVar(&all, "all", cfg.All, "show all parts (override config)") fs.BoolVar(&offline, "o", cfg.Offline, "cache/sigla only, no network") @@ -100,7 +100,7 @@ func run(args []string, stdout, stderr io.Writer) int { return 2 } if bibleVer != "" && !config.ValidVersion(bibleVer) { - fmt.Fprintf(stderr, "lectio-ui: unknown version %q (want one of pl, wuj, vul, grb, drb)\n", bibleVer) + fmt.Fprintf(stderr, "lectio-ui: unknown version %q (want one of bt, wuj, vul, grb, drb)\n", bibleVer) return 2 } -- cgit v1.3