diff options
Diffstat (limited to 'internal/web/render.go')
| -rw-r--r-- | internal/web/render.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/internal/web/render.go b/internal/web/render.go index 208fc59..1afee1c 100644 --- a/internal/web/render.go +++ b/internal/web/render.go @@ -55,7 +55,7 @@ type columnView struct { // blockView is one paragraph or verse line. VNum is set (and Text holds // only the verse text) when the block was a bible verse line; otherwise // VNum is empty and Text holds the whole block, with Refrain set for a -// responsorial psalm's deduped first ("pl") block. +// responsorial psalm's deduped first ("bt") block. type blockView struct { VNum, Text string Refrain bool @@ -89,9 +89,9 @@ type ilLineView struct { // - "vertical": the same per-version columns side by side in a // ".display-vertical" grid, like the CLI `compare` view. // - "interlinear": versions interleaved verse-by-verse by chapter:verse -// (see buildInterlinearViews); "pl" cannot participate (no verse +// (see buildInterlinearViews); "bt" cannot participate (no verse // numbers) and is substituted/dropped via render.OfflineVersions' -// pl->wuj transform before gathering. +// bt->wuj transform before gathering. // // In every mode, heading, citation (subtitle), verse-number and refrain // text are wrapped in class="heading|citation|vnum|refrain|version-label" @@ -140,7 +140,7 @@ func buildColumnViews(secs []liturgy.Section, versions []string, lectionary, lan bviews := make([]blockView, 0, len(blocks)) for bi, b := range blocks { // A bible verse line always carries its "chapter:verse " - // prefix; only text without one (i.e. the "pl" version's + // prefix; only text without one (i.e. the "bt" version's // paragraphs) can be the deduped psalm refrain -- matches // internal/tui's styleBlock precedence. if m := verseNumRe.FindStringSubmatch(b); m != nil { @@ -162,8 +162,8 @@ func buildColumnViews(secs []liturgy.Section, versions []string, lectionary, lan return views } -// interlinearVersions maps versions through the same pl->wuj substitution -// render.OfflineVersions performs for offline mode: "pl" (niedziela.pl +// interlinearVersions maps versions through the same bt->wuj substitution +// render.OfflineVersions performs for offline mode: "bt" (niedziela.pl // paragraph text) carries no verse numbers and cannot interleave, so it is // dropped, substituting "wuj" (the Polish-language bible version) in its // place unless "wuj" was already selected. Reuses render.OfflineVersions @@ -173,7 +173,7 @@ func interlinearVersions(versions []string) []string { } // buildInterlinearViews gathers each requested version's verses via -// render.GatherVerses (after the pl->wuj substitution, see +// render.GatherVerses (after the bt->wuj substitution, see // interlinearVersions) and interleaves them by chapter:verse: the ordered // union of keys is taken from the first versified version's own verse // order, then any keys that only appear in a later version are appended in |
