diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-03 23:50:26 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-03 23:50:26 +0200 |
| commit | f94ceaae997bce2168a5ab9e64a0c3afeafe0cf6 (patch) | |
| tree | ff1c95b25754012742bbca55950d334ae76e8b23 /internal/i18n/i18n.go | |
| parent | 3d3ad4ba90c4d7dea4730ef129f8c9e065f05d6e (diff) | |
| download | lectio-f94ceaae997bce2168a5ab9e64a0c3afeafe0cf6.tar.gz lectio-f94ceaae997bce2168a5ab9e64a0c3afeafe0cf6.zip | |
i18n: correct rank doc comments and pin the Polish wording
Diffstat (limited to 'internal/i18n/i18n.go')
| -rw-r--r-- | internal/i18n/i18n.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/internal/i18n/i18n.go b/internal/i18n/i18n.go index 356cc66..6785705 100644 --- a/internal/i18n/i18n.go +++ b/internal/i18n/i18n.go @@ -26,8 +26,11 @@ type UI struct { // Rank names each liturgical rank, keyed by the string form of // calendar.Rank. Two vocabularies share the map: the Ordinary Form's // ferial/optional/memorial/feast/solemnity and the 1962 form's - // class-1..class-4/commemoration. Rendered by the CLI's day header and - // by the dlectio app's day banner and calendar rows. + // class-1..class-4/commemoration. The English values are hand-synced to + // agree with internal/cli/liturgy.go's own rankLabel() switch, but the + // CLI does not read this map -- it renders rank independently, and the + // two are kept in sync by hand. The actual consumers of this map are the + // dlectio app's day banner and calendar rows. Rank map[string]string // TUI keybar and status messages. NoReadingsFor and ErrorPrefix each |
