diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-05 22:24:53 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-05 22:24:53 +0200 |
| commit | 4855ef2a667b7ea71092e0582db5aff1838a0d63 (patch) | |
| tree | 098d3a85c503f73d95c551f76e6f9f1d1ef1e208 /internal/i18n/golden_test.go | |
| parent | 8929ab96ad44b707bafd7dfe6f1f7773843c8e85 (diff) | |
| download | lectio-4855ef2a667b7ea71092e0582db5aff1838a0d63.tar.gz lectio-4855ef2a667b7ea71092e0582db5aff1838a0d63.zip | |
calendar/readings: report Sunday as its own display rank, not solemnity
The Ordinary Form's Table of Liturgical Days treats Sunday as its own
category, never a solemnity. temporal.go's sundayDay() already marks these
days distinctly from named solemnities (Class stays unset, unlike solemn()'s
ClassLord); internal/readings/offline.go now reads that existing signal to
relabel the REPORTED rank to "sunday" for ordinary and privileged-season
Sundays alike, leaving Celebration.Rank, ofRankOrder and all precedence
untouched. Named solemnities landing on a Sunday (Easter, Pentecost, ...)
and feasts of the Lord (Holy Family) keep reporting their own rank. The 1962
form is untouched.
Added calendar.RankSunday (display-only, deliberately excluded from
ofRankOrder), the i18n Sunday/niedziela words, and a test pinning the exact
dates from the original bug report.
Diffstat (limited to 'internal/i18n/golden_test.go')
| -rw-r--r-- | internal/i18n/golden_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/i18n/golden_test.go b/internal/i18n/golden_test.go index b32a259..d06d63b 100644 --- a/internal/i18n/golden_test.go +++ b/internal/i18n/golden_test.go @@ -27,7 +27,7 @@ var enUI = UI{ }, Rank: map[string]string{ "solemnity": "solemnity", "feast": "feast", "memorial": "memorial", - "optional": "optional memorial", "ferial": "feria", + "optional": "optional memorial", "ferial": "feria", "sunday": "Sunday", "class-1": "I class", "class-2": "II class", "class-3": "III class", "class-4": "IV class", "commemoration": "commemoration", @@ -125,7 +125,7 @@ var plUI = UI{ Rank: map[string]string{ "solemnity": "uroczystość", "feast": "święto", "memorial": "wspomnienie obowiązkowe", "optional": "wspomnienie dowolne", - "ferial": "dzień powszedni", + "ferial": "dzień powszedni", "sunday": "niedziela", "class-1": "I klasy", "class-2": "II klasy", "class-3": "III klasy", "class-4": "IV klasy", "commemoration": "komemoracja", |
