aboutsummaryrefslogtreecommitdiff
path: root/internal/readings/offline.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-03 23:50:26 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-03 23:50:26 +0200
commitf94ceaae997bce2168a5ab9e64a0c3afeafe0cf6 (patch)
treeff1c95b25754012742bbca55950d334ae76e8b23 /internal/readings/offline.go
parent3d3ad4ba90c4d7dea4730ef129f8c9e065f05d6e (diff)
downloadlectio-f94ceaae997bce2168a5ab9e64a0c3afeafe0cf6.tar.gz
lectio-f94ceaae997bce2168a5ab9e64a0c3afeafe0cf6.zip
i18n: correct rank doc comments and pin the Polish wording
Diffstat (limited to 'internal/readings/offline.go')
-rw-r--r--internal/readings/offline.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/internal/readings/offline.go b/internal/readings/offline.go
index 2f96c14..59a03fa 100644
--- a/internal/readings/offline.go
+++ b/internal/readings/offline.go
@@ -109,9 +109,10 @@ func sectionsFor(rs []calendar.Reading, form, lang, siglaLang string, tbl *bible
return out
}
-// dayInfo builds the header (celebration name, liturgical colour) for the
-// computed day. Season is left empty: the celebration name already carries the
-// temporal identity for temporal days, and the header is a nice-to-have.
+// dayInfo builds the header (celebration name, liturgical colour, rank) for
+// the computed day. Season is left empty: the celebration name already
+// carries the temporal identity for temporal days, and the header is a
+// nice-to-have.
func dayInfo(cfg config.Config, day calendar.LiturgicalDay) liturgy.DayInfo {
return liturgy.DayInfo{
Name: celebrationName(cfg, day.Observed),