diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-20 10:39:47 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-20 10:39:47 +0200 |
| commit | 1935f40c156563c134f87093bf6ec8da1cf4fc46 (patch) | |
| tree | 28e26f391c2b7c034e680b3e46d8dadb000ef7e3 /lang | |
| parent | cd46163fa347bbc49bf8008d70d408f62feabda5 (diff) | |
| download | colitur-1935f40c156563c134f87093bf6ec8da1cf4fc46.tar.gz colitur-1935f40c156563c134f87093bf6ec8da1cf4fc46.zip | |
fix(naming): the rite prints its display name, not the internal id ef
The booklet's title page and running header read "Ordo 2027 . ef" --
an internal identifier reaching a reader, the same defect class the
sanctoral/temporal slugs were already fixed for.
lang/la.ini and lang/en.ini each gain a [rite] section mapping the
rite id to a reader-facing name, sourced from the Missal's own title
page (docs/research/LT.txt:6 "MISSALE ROMANUM", :15 "EDITIO TYPICA")
plus the 1962 dating this project uses throughout (rules-register.md,
CLAUDE.md) -- both cited in the ini comments, marked PATTERN since the
phrase combines two title-page elements rather than quoting one
verbatim heading.
Lang.t gains a rite table/lookup (same total, miss-echoes-the-key
contract as every other lookup here); View.of_days exposes rite_name
alongside the existing rite field, which stays the stable key exactly
as slug is kept beside name. Every shipped template that printed
{{rite}} now prints {{rite_name}} instead.
test_lang_coverage.ml gains a coverage assertion over every rite id
the engine can emit -- one today -- so a second rite module (OF)
landing without a matching [rite] entry fails loudly instead of
printing its own bare id.
Goldens regenerated through the Test_view.view_of path
test_render_golden.ml itself uses (English with a Latin fallback),
not the CLI (whose --lang default is plain Latin and would have
pinned output the tests never produce). test/cli.t's own JSON prefix
assertion updated to match: rite_name is a real new key in that
generic view dump, sitting right after rite.
Diffstat (limited to 'lang')
| -rw-r--r-- | lang/en.ini | 10 | ||||
| -rw-r--r-- | lang/la.ini | 30 |
2 files changed, 40 insertions, 0 deletions
diff --git a/lang/en.ini b/lang/en.ini index 25084d8..bfd7689 100644 --- a/lang/en.ini +++ b/lang/en.ini @@ -80,6 +80,16 @@ gospel = Gospel commemoration = Commemoration week = Week +[rite] +; See lang/la.ini's own [rite] section for the full sourcing (the Missal's +; own title page, docs/research/LT.txt:6/8/15, plus the 1962 dating this +; project uses throughout). This is that same phrase in English, not a +; second, independent translation decision: "Missale Romanum" -> "Roman +; Missal" and "editio typica" -> "typical edition" are the standard English +; renderings used for exactly this kind of front-matter (both terms of art +; in English-language liturgical publishing, not colitur's own coinage). +ef = Roman Missal, 1962 typical edition + [celebration] ; --- Temporal (394 slugs, 2020-2045 measured; three added Task 5, ; 2026-08-19, following ef-nativity-octave-day-5/6/7's own pattern -- see diff --git a/lang/la.ini b/lang/la.ini index e82650d..9cbb8fe 100644 --- a/lang/la.ini +++ b/lang/la.ini @@ -156,6 +156,36 @@ gospel = Evangelium commemoration = Commemoratio week = Hebdomada +[rite] +; Every rite id the engine can emit needs a reader-facing display name here +; (test_lang_coverage.ml's own "every rite id has a Latin name" case) -- +; the same discipline [celebration]/[season]/[rank]/[colour] already +; enforce, extended to the one new axis Defect 1 found uncovered: `rite` is +; a stable internal key (Temporal_ef.id = "ef"), never meant for a reader, +; exactly like a slug -- but unlike a slug there was no [rite] section at +; all before this one, so nothing degraded gracefully; the booklet printed +; the bare id "ef" outright. +; +; ef -- PATTERN, not a single verbatim heading: constructed from two +; distinct elements of the Missal's OWN title page, docs/research/LT.txt:6 +; ("MISSALE ROMANUM") and LT.txt:15 ("EDITIO TYPICA"), the standard formula +; a Missale Romanum typical edition has carried on its own cover since +; Trent (LT.txt:8, "SS. CONCILII TRIDENTINI RESTITUTUM" -- present +; unabridged in the full title but dropped here for a running header's +; sake, the same "shorter than the source" trade-off already accepted in +; [term]'s "contents = Index" above). The year is not a quote: 1960 is the +; motu proprio's own promulgation date (LT.txt:102-103, "Rubricarum +; instructum diei 23 iulii anno 1960"), but the RESULTING typical edition +; this project treats as its source of truth is dated 1962 throughout +; docs/research/rules-register.md ("the actual 1962 typical edition") and +; this project's own CLAUDE.md ("the 1962 Missale Romanum") -- both +; disclosed here rather than mechanically cited, since neither is an +; LT.txt line. No single phrase in either scan says "1962" against this +; book's own cover (the year is a publication fact, not a title-page +; word), so appending it is a deliberate, disclosed choice for a reader +; who needs to know WHICH typical edition this is, not an invented title. +ef = Missale Romanum, editio typica 1962 + [celebration] ; --------------------------------------------------------------------- ; TEMPORAL slugs only (^ef-). The SANCTORAL half (a fixed saint's day, not |
