aboutsummaryrefslogtreecommitdiff
path: root/templates/ef/ordo.md
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-19 23:48:35 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-19 23:48:35 +0200
commitecadd969e1d96918820a1fdac0cf0d520d96ba06 (patch)
treea06ed1160bfd28ae4578d9445242e48ac9ac3ea4 /templates/ef/ordo.md
parent6762ce46af3cb12bc6ae37cda762c5d95add7903 (diff)
parent329d07b49e397cb65ab52e7ca019b47313027136 (diff)
downloadcolitur-ecadd969e1d96918820a1fdac0cf0d520d96ba06.tar.gz
colitur-ecadd969e1d96918820a1fdac0cf0d520d96ba06.zip
feat: naming, localisation and the rebuilt printed output
colitur computed the calendar correctly and could not say what it had computed. A printed ordo read ef-septuagesima-sunday-2 where a reader expects Dominica in Sexagesima, and the wall calendar showed slugs in every cell. lib/naming a language table and a config file, both pure and total, parsing the INI reader Overlay_ini already had lang/ la.ini and en.ini -- 725 names, every one transcribed from the 1962 Missal and citing the line it came from templates the ordo rebuilt as an A5 booklet: one week per page, a table of contents, framed days, a colour swatch; the wall calendar now fills its sheet instead of a quarter of it tools check_citations.py verifies all 400 citations resolve, with 33 self-tests of its own Names resolve through lang -> declared fallback -> the slug, so a partial translation is usable from its first line and the fully degraded case is the old output rather than a blank page. colitur day and colitur readings are BYTE-IDENTICAL to before, verified against main rather than asserted; --lang, --raw and the lang/config subcommands are still to come, and man/colitur-templates.5 still documents the pre-naming view, so writing a custom template needs the source until that lands.
Diffstat (limited to 'templates/ef/ordo.md')
-rw-r--r--templates/ef/ordo.md23
1 files changed, 13 insertions, 10 deletions
diff --git a/templates/ef/ordo.md b/templates/ef/ordo.md
index 606ea01..805bf67 100644
--- a/templates/ef/ordo.md
+++ b/templates/ef/ordo.md
@@ -3,21 +3,24 @@
so this template's flavour deliberately does NOT escape interpolated
values. A feast name containing `*` or `_` will render as emphasis.
That is a documented limitation, not a bug to fix. -->
-<!-- Day label falls back to the slug when the day carries no Latin name
- (most temporal days, and most sanctoral entries, which are Latin-less
- in the shipped data) -- see ordo.tex's own comment for why the fallback
- is written as a name-section wrapping a plain var and its inverse,
- rather than a single dotted lookup and its inverse. -->
-# Ordo {{year}} · {{rite}}
+<!-- The observed day's own display name is a PLAIN resolved string
+ (View.of_days, Task 5), not a lang-keyed object -- there is no
+ dotted-la-with-slug-fallback idiom to write here any more; a
+ commemoration entry carries its own resolved display name too, so a
+ commemoration line no longer prints the bare slug. Every fixed label
+ (Ordo, Epistle, Gospel, Commemoration) comes from the view's term
+ vocabulary rather than being written into this file, so a translated
+ booklet needs no template edit. -->
+# {{term.ordo}} {{year}} · {{rite}}
{{#months}}
-## {{name.la}}
+## {{name}}
{{#days}}
-**{{dom}}** {{#name}}{{la}}{{^la}}{{slug}}{{/la}}{{/name}}
-`{{rank}}` · {{colour}}{{#first}} · Ep. {{first}}{{/first}}{{#gospel}} · Ev. {{gospel}}{{/gospel}}
+**{{dom}}** {{name}}
+`{{rank}}` · {{colour}}{{#first}} · {{term.epistle}} {{first}}{{/first}}{{#gospel}} · {{term.gospel}} {{gospel}}{{/gospel}}
{{#comms}}
-- Com. {{slug}}
+- {{term.commemoration}} {{name}}
{{/comms}}
{{/days}}{{/months}}