aboutsummaryrefslogtreecommitdiff
path: root/schema/colitur-v1.xsd
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 /schema/colitur-v1.xsd
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 'schema/colitur-v1.xsd')
-rw-r--r--schema/colitur-v1.xsd17
1 files changed, 8 insertions, 9 deletions
diff --git a/schema/colitur-v1.xsd b/schema/colitur-v1.xsd
index 46af9a9..df11c3d 100644
--- a/schema/colitur-v1.xsd
+++ b/schema/colitur-v1.xsd
@@ -10,20 +10,19 @@
<xs:complexType>
<xs:sequence>
<xs:element name="season" type="xs:string"/>
+ <xs:element name="season_name" type="xs:string"/>
<xs:element name="week" type="xs:string"/>
<xs:element name="slug" type="xs:string"/>
+ <!-- The resolved display name: a single element, no
+ lang attribute. The view's own name is now one
+ resolved string, not a value per language. -->
+ <xs:element name="name" type="xs:string"/>
+ <xs:element name="weekday" type="xs:string"/>
<xs:element name="rank" type="xs:string"/>
+ <xs:element name="rank_name" type="xs:string"/>
<xs:element name="colour" type="xs:string"/>
+ <xs:element name="colour_name" type="xs:string"/>
<xs:element name="subject" type="xs:string"/>
- <xs:element name="name" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="lang" type="xs:string" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
<xs:element name="commemoration" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="citation" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>