diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-24 09:55:36 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-24 09:55:36 +0200 |
| commit | a865374755480a4aef2a6156afccdf08a91422ea (patch) | |
| tree | 74caa0e64574e491a5620300c3b5544948d0a412 /cmd | |
| parent | 1faf9f1b03d7d257307f6ea0500063e4be939d17 (diff) | |
| download | lectio-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 'cmd')
| -rw-r--r-- | cmd/lectio-ui/main.go | 10 |
1 files changed, 5 insertions, 5 deletions
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 } |
