diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-29 08:24:34 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-29 08:24:34 +0200 |
| commit | 4ef5570c348e2d8d83c67e049b06e7b5d1a7542d (patch) | |
| tree | 1da35c3bd67f4235f8ed58af6f3f6e27eaa5a270 | |
| parent | 802cedfa3b92a07247bf513b90e0fdff71201294 (diff) | |
| download | lectio-4ef5570c348e2d8d83c67e049b06e7b5d1a7542d.tar.gz lectio-4ef5570c348e2d8d83c67e049b06e7b5d1a7542d.zip | |
feat(cli): --cal-dump NAME to generate a commented calendar template
Replace the static examples/sanctorale-of.ini with a `--cal-dump NAME` flag
that writes the running universal calendar to ~/.config/lectio/calendars/NAME.ini
as a fully-commented layer template (every celebration present, all commented).
Uncomment one day and edit a field to override it; enable with `use = NAME`.
- Form-aware: respects -l/--lectionary, so `-l trad --cal-dump x` dumps the 1962
calendar (322 entries) and the default dumps the OF calendar (212 entries).
- Entries sorted by date then slug; refuses to overwrite an existing file.
- Always in sync with the embedded (or sanctorale-overridden) calendar, so no
stale checked-in template to maintain.
- Update help text, man page (OPTIONS/FILES/EXAMPLES) and README to match;
drop examples/sanctorale-of.ini.
| -rw-r--r-- | README.md | 6 | ||||
| -rw-r--r-- | examples/sanctorale-of.ini | 1934 | ||||
| -rw-r--r-- | internal/cli/callayer.go | 102 | ||||
| -rw-r--r-- | internal/cli/cli.go | 9 | ||||
| -rw-r--r-- | man/lectio.1 | 24 |
5 files changed, 130 insertions, 1945 deletions
@@ -308,9 +308,9 @@ INI: and enable it with `use = <name>` (comma list, later wins). A layer **adds** a saint, **overrides** any field of an existing one (rank, colour, name, readings), or **suppresses** it (`suppress = true`). This is the place for diocesan/national - propers and one-off rank fixes — you only write the deltas. `examples/sanctorale-of.ini` - is a ready-made template: every universal entry, commented out — copy it into - `calendars/`, uncomment a day, and edit it. + propers and one-off rank fixes — you only write the deltas. `lectio --cal-dump + <name>` writes a ready-made template into `calendars/`: every universal entry, + commented out — uncomment a day and edit it (add `-l trad` to dump the 1962 form). - **Replace the whole base.** Drop `~/.config/lectio/sanctorale/of.ini` (Ordinary Form) or `ef.ini` (Extraordinary Form) and it is used *instead of* the embedded calendar — for shipping a full refreshed calendar (regenerate with diff --git a/examples/sanctorale-of.ini b/examples/sanctorale-of.ini deleted file mode 100644 index dea017b..0000000 --- a/examples/sanctorale-of.ini +++ /dev/null @@ -1,1934 +0,0 @@ -# lectio -- Ordinary Form sanctorale, as a customisable calendar LAYER. -# -# This is every entry of the universal (General Roman) calendar of saints, -# COMMENTED OUT. As shipped it changes nothing. To alter one day, uncomment its -# block and edit a field (rank, colour, name, ...), then enable the layer: -# -# cp examples/sanctorale-of.ini ~/.config/lectio/calendars/mine.ini -# $EDITOR ~/.config/lectio/calendars/mine.ini # uncomment + change a day -# echo 'use = mine' >> ~/.config/lectio/config.ini -# -# A layer OVERLAYS the embedded calendar field by field, so any day you leave -# commented keeps its default. You can also: -# * remove a celebration: uncomment its block, add suppress = true -# * add one: write a new [your-slug] with date/rank/colour/name.* -# * change its readings: add reading.first / reading.psalm / reading.gospel -# -# Fields: date = MM-DD ; rank = solemnity|feast|memorial|optional ; -# class = lord|bvm|saint ; colour = white|red|green|violet|rose|black ; -# name.<lang> = display name. (reading.* lines are omitted here; add -# them only if you want to change a day's readings.) - -[layer] -id = custom -name = My calendar tweaks -type = national - - -# [mary-mother-of-god-octave-of-christmas] -# date = 01-01 -# rank = solemnity -# class = saint -# colour = white -# name.en = Mary, Mother of God (Octave of Christmas) -# name.pl = Świętej Bożej Rodzicielki Maryi -# name.la = Mary, Mother of God (Octave of Christmas) - -# [saints-basil-the-great-and-gregory-nazianzen-bishops-and-doctors] -# date = 01-02 -# rank = memorial -# class = saint -# colour = white -# name.en = Saints Basil the Great and Gregory Nazianzen, bishops and doctors -# name.pl = św. Bazylego Wielkiego i Grzegorza z Nazjanzu, biskupów i doktorów Kościoła -# name.la = Ss. Basilii et Gregorii Nazianzeni, episcoporum et Ecclesiae doctorum - -# [the-most-holy-name-of-jesus] -# date = 01-03 -# rank = optional -# class = lord -# colour = white -# name.en = The Most Holy Name of Jesus -# name.pl = Najświętszego Imienia Jezus -# name.la = Ss.mi Nominis Iesu - -# [raymond-of-penyafort-priest] -# date = 01-07 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Raymond of Penyafort, priest -# name.pl = św. Rajmunda z Penyafort, prezbitera -# name.la = S. Raimundi de Penyafort, presbyteri - -# [hilary-of-poitiers-bishop-and-doctor] -# date = 01-13 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Hilary of Poitiers, bishop and doctor -# name.pl = św. Hilarego z Poitiers, biskupa i doktora Kościoła -# name.la = S. Hilarii, episcopi et Ecclesiae doctoris - -# [anthony-of-egypt-abbot] -# date = 01-17 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Anthony of Egypt, abbot -# name.pl = św. Antoniego, opata -# name.la = S. Antonii, abbatis - -# [sebastian-martyr] -# date = 01-20 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Sebastian, martyr -# name.pl = św. Sebastiana, męczennika -# name.la = S. Sebastiani, martyris - -# [fabian-pope-and-martyr] -# date = 01-20 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Fabian, pope and martyr -# name.pl = św. Fabiana, papieża i męczennika -# name.la = S. Fabiani, papae et martyris - -# [agnes-virgin-and-martyr] -# date = 01-21 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Agnes, virgin and martyr -# name.pl = św. Agnieszki, dziewicy i męczennicy -# name.la = S. Agnetis, virginis et martyris - -# [vincent-deacon-and-martyr] -# date = 01-22 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Vincent, deacon and martyr -# name.pl = św. Wincentego, diakona i męczennika -# name.la = S. Vincentii, diaconi et martyris - -# [francis-de-sales-bishop-and-doctor] -# date = 01-24 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Francis de Sales, bishop and doctor -# name.pl = św. Franciszka Salezego, biskupa i doktora Kościoła -# name.la = S. Francisci de Sales, episcopi et Ecclesiae doctoris - -# [the-conversion-of-saint-paul-apostle] -# date = 01-25 -# rank = feast -# class = saint -# colour = white -# name.en = The Conversion of Saint Paul, apostle -# name.pl = Nawrócenia św. Pawła Apostoła -# name.la = In conversione S. Pauli, apostoli - -# [saints-timothy-and-titus-bishops] -# date = 01-26 -# rank = memorial -# class = saint -# colour = white -# name.en = Saints Timothy and Titus, bishops -# name.pl = świętych Tymoteusza i Tytusa, biskupów -# name.la = Ss. Timothei et Titi, episcoporum - -# [angela-merici-virgin] -# date = 01-27 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Angela Merici, virgin -# name.pl = św. Anieli Merici, dziewicy -# name.la = S. Angelae Merici, virginis - -# [thomas-aquinas-priest-and-doctor] -# date = 01-28 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Thomas Aquinas, priest and doctor -# name.pl = św. Tomasza z Akwinu, prezbitera i doktora Kościoła -# name.la = S. Thomae de Aquino, presbyteri et Ecclesiae doctoris - -# [john-bosco-priest] -# date = 01-31 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint John Bosco, priest -# name.pl = św. Jana Bosko, prezbitera -# name.la = S. Ioannis Bosco, presbyteri - -# [presentation-of-the-lord] -# date = 02-02 -# rank = feast -# class = lord -# colour = white -# name.en = Presentation of the Lord -# name.pl = Ofiarowania Pańskiego -# name.la = IN PRAESENTATIONE DOMINI - -# [ansgar-bishop] -# date = 02-03 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Ansgar, bishop -# name.pl = św. Ansgara, biskupa -# name.la = S. Ansgarii, episcopi - -# [blase-bishop-and-martyr] -# date = 02-03 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Blase, bishop and martyr -# name.pl = św. Błażeja, biskupa i męczennika -# name.la = S. Blasii, episcopi et martyris - -# [agatha-virgin-and-martyr] -# date = 02-05 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Agatha, virgin and martyr -# name.pl = św. Agaty, dziewicy i męczennicy -# name.la = S. Agathae, virginis et martyris - -# [saints-paul-miki-and-companions-martyrs] -# date = 02-06 -# rank = memorial -# class = saint -# colour = red -# name.en = Saints Paul Miki and companions, martyrs -# name.pl = świętych męczenników Pawła Miki i Towarzyszy -# name.la = Ss. Pauli Miki et sociorum, martyrum - -# [josephine-bakhita-virgin] -# date = 02-08 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Josephine Bakhita, virgin -# name.pl = św. Józefiny Bakhity, dziewicy -# name.la = S. Iosephinae Bakhita, virginis - -# [jerome-emiliani-priest] -# date = 02-08 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Jerome Emiliani, priest -# name.pl = św. Hieronima Emilianiego, prezbitera -# name.la = S. Hieronymi Emiliani - -# [scholastica-virgin] -# date = 02-10 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Scholastica, virgin -# name.pl = św. Scholastyki, dziewicy -# name.la = S. Scholasticae, virginis - -# [our-lady-of-lourdes] -# date = 02-11 -# rank = optional -# class = bvm -# colour = white -# name.en = Our Lady of Lourdes -# name.pl = Najświętszej Maryi Panny z Lourdes -# name.la = B. Mariae Virginis de Lourdes - -# [saints-cyril-monk-and-methodius-bishop] -# date = 02-14 -# rank = memorial -# class = saint -# colour = white -# name.en = Saints Cyril, monk, and Methodius, bishop -# name.pl = świętych Cyryla, mnicha, i Metodego, biskupa - patronów Europy -# name.la = Ss. Cyrilli, monachi, et Methodii, episcopi - -# [seven-holy-founders-of-the-servite-order] -# date = 02-17 -# rank = optional -# class = saint -# colour = white -# name.en = Seven Holy Founders of the Servite Order -# name.pl = Siedmiu Świętych Założycieli Zakonu Serwitów -# name.la = Ss. septem Fundatorum Ordinis Servorum B. M. V. - -# [peter-damian-bishop-and-doctor-of-the-church] -# date = 02-21 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Peter Damian, bishop and doctor of the Church -# name.pl = św. Piotra Damianiego, biskupa i doktora Kościoła -# name.la = S. Petri Damiani, episcopi et Ecclesiae doctoris - -# [chair-of-saint-peter-apostle] -# date = 02-22 -# rank = feast -# class = saint -# colour = white -# name.en = Chair of Saint Peter, apostle -# name.pl = katedry św. Piotra Apostoła -# name.la = Cathedrae S. Petri, apostoli - -# [polycarp-bishop-and-martyr] -# date = 02-23 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Polycarp, bishop and martyr -# name.pl = św. Polikarpa, biskupa i męczennika -# name.la = S. Polycarpi, episcopi et martyris - -# [casimir] -# date = 03-04 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Casimir -# name.pl = św. Kazimierza, królewicza -# name.la = S. Casimiri - -# [saints-perpetua-and-felicity-martyrs] -# date = 03-07 -# rank = memorial -# class = saint -# colour = violet -# name.en = Saints Perpetua and Felicity, martyrs -# name.pl = świętych Perpetuy i Felicyty, męczennic -# name.la = Ss. Perpetuae et Felicitatis, martyrum - -# [john-of-god-religious] -# date = 03-08 -# rank = optional -# class = saint -# colour = violet -# name.en = Saint John of God, religious -# name.pl = św. Jana Bożego, zakonnika -# name.la = S. Ioannis a Deo, religiosi - -# [frances-of-rome-religious] -# date = 03-09 -# rank = optional -# class = saint -# colour = violet -# name.en = Saint Frances of Rome, religious -# name.pl = św. Franciszki Rzymianki, zakonnicy -# name.la = S. Franciscae Romanae, religiosae - -# [patrick-bishop] -# date = 03-17 -# rank = optional -# class = saint -# colour = violet -# name.en = Saint Patrick, bishop -# name.pl = św. Patryka, biskupa -# name.la = S. Patricii, episcopi - -# [cyril-of-jerusalem-bishop-and-doctor] -# date = 03-18 -# rank = optional -# class = saint -# colour = violet -# name.en = Saint Cyril of Jerusalem, bishop and doctor -# name.pl = św. Cyryla Jerozolimskiego, biskupa i doktora Kościoła -# name.la = S. Cyrilli Hierosolymitani, episcopi et Ecclesiae doctoris - -# [joseph-husband-of-the-blessed-virgin-mary] -# date = 03-19 -# rank = solemnity -# class = bvm -# colour = white -# name.en = Saint Joseph Husband of the Blessed Virgin Mary -# name.pl = św. Józefa, Oblubieńca Najświętszej Maryi Panny -# name.la = S. IOSEPH, SPONSI B. M. V. - -# [turibius-of-mogrovejo-bishop] -# date = 03-23 -# rank = optional -# class = saint -# colour = violet -# name.en = Saint Turibius of Mogrovejo, bishop -# name.pl = św. Turybiusza z Mogrovejo, biskupa -# name.la = S. Turibii de Mongrovejo, episcopi - -# [annunciation-of-the-lord] -# date = 03-25 -# rank = solemnity -# class = lord -# colour = white -# name.en = Annunciation of the Lord -# name.pl = Zwiastowania Pańskiego -# name.la = IN ANNUNTIATIONE DOMINI - -# [francis-of-paola-hermit] -# date = 04-02 -# rank = optional -# class = saint -# colour = violet -# name.en = Saint Francis of Paola, hermit -# name.pl = św. Franciszka z Paoli, pustelnika -# name.la = S. Francisci de Paola, eremitae - -# [isidore-bishop-and-doctor-of-the-church] -# date = 04-04 -# rank = optional -# class = saint -# colour = violet -# name.en = Saint Isidore, bishop and doctor of the Church -# name.pl = św. Izydora, biskupa i doktora Kościoła -# name.la = S. Isidori, episcopi et Ecclesiae doctoris - -# [vincent-ferrer-priest] -# date = 04-05 -# rank = optional -# class = saint -# colour = violet -# name.en = Saint Vincent Ferrer, priest -# name.pl = św. Wincentego Ferreriusza, prezbitera -# name.la = S. Vincentii Ferrer, presbyteri - -# [john-baptist-de-la-salle-priest] -# date = 04-07 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint John Baptist de la Salle, priest -# name.pl = św. Jana Chrzciciela de la Salle, prezbitera -# name.la = S. Ioannis Baptistae de la Salle, presbyteri - -# [stanislaus-bishop-and-martyr] -# date = 04-11 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Stanislaus, bishop and martyr -# name.pl = św. Stanisława, biskupa i męczennika -# name.la = S. Stanislai, episcopi et martyris - -# [martin-i-pope-and-martyr] -# date = 04-13 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Martin I, pope and martyr -# name.pl = św. Marcina I, papieża i męczennika -# name.la = S. Martini I, papae et martyris - -# [anselm-of-canterbury-bishop-and-doctor-of-the-church] -# date = 04-21 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Anselm of Canterbury, bishop and doctor of the Church -# name.pl = św. Anzelma z Canterbury, biskupa i doktora Kościoła -# name.la = S. Anselmi, episcopi et Ecclesiae doctoris - -# [adalbert-bishop-and-martyr] -# date = 04-23 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Adalbert, bishop and martyr -# name.pl = św. Wojciecha, biskupa i męczennika -# name.la = S. Adalberti, episcopi et martyris - -# [george-martyr] -# date = 04-23 -# rank = optional -# class = saint -# colour = red -# name.en = Saint George, martyr -# name.pl = św. Jerzego, męczennika -# name.la = S. Georgii, martyris - -# [fidelis-of-sigmaringen-priest-and-martyr] -# date = 04-24 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Fidelis of Sigmaringen, priest and martyr -# name.pl = św. Fidelisa z Sigmaringen, prezbitera i męczennika -# name.la = S. Fidelis a Sigmaringen, presbyteri et martyris - -# [mark-the-evangelist] -# date = 04-25 -# rank = feast -# class = saint -# colour = red -# name.en = Saint Mark the Evangelist -# name.pl = św. Marka, Ewangelisty -# name.la = S. Marci, evangelistae - -# [louis-grignon-de-montfort-priest] -# date = 04-28 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Louis Grignon de Montfort, priest -# name.pl = św. Ludwika Marii Grignion de Montfort, prezbitera -# name.la = S. Ludovici Mariae Grignion de Montfort, presbyteri - -# [peter-chanel-priest-and-martyr] -# date = 04-28 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Peter Chanel, priest and martyr -# name.pl = św. Piotra Chanela, prezbitera i męczennika -# name.la = S. Petri Chanel, presbyteri et martyris - -# [catherine-of-siena-virgin-and-doctor-of-the-church] -# date = 04-29 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Catherine of Siena, virgin and doctor of the Church -# name.pl = św. Katarzyny ze Sieny, dziewicy i doktora Kościoła, patronki Europy -# name.la = S. Catharinae Senensis, virginis et Ecclesiae doctoris - -# [pius-v-pope] -# date = 04-30 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Pius V, pope -# name.pl = św. Piusa V, papieża -# name.la = S. Pii V, papae - -# [joseph-the-worker] -# date = 05-01 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Joseph the Worker -# name.pl = św. Józefa Rzemieślnika -# name.la = S. Ioseph Opificis - -# [athanasius-bishop-and-doctor] -# date = 05-02 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Athanasius, bishop and doctor -# name.pl = św. Atanazego, biskupa i doktora Kościoła -# name.la = S. Athanasii, episcopi et Ecclesiae doctoris - -# [saints-philip-and-james-apostles] -# date = 05-03 -# rank = feast -# class = saint -# colour = red -# name.en = Saints Philip and James, Apostles -# name.pl = Najświętszej Maryi Panny, Królowej Polski -# name.la = Ss. Philippi et Iacobi, apostolorum - -# [saints-nereus-and-achilleus-martyrs] -# date = 05-12 -# rank = optional -# class = saint -# colour = red -# name.en = Saints Nereus and Achilleus, martyrs -# name.pl = świętych Nereusza i Achillesa, męczenników -# name.la = Ss. Nerei et Achillei, martyrum - -# [pancras-martyr] -# date = 05-12 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Pancras, martyr -# name.pl = św. Pankracego, męczennika -# name.la = S. Pancratii, martyris - -# [our-lady-of-fatima] -# date = 05-13 -# rank = optional -# class = bvm -# colour = white -# name.en = Our Lady of Fatima -# name.pl = Najświętszej Maryi Panny Fatimskiej -# name.la = B. Mariae Virginis de Fatima - -# [matthias-the-apostle] -# date = 05-14 -# rank = feast -# class = saint -# colour = red -# name.en = Saint Matthias the Apostle -# name.pl = św. Macieja, apostoła -# name.la = S. Matthiae, apostoli - -# [john-i-pope-and-martyr] -# date = 05-18 -# rank = optional -# class = saint -# colour = red -# name.en = Saint John I, pope and martyr -# name.pl = św. Jana I, papieża i męczennika -# name.la = S. Ioannis I, papae et martyris - -# [bernardine-of-siena-priest] -# date = 05-20 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Bernardine of Siena, priest -# name.pl = św. Bernardyna ze Sieny, prezbitera -# name.la = S. Bernardini Senensis, presbyteri - -# [christopher-magallanes-and-companions-martyrs] -# date = 05-21 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Christopher Magallanes and companions, martyrs -# name.pl = św. Krzysztofa Magallanesa i Towarzyszy, męczenników -# name.la = S. Christophori Magallanes, presbyteri, et sociorum, martyrum - -# [rita-of-cascia] -# date = 05-22 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Rita of Cascia -# name.pl = św. Rity z Cascii, zakonnicy -# name.la = S. Ritae de Cascia, religiosae - -# [bede-the-venerable-priest-and-doctor] -# date = 05-25 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Bede the Venerable, priest and doctor -# name.pl = św. Bedy Czcigodnego, prezbitera i doktora Kościoła -# name.la = S. Bedae Venerabilis, presbyteri et Ecclesiae doctoris - -# [gregory-vii-pope] -# date = 05-25 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Gregory VII, pope -# name.pl = św. Grzegorza VII, papieża -# name.la = S. Gregorii VII, papae - -# [mary-magdalene-de-pazzi-virgin] -# date = 05-25 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Mary Magdalene de Pazzi, virgin -# name.pl = św. Marii Magdaleny de' Pazzi, dziewicy -# name.la = S. Mariae Magdalenae de' Pazzi, virginis - -# [philip-neri-priest] -# date = 05-26 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Philip Neri, priest -# name.pl = św. Filipa Nereusza, prezbitera -# name.la = S. Philippi Neri, presbyteri - -# [augustine-austin-of-canterbury-bishop] -# date = 05-27 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Augustine (Austin) of Canterbury, bishop -# name.pl = św. Augustyna z Canterbury, biskupa -# name.la = S. Augustini Cantuarensis, episcopi - -# [visitation-of-the-blessed-virgin-mary] -# date = 05-31 -# rank = feast -# class = bvm -# colour = white -# name.en = Visitation of the Blessed Virgin Mary -# name.pl = Nawiedzenia Najświętszej Maryi Panny -# name.la = In Visitatione B. Mariae Virginis - -# [justin-martyr] -# date = 06-01 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Justin Martyr -# name.pl = św. Justyna, męczennika -# name.la = S. Iustini, martyris - -# [saints-marcellinus-and-peter-martyrs] -# date = 06-02 -# rank = optional -# class = saint -# colour = red -# name.en = Saints Marcellinus and Peter, martyrs -# name.pl = świętych Marcelina i Piotra, męczenników -# name.la = Ss. Marcellini et Petri, martyrum - -# [saints-charles-lwanga-and-companions-martyrs] -# date = 06-03 -# rank = memorial -# class = saint -# colour = red -# name.en = Saints Charles Lwanga and companions, martyrs -# name.pl = świętych męczenników Karola Lwangi i Towarzyszy -# name.la = Ss. Caroli Lwanga et sociorum, martyrum - -# [boniface-bishop-and-martyr] -# date = 06-05 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Boniface, bishop and martyr -# name.pl = św. Bonifacego, biskupa i męczennika -# name.la = S. Bonifatii, episcopi et martyris - -# [norbert-bishop] -# date = 06-06 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Norbert, bishop -# name.pl = św. Norberta, biskupa -# name.la = S. Norberti, episcopi - -# [ephrem-deacon-and-doctor] -# date = 06-09 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Ephrem, deacon and doctor -# name.pl = św. Efrema, diakona i doktora Kościoła -# name.la = S. Ephraem, diaconi et Ecclesiae doctoris - -# [barnabas-the-apostle] -# date = 06-11 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Barnabas the Apostle -# name.pl = św. Barnaby, apostoła -# name.la = S. Barnabae, apostoli - -# [anthony-of-padua-priest-and-doctor] -# date = 06-13 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Anthony of Padua, priest and doctor -# name.pl = św. Antoniego z Padwy, prezbitera i doktora Kościoła -# name.la = S. Antonii de Padova, presbyteri et Ecclesiae doctoris - -# [romuald-abbot] -# date = 06-19 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Romuald, abbot -# name.pl = św. Romualda, opata -# name.la = S. Romualdi, abbatis - -# [aloysius-gonzaga-religious] -# date = 06-21 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Aloysius Gonzaga, religious -# name.pl = św. Alojzego Gonzagi, zakonnika -# name.la = S Aloisii Gonzaga, religiosi - -# [saints-john-fisher-bishop-and-martyr-and-thomas-more-martyr] -# date = 06-22 -# rank = optional -# class = saint -# colour = red -# name.en = Saints John Fisher, bishop and martyr and Thomas More, martyr -# name.pl = świętych Jana Fishera, biskupa, i Tomasza More'a, męczenników -# name.la = Ss. Ioannis Fisher, episcopi, et Thomae More, martyrum - -# [paulinus-of-nola-bishop] -# date = 06-22 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Paulinus of Nola, bishop -# name.pl = św. Paulina z Noli, biskupa -# name.la = S. Paulini Nolani - -# [birth-of-saint-john-the-baptist] -# date = 06-24 -# rank = solemnity -# class = saint -# colour = white -# name.en = Birth of Saint John the Baptist -# name.pl = narodzenia św. Jana Chrzciciela -# name.la = IN NATIVITATE S. IOANNIS BAPTISTAE - -# [cyril-of-alexandria-bishop-and-doctor] -# date = 06-27 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Cyril of Alexandria, bishop and doctor -# name.pl = św. Cyryla Aleksandryjskiego, biskupa i doktora Kościoła -# name.la = S. Cyrilli Alexandrini, episcopi et Ecclesiae doctoris - -# [irenaeus-bishop-and-martyr] -# date = 06-28 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Irenaeus, bishop and martyr -# name.pl = św. Ireneusza, biskupa i męczennika -# name.la = S. Irenaei, episcopi et martyris - -# [saints-peter-and-paul-apostles] -# date = 06-29 -# rank = solemnity -# class = saint -# colour = red -# name.en = Saints Peter and Paul, Apostles -# name.pl = świętych Apostołów Piotra i Pawła -# name.la = Ss. PETRI ET PAULI, APOSTOLORUM - -# [first-martyrs-of-the-church-of-rome] -# date = 06-30 -# rank = optional -# class = saint -# colour = red -# name.en = First Martyrs of the Church of Rome -# name.pl = świętych Pierwszych Męczenników Kościoła Rzymskiego -# name.la = Ss. Protomartyrum S. Romanae Ecclesiae - -# [thomas-the-apostle] -# date = 07-03 -# rank = feast -# class = saint -# colour = red -# name.en = Saint Thomas the Apostle -# name.pl = św. Tomasza, apostoła -# name.la = S. Thomae, apostoli - -# [elizabeth-of-portugal] -# date = 07-04 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Elizabeth of Portugal -# name.pl = św. Elżbiety Portugalskiej -# name.la = S. Elisabeth Lusitaniae - -# [anthony-zaccaria-priest] -# date = 07-05 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Anthony Zaccaria, priest -# name.pl = św. Antoniego Marii Zaccarii, prezbitera -# name.la = S. Antonii Mariae Zaccaria, presbyteri - -# [maria-goretti-virgin-and-martyr] -# date = 07-06 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Maria Goretti, virgin and martyr -# name.pl = św. Marii Goretti, dziewicy i męczennicy -# name.la = S. Mariae Goretti, virginis et martyris - -# [augustine-zhao-rong-and-companions-martyrs] -# date = 07-09 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Augustine Zhao Rong and companions, martyrs -# name.pl = św. Augustyna Zhao Rong i Towarzyszy, męczenników -# name.la = Ss. Augustini Zhao Rong, presbyteri - -# [benedict-abbot] -# date = 07-11 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Benedict, abbot -# name.pl = św. Benedykta, opata, patrona Europy -# name.la = S. Benedicti, abbatis - -# [henry] -# date = 07-13 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Henry -# name.pl = św. Henryka -# name.la = S. Henrici - -# [camillus-de-lellis-priest] -# date = 07-14 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Camillus de Lellis, priest -# name.pl = św. Kamila de Lellis, prezbitera -# name.la = S. Camilli de Lellis, presbyteri - -# [bonaventure-bishop-and-doctor] -# date = 07-15 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Bonaventure, bishop and doctor -# name.pl = św. Bonawentury, biskupa i doktora Kościoła -# name.la = S. Bonaventurae, episcopi et Ecclesiae doctoris - -# [our-lady-of-mount-carmel] -# date = 07-16 -# rank = optional -# class = bvm -# colour = white -# name.en = Our Lady of Mount Carmel -# name.pl = Najświętszej Maryi Panny z Góry Karmel -# name.la = B. Mariae Virginis de Monte Carmelo - -# [apollinaris-bishop-and-martyr] -# date = 07-20 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Apollinaris, bishop and martyr -# name.pl = św. Apolinarego, biskupa i męczennika -# name.la = S. Apollinaris, episcopi et martyris - -# [lawrence-of-brindisi-priest-and-doctor] -# date = 07-21 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Lawrence of Brindisi, priest and doctor -# name.pl = św. Wawrzyńca z Brindisi, prezbitera i doktora Kościoła -# name.la = S. Laurentii de Brindisi, presbyteri et Ecclesiae doctoris - -# [mary-magdalene] -# date = 07-22 -# rank = feast -# class = saint -# colour = white -# name.en = Saint Mary Magdalene -# name.pl = św. Marii Magdaleny -# name.la = S. Mariae Magdalenae - -# [birgitta-religious] -# date = 07-23 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Birgitta, religious -# name.pl = św. Brygidy, zakonnicy -# name.la = S. Birgittae, religiosae - -# [sharbel-makhluf-hermit] -# date = 07-24 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Sharbel Makhluf, hermit -# name.pl = św. Charbela Makhloufa, pustelnika -# name.la = S. Sarbelii Makhlūf, presbyteri - -# [james-apostle] -# date = 07-25 -# rank = feast -# class = saint -# colour = red -# name.en = Saint James, apostle -# name.pl = św. Jakuba, apostoła -# name.la = S. Iacobi, apostoli - -# [saints-joachim-and-anne] -# date = 07-26 -# rank = memorial -# class = saint -# colour = white -# name.en = Saints Joachim and Anne -# name.pl = św. Joachima i Anny, rodziców Najświętszej Maryi Panny -# name.la = Ss. Ioachim et Annae, parentum B. Mariae Virginis - -# [martha] -# date = 07-29 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Martha -# name.pl = św. Marty, Marii i Łazarza -# name.la = S. Marthae - -# [peter-chrysologus-bishop-and-doctor] -# date = 07-30 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Peter Chrysologus, bishop and doctor -# name.pl = św. Piotra Chryzologa, biskupa i doktora Kościoła -# name.la = S. Petri Chrysologi, episcopi et Ecclesiae doctoris - -# [ignatius-of-loyola-priest] -# date = 07-31 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Ignatius of Loyola, priest -# name.pl = św. Ignacego z Loyoli, prezbitera -# name.la = S. Ignatii de Loyola, presbyteri - -# [alphonsus-maria-de-liguori-bishop-and-doctor-of-the-church] -# date = 08-01 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Alphonsus Maria de Liguori, bishop and doctor of the Church -# name.pl = św. Alfonsa Marii Liguoriego, biskupa i doktora Kościoła -# name.la = S. Alfonsi Mariae de' Liguori, episcopi et Ecclesiae doctoris - -# [peter-julian-eymard-priest] -# date = 08-02 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Peter Julian Eymard, priest -# name.pl = św. Piotra Juliana Eymarda, prezbitera -# name.la = S. Petri Iuliani Eymard, presbyteri - -# [eusebius-of-vercelli-bishop] -# date = 08-02 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Eusebius of Vercelli, bishop -# name.pl = św. Euzebiusza z Vercelli, biskupa -# name.la = S. Eusebii Vercellensis, episcopi - -# [jean-vianney-the-cure-of-ars-priest] -# date = 08-04 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Jean Vianney (the Curé of Ars), priest -# name.pl = św. Jana Marii Vianneya, prezbitera -# name.la = S. Ioannis Mariae Vianney, presbyteri - -# [dedication-of-the-basilica-of-saint-mary-major] -# date = 08-05 -# rank = optional -# class = saint -# colour = white -# name.en = Dedication of the Basilica of Saint Mary Major -# name.pl = poświęcenia bazyliki Najświętszej Maryi Panny (Matki Bożej Większej) -# name.la = In Dedicatione basilicae S. Mariae - -# [transfiguration-of-the-lord] -# date = 08-06 -# rank = feast -# class = lord -# colour = white -# name.en = Transfiguration of the Lord -# name.pl = Przemienienia Pańskiego -# name.la = IN TRANSFIGURATIONE DOMINI - -# [sixtus-ii-pope-and-companions-martyrs] -# date = 08-07 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Sixtus II, pope, and companions, martyrs -# name.pl = św. Sykstusa II, papieża, i Towarzyszy, męczenników -# name.la = Ss. Xysti, papae, et sociorum, martyrum - -# [cajetan-priest] -# date = 08-07 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Cajetan, priest -# name.pl = św. Kajetana, prezbitera -# name.la = S. Caietani, presbyteri - -# [dominic-priest] -# date = 08-08 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Dominic, priest -# name.pl = św. Dominika, prezbitera -# name.la = S. Dominici, presbyteri - -# [teresa-benedicta-of-the-cross-edith-stein-virgin-and-martyr] -# date = 08-09 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Teresa Benedicta of the Cross (Edith Stein), virgin and martyr -# name.pl = św. Teresy Benedykty od Krzyża (Edyty Stein), dziewicy i męczennicy -# name.la = S. Teresiae Benedictae a Cruce, virginis et martyris - -# [lawrence-deacon-and-martyr] -# date = 08-10 -# rank = feast -# class = saint -# colour = red -# name.en = Saint Lawrence, deacon and martyr -# name.pl = św. Wawrzyńca, diakona i męczennika -# name.la = S. Laurentii, diaconi et martyris - -# [clare-virgin] -# date = 08-11 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Clare, virgin -# name.pl = św. Klary, dziewicy -# name.la = S. Clarae, virginis - -# [jane-frances-de-chantal-religious] -# date = 08-12 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Jane Frances de Chantal, religious -# name.pl = św. Joanny Franciszki de Chantal, zakonnicy -# name.la = S. Ioannae Franciscae de Chantal, religiosae - -# [saints-pontian-pope-and-hippolytus-priest-martyrs] -# date = 08-13 -# rank = optional -# class = saint -# colour = red -# name.en = Saints Pontian, pope, and Hippolytus, priest, martyrs -# name.pl = świętych Poncjana, papieża, i Hipolita, prezbitera, męczenników -# name.la = Ss. Pontiani, papae, et Hippolyti, presbyteri, martyrum - -# [maximilian-mary-kolbe-priest-and-martyr] -# date = 08-14 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Maximilian Mary Kolbe, priest and martyr -# name.pl = św. Maksymiliana Marii Kolbego, prezbitera i męczennika -# name.la = S. Maximiliani Mariae Kolbe, presbyteri et martyris - -# [assumption-of-the-blessed-virgin-mary] -# date = 08-15 -# rank = solemnity -# class = bvm -# colour = white -# name.en = Assumption of the Blessed Virgin Mary -# name.pl = Wniebowzięcia Najświętszej Maryi Panny -# name.la = IN ASSUMPTIONE B. MARIAE VIRGINIS - -# [stephen-of-hungary] -# date = 08-16 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Stephen of Hungary -# name.pl = św. Stefana Węgierskiego -# name.la = S. Stephani Hungariae - -# [john-eudes-priest] -# date = 08-19 -# rank = optional -# class = saint -# colour = white -# name.en = Saint John Eudes, priest -# name.pl = św. Jana Eudesa, prezbitera -# name.la = S. Ioannis Eudes, presbyteri - -# [bernard-of-clairvaux-abbot-and-doctor-of-the-church] -# date = 08-20 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Bernard of Clairvaux, abbot and doctor of the Church -# name.pl = św. Bernarda, opata i doktora Kościoła -# name.la = S. Bernardi, abbatis et Ecclesiae doctoris - -# [pius-x-pope] -# date = 08-21 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Pius X, pope -# name.pl = św. Piusa X, papieża -# name.la = S. Pii X, papae - -# [queenship-of-blessed-virgin-mary] -# date = 08-22 -# rank = memorial -# class = bvm -# colour = white -# name.en = Queenship of Blessed Virgin Mary -# name.pl = Najświętszej Maryi Panny Królowej -# name.la = B. Mariae Virginis Reginae - -# [rose-of-lima-virgin] -# date = 08-23 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Rose of Lima, virgin -# name.pl = św. Róży z Limy, dziewicy -# name.la = S. Rosae de Lima, virginis - -# [bartholomew-the-apostle] -# date = 08-24 -# rank = feast -# class = saint -# colour = red -# name.en = Saint Bartholomew the Apostle -# name.pl = św. Bartłomieja, Apostoła -# name.la = S. Bartholomaei, apostoli - -# [joseph-of-calasanz-priest] -# date = 08-25 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Joseph of Calasanz, priest -# name.pl = św. Józefa Kalasantego, prezbitera -# name.la = S. Ioseph de Calasanz, presbyteri - -# [louis] -# date = 08-25 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Louis -# name.pl = św. Ludwika -# name.la = S. Ludovici - -# [monica] -# date = 08-27 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Monica -# name.pl = św. Moniki -# name.la = S. Monicae - -# [augustine-of-hippo-bishop-and-doctor-of-the-church] -# date = 08-28 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Augustine of Hippo, bishop and doctor of the Church -# name.pl = św. Augustyna, biskupa i doktora Kościoła -# name.la = S. Augustini, episcopi et Ecclesiae doctoris - -# [the-beheading-of-saint-john-the-baptist-martyr] -# date = 08-29 -# rank = memorial -# class = saint -# colour = red -# name.en = The Beheading of Saint John the Baptist, martyr -# name.pl = męczeństwa św. Jana Chrzciciela -# name.la = In Passione S. Ioannis Baptistae, martyris - -# [gregory-the-great-pope-and-doctor] -# date = 09-03 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Gregory the Great, pope and doctor -# name.pl = św. Grzegorza Wielkiego, papieża i doktora Kościoła -# name.la = S. Gregorii Magni, papae et Ecclesiae doctoris - -# [birth-of-the-blessed-virgin-mary] -# date = 09-08 -# rank = feast -# class = bvm -# colour = white -# name.en = Birth of the Blessed Virgin Mary -# name.pl = Narodzenia Najświętszej Maryi Panny -# name.la = In Nativitate B. Mariae Virginis - -# [peter-claver-priest] -# date = 09-09 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Peter Claver, priest -# name.pl = św. Piotra Klawera, prezbitera -# name.la = S. Petri Claver, presbyteri - -# [holy-name-of-the-blessed-virgin-mary] -# date = 09-12 -# rank = optional -# class = bvm -# colour = white -# name.en = Holy Name of the Blessed Virgin Mary -# name.pl = Najświętszego Imienia Maryi -# name.la = Ss.mi Nominis Mariae - -# [john-chrysostom-bishop-and-doctor] -# date = 09-13 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint John Chrysostom, bishop and doctor -# name.pl = św. Jana Chryzostoma, biskupa i doktora Kościoła -# name.la = S. Ioannis Chrysostomi, episcopi et Ecclesiae doctoris - -# [triumph-of-the-holy-cross] -# date = 09-14 -# rank = feast -# class = lord -# colour = red -# name.en = Triumph of the Holy Cross -# name.pl = Podwyższenia Krzyża Świętego -# name.la = IN EXALTATIONE SANCTAE CRUCIS - -# [our-lady-of-sorrows] -# date = 09-15 -# rank = memorial -# class = bvm -# colour = white -# name.en = Our Lady of Sorrows -# name.pl = Najświętszej Maryi Panny Bolesnej -# name.la = B. Mariae Virginis Perdolentis - -# [saints-cornelius-pope-and-cyprian-bishop-martyrs] -# date = 09-16 -# rank = memorial -# class = saint -# colour = red -# name.en = Saints Cornelius, pope, and Cyprian, bishop, martyrs -# name.pl = świętych męczenników Korneliusza, papieża, i Cypriana, biskupa -# name.la = Ss. Cornelii, papae, et Cypriani, episcopi, martyrum - -# [robert-bellarmine-bishop-and-doctor] -# date = 09-17 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Robert Bellarmine, bishop and doctor -# name.pl = św. Roberta Bellarmina, biskupa i doktora Kościoła -# name.la = S. Roberti Bellarmino, episcopi et Ecclesiae doctoris - -# [januarius-bishop-and-martyr] -# date = 09-19 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Januarius, bishop and martyr -# name.pl = św. Januarego, biskupa i męczennika -# name.la = S. Ianuarii, episcopi et martyris - -# [andrew-kim-taegon-priest-and-paul-chong-hasang-and-companions-martyrs] -# date = 09-20 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Andrew Kim Taegon, priest, and Paul Chong Hasang and companions, martyrs -# name.pl = świętych męczenników Andrzeja Kim Taegon, prezbitera, Pawła Chong Hasang i Towarzyszy -# name.la = Ss. Andreae Kim Tae-gŏn et Pauli Chŏng Ha-sang et sociorum, martyrum - -# [matthew-the-evangelist-apostle-evangelist] -# date = 09-21 -# rank = feast -# class = saint -# colour = red -# name.en = Saint Matthew the Evangelist, Apostle, Evangelist -# name.pl = św. Mateusza, Apostoła i Ewangelisty -# name.la = S. Matthaei, apostoli et evangelistae - -# [pio-of-pietrelcina-padre-pio-priest] -# date = 09-23 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Pio of Pietrelcina (Padre Pio), priest -# name.pl = św. Pio z Pietrelciny, prezbitera -# name.la = S. Pii de Pietrelcina, presbyteri [*] - -# [saints-cosmas-and-damian-martyrs] -# date = 09-26 -# rank = optional -# class = saint -# colour = red -# name.en = Saints Cosmas and Damian, martyrs -# name.pl = świętych Kosmy i Damiana, męczenników -# name.la = Ss. Cosmae et Damiani, martyrum - -# [vincent-de-paul-priest] -# date = 09-27 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Vincent de Paul, priest -# name.pl = św. Wincentego à Paulo, prezbitera -# name.la = S. Vincentii de Paul, presbyteri - -# [wenceslaus-martyr] -# date = 09-28 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Wenceslaus, martyr -# name.pl = św. Wacława, męczennika -# name.la = S. Venceslai, martyris - -# [saints-lawrence-ruiz-and-companions-martyrs] -# date = 09-28 -# rank = optional -# class = saint -# colour = red -# name.en = Saints Lawrence Ruiz and companions, martyrs -# name.pl = świętych Wawrzyńca Ruiz i Towarzyszy, męczenników -# name.la = S. Laurentii Ruiz et sociorum, martyrum - -# [saints-michael-gabriel-and-raphael-archangels] -# date = 09-29 -# rank = feast -# class = saint -# colour = white -# name.en = Saints Michael, Gabriel and Raphael, Archangels -# name.pl = świętych Archaniołów Michała, Gabriela i Rafała -# name.la = Ss. Michaelis, Gabrielis et Raphaelis, archangelorum - -# [jerome-priest-and-doctor] -# date = 09-30 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Jerome, priest and doctor -# name.pl = św. Hieronima, prezbitera i doktora Kościoła -# name.la = S. Hieronymi, presbyteri et Ecclesiae doctoris - -# [therese-of-the-child-jesus-virgin-and-doctor] -# date = 10-01 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Thérèse of the Child Jesus, virgin and doctor -# name.pl = św. Teresy od Dzieciątka Jezus, dziewicy, doktora Kościoła -# name.la = S. Teresiae a Iesu Infante, virginis et Ecclesiae doctoris - -# [guardian-angels] -# date = 10-02 -# rank = memorial -# class = saint -# colour = white -# name.en = Guardian Angels -# name.pl = świętych Aniołów Stróżów -# name.la = Ss. Angelorum Custodum - -# [francis-of-assisi] -# date = 10-04 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Francis of Assisi -# name.pl = św. Franciszka z Asyżu -# name.la = S. Francisci Assisiensis - -# [bruno-priest] -# date = 10-06 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Bruno, priest -# name.pl = św. Brunona, prezbitera -# name.la = S. Brunonis, presbyteri - -# [our-lady-of-the-rosary] -# date = 10-07 -# rank = memorial -# class = bvm -# colour = white -# name.en = Our Lady of the Rosary -# name.pl = Najświętszej Maryi Panny Różańcowej -# name.la = B. Mariae Virginis a Rosario - -# [john-leonardi-priest] -# date = 10-09 -# rank = optional -# class = saint -# colour = white -# name.en = Saint John Leonardi, priest -# name.pl = św. Jana Leonardiego, prezbitera -# name.la = S. Ioannis Leonardi, presbyteri - -# [denis-and-companions-martyrs] -# date = 10-09 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Denis and companions, martyrs -# name.pl = św. Dionizego i Towarzyszy, męczenników -# name.la = Ss. Dionysii, episcopi, et sociorum, martyrum - -# [john-xxiii-pope] -# date = 10-11 -# rank = optional -# class = saint -# colour = white -# name.en = Saint John XXIII, pope -# name.pl = św. Jana XXIII, papieża -# name.la = S. Ioannis XXIII, papae - -# [callistus-i-pope-and-martyr] -# date = 10-14 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Callistus I, pope and martyr -# name.pl = św. Kaliksta I, papieża i męczennika -# name.la = S. Callisti I, papae et martyris - -# [teresa-of-jesus-virgin-and-doctor] -# date = 10-15 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Teresa of Jesus, virgin and doctor -# name.pl = św. Teresy od Jezusa, dziewicy i doktora Kościoła -# name.la = S. Teresiae a Iesu, virginis et Ecclesiae doctoris - -# [hedwig-religious] -# date = 10-16 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Hedwig, religious -# name.pl = św. Jadwigi Śląskiej -# name.la = S. Hedvigis, religiosae - -# [margaret-mary-alacoque-virgin] -# date = 10-16 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Margaret Mary Alacoque, virgin -# name.pl = św. Małgorzaty Marii Alacoque, dziewicy -# name.la = S. Margaritae Mariae Alacoque, virginis - -# [ignatius-of-antioch-bishop-and-martyr] -# date = 10-17 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Ignatius of Antioch, bishop and martyr -# name.pl = św. Ignacego Antiocheńskiego, biskupa i męczennika -# name.la = S. Ignatii Antiocheni, episcopi et martyris - -# [luke-the-evangelist] -# date = 10-18 -# rank = feast -# class = saint -# colour = red -# name.en = Saint Luke the Evangelist -# name.pl = św. Łukasza, ewangelisty -# name.la = S. Lucae, evangelistae - -# [paul-of-the-cross-priest] -# date = 10-19 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Paul of the Cross, priest -# name.pl = św. Pawła od Krzyża, prezbitera -# name.la = S. Pauli a Cruce, presbyteri - -# [saints-jean-de-brebeuf-isaac-jogues-priests-and-martyrs-and-their-companions-martyrs] -# date = 10-19 -# rank = optional -# class = saint -# colour = red -# name.en = Saints Jean de Brébeuf, Isaac Jogues, priests and martyrs; and their companions, martyrs -# name.pl = świętych Jana de Brébeuf, Izaaka Jogues, prezbiterów, i Towarzyszy, męczenników -# name.la = Ss. Ioannis de Brébeuf et Isaac Jogues, presbyterorum, et sociorum, martyrum - -# [john-paul-ii-pope] -# date = 10-22 -# rank = optional -# class = saint -# colour = white -# name.en = Saint John Paul II, pope -# name.pl = św. Jana Pawła II, papieża -# name.la = S. Ioannis Pauli II, papae - -# [john-of-capistrano-priest] -# date = 10-23 -# rank = optional -# class = saint -# colour = white -# name.en = Saint John of Capistrano, priest -# name.pl = św. Jana Kapistrana, prezbitera -# name.la = S. Ioannis de Capestrano, presbyteri - -# [anthony-mary-claret-bishop] -# date = 10-24 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Anthony Mary Claret, bishop -# name.pl = św. Antoniego Marii Clareta, biskupa -# name.la = S. Antonii Mariae Claret, episcopi - -# [simon-and-saint-jude-apostles] -# date = 10-28 -# rank = feast -# class = saint -# colour = red -# name.en = Saint Simon and Saint Jude, apostles -# name.pl = świętych Apostołów Szymona i Judy Tadeusza -# name.la = Ss. Simonis et Iudae, apostolorum - -# [all-saints] -# date = 11-01 -# rank = solemnity -# class = saint -# colour = white -# name.en = All Saints -# name.pl = Wszystkich Świętych -# name.la = OMNIUM SANCTORUM - -# [all-souls] -# date = 11-02 -# rank = solemnity -# class = saint -# colour = white -# name.en = All Souls -# name.pl = Wszystkich Wiernych Zmarłych -# name.la = IN COMMEMORATIONE OMNIUM FIDELIUM DEFUNCTORUM - -# [martin-de-porres-religious] -# date = 11-03 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Martin de Porres, religious -# name.pl = św. Marcina de Porres, zakonnika -# name.la = S. Martini de Porres, religiosi - -# [charles-borromeo-bishop] -# date = 11-04 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Charles Borromeo, bishop -# name.pl = św. Karola Boromeusza, biskupa -# name.la = S. Caroli Borromeo, episcopi - -# [dedication-of-the-lateran-basilica] -# date = 11-09 -# rank = feast -# class = lord -# colour = white -# name.en = Dedication of the Lateran basilica -# name.pl = poświęcenia Bazyliki Laterańskiej -# name.la = IN DEDICATIONE BASILICAE LATERANENSIS - -# [leo-the-great-pope-and-doctor] -# date = 11-10 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Leo the Great, pope and doctor -# name.pl = św. Leona Wielkiego, papieża i doktora Kościoła -# name.la = S. Leonis Magni, papae et Ecclesiae doctoris - -# [martin-of-tours-bishop] -# date = 11-11 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Martin of Tours, bishop -# name.pl = św. Marcina z Tours, biskupa -# name.la = S. Martini Turonensis, episcopi - -# [josaphat-bishop-and-martyr] -# date = 11-12 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Josaphat, bishop and martyr -# name.pl = św. Jozafata, biskupa i męczennika -# name.la = S. Iosaphat, episcopi et martyris - -# [albert-the-great-bishop-and-doctor] -# date = 11-15 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Albert the Great, bishop and doctor -# name.pl = św. Alberta Wielkiego, biskupa i doktora Kościoła -# name.la = S. Alberti Magni, episcopi et Ecclesiae doctoris - -# [margaret-of-scotland] -# date = 11-16 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Margaret of Scotland -# name.pl = św. Małgorzaty Szkockiej -# name.la = S. Margaritae Scotiae - -# [gertrude-the-great-virgin] -# date = 11-16 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Gertrude the Great, virgin -# name.pl = św. Gertrudy Wielkiej, dziewicy -# name.la = S. Gertrudis, virginis - -# [elizabeth-of-hungary-religious] -# date = 11-17 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Elizabeth of Hungary, religious -# name.pl = św. Elżbiety Węgierskiej, zakonnicy -# name.la = S. Elisabeth Hungariae, religiosae - -# [dedication-of-the-basilicas-of-saints-peter-and-paul-apostles] -# date = 11-18 -# rank = optional -# class = saint -# colour = white -# name.en = Dedication of the basilicas of Saints Peter and Paul, Apostles -# name.pl = poświęcenia bazylik świętych Apostołów Piotra i Pawła -# name.la = In Dedicatione basilicarum Ss. Petri et Pauli, apostolorum - -# [presentation-of-the-blessed-virgin-mary] -# date = 11-21 -# rank = memorial -# class = bvm -# colour = white -# name.en = Presentation of the Blessed Virgin Mary -# name.pl = Ofiarowania Najświętszej Maryi Panny -# name.la = In Praesentatione B. Mariae Virginis - -# [cecilia-virgin-and-martyr] -# date = 11-22 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Cecilia, virgin and martyr -# name.pl = św. Cecylii, dziewicy i męczennicy -# name.la = S. Caeciliae, virginis et martyris - -# [clement-i-pope-and-martyr] -# date = 11-23 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Clement I, pope and martyr -# name.pl = św. Klemensa I, papieża i męczennika -# name.la = S. Clementis I, papae et martyris - -# [columban-religious] -# date = 11-23 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Columban, religious -# name.pl = św. Kolumbana, opata -# name.la = S. Columbani, abbatis - -# [andrew-dung-lac-and-his-companions-martyrs] -# date = 11-24 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Andrew Dung Lac and his companions, martyrs -# name.pl = świętych męczenników Andrzeja Dung-Lac, prezbitera, i Towarzyszy -# name.la = Ss. Andreae Dũng Lac, presbyteri, et sociorum, martyrum - -# [catherine-of-alexandria] -# date = 11-25 -# rank = optional -# class = saint -# colour = red -# name.en = Saint Catherine of Alexandria -# name.pl = św. Katarzyny Aleksandryjskiej, dziewicy i męczennicy -# name.la = S. Catharinae Alexandrinae, virginis et martyris - -# [andrew-the-apostle] -# date = 11-30 -# rank = feast -# class = saint -# colour = red -# name.en = Saint Andrew the Apostle -# name.pl = św. Andrzeja, Apostoła -# name.la = S. Andreae, apostoli - -# [francis-xavier-priest] -# date = 12-03 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Francis Xavier, priest -# name.pl = św. Franciszka Ksawerego, prezbitera -# name.la = S. Francisci Xavier, presbyteri - -# [john-damascene-priest-and-doctor] -# date = 12-04 -# rank = optional -# class = saint -# colour = white -# name.en = Saint John Damascene, priest and doctor -# name.pl = św. Jana Damasceńskiego, prezbitera i doktora Kościoła -# name.la = S. Ioannis Damasceni, presbyteri et Ecclesiae doctoris - -# [nicholas-bishop] -# date = 12-06 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Nicholas, bishop -# name.pl = św. Mikołaja, biskupa -# name.la = S. Nicolai, episcopi - -# [ambrose-bishop-and-doctor] -# date = 12-07 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint Ambrose, bishop and doctor -# name.pl = św. Ambrożego, biskupa i doktora Kościoła -# name.la = S. Ambrosii, episcopi et Ecclesiae doctoris - -# [immaculate-conception-of-the-blessed-virgin-mary] -# date = 12-08 -# rank = solemnity -# class = bvm -# colour = white -# name.en = Immaculate Conception of the Blessed Virgin Mary -# name.pl = Niepokalanego Poczęcia Najświętszej Maryi Panny -# name.la = IN CONCEPTIONE IMMACULATA BEATAE MARIAE VIRGINIS - -# [juan-diego] -# date = 12-09 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Juan Diego -# name.pl = św. Juana Diego Cuauhtlatoatzin -# name.la = S. Ioannis Didaci Cuahtlatoatzin [*] - -# [damasus-i-pope] -# date = 12-11 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Damasus I, pope -# name.pl = św. Damazego I, papieża -# name.la = S. Damasi I, papae - -# [our-lady-of-guadalupe] -# date = 12-12 -# rank = optional -# class = bvm -# colour = white -# name.en = Our Lady of Guadalupe -# name.pl = Najświętszej Maryi Panny z Guadalupe -# name.la = Beatae Mariae Virginis de Guadalupe [*] - -# [lucy-of-syracuse-virgin-and-martyr] -# date = 12-13 -# rank = memorial -# class = saint -# colour = red -# name.en = Saint Lucy of Syracuse, virgin and martyr -# name.pl = św. Łucji, dziewicy i męczennicy -# name.la = S. Luciae, virginis et martyris - -# [john-of-the-cross-priest-and-doctor] -# date = 12-14 -# rank = memorial -# class = saint -# colour = white -# name.en = Saint John of the Cross, priest and doctor -# name.pl = św. Jana od Krzyża, prezbitera i doktora Kościoła -# name.la = S. Ioannis a Cruce, presbyteri et Ecclesiae doctoris - -# [peter-canisius-priest-and-doctor] -# date = 12-21 -# rank = optional -# class = saint -# colour = violet -# name.en = Saint Peter Canisius, priest and doctor -# name.pl = św. Piotra Kanizjusza, prezbitera i doktora Kościoła -# name.la = S. Petri Canisii, presbyteri et Ecclesiae doctoris - -# [john-of-kanty-priest] -# date = 12-23 -# rank = optional -# class = saint -# colour = violet -# name.en = Saint John of Kanty, priest -# name.pl = św. Jana Kantego, prezbitera -# name.la = S. Ioannis de Kęty, presbyteri - -# [stephen-the-first-martyr] -# date = 12-26 -# rank = feast -# class = saint -# colour = red -# name.en = Saint Stephen, the first martyr -# name.pl = św. Szczepana, pierwszego męczennika -# name.la = S. Stephani, protomartyris - -# [john-the-apostle-and-evangelist] -# date = 12-27 -# rank = feast -# class = saint -# colour = white -# name.en = Saint John the Apostle and evangelist -# name.pl = św. Jana, apostoła i ewangelisty -# name.la = S. Ioannis, apostoli et evangelistae - -# [holy-innocents-martyrs] -# date = 12-28 -# rank = feast -# class = saint -# colour = red -# name.en = Holy Innocents, martyrs -# name.pl = świętych Młodzianków, męczenników -# name.la = Ss. Innocentium, martyrum - -# [thomas-becket-bishop-and-martyr] -# date = 12-29 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Thomas Becket, bishop and martyr -# name.pl = św. Tomasza Becketa, biskupa i męczennika -# name.la = S. Thomae Becket, episcopi et martyris - -# [sylvester-i-pope] -# date = 12-31 -# rank = optional -# class = saint -# colour = white -# name.en = Saint Sylvester I, pope -# name.pl = św. Sylwestra I, papieża -# name.la = S. Silvestri I, papae diff --git a/internal/cli/callayer.go b/internal/cli/callayer.go index 3900eb1..db59b13 100644 --- a/internal/cli/callayer.go +++ b/internal/cli/callayer.go @@ -43,8 +43,110 @@ name.en = Saint Example, Patron reading.gospel = Jn 10:11-16 ` +// calDumpHeader precedes a --cal-dump file. %[1]s = the layer name, %[2]s = a +// human label for the form (e.g. "Ordinary Form"). +const calDumpHeader = `# lectio calendar layer "%[1]s" -- the %[2]s universal calendar, DUMPED and +# fully COMMENTED OUT. As shipped it changes nothing. To alter one day, uncomment +# its block, edit a field (rank, colour, name, ...), then enable the layer by +# adding its name to 'use' in config.ini: use = %[1]s +# +# A layer OVERLAYS the base calendar field by field, so every day you leave +# commented keeps its default. You can also: +# * remove a celebration: uncomment its block, add suppress = true +# * add one: write a new [your-slug] with date/rank/colour/name.* +# * change its readings: add reading.first / reading.psalm / reading.gospel +# +# Fields: date = MM-DD (or easter+-N / christmas+-N / sunday-after MM-DD) ; +# rank = solemnity|feast|memorial|optional ; class = lord|bvm|saint ; +# colour = white|red|green|violet|rose|black ; name.<lang> = display name. +# (reading.* lines are omitted here; add them only to change a day's readings.) +# +# Re-dump anytime with: lectio --cal-dump %[1]s (add -l trad for the 1962 form). + +[layer] +id = %[1]s +name = %[1]s +type = diocesan +` + var validRanks = map[string]bool{"solemnity": true, "feast": true, "memorial": true, "optional": true} +// runCalDump writes the running universal calendar for a form to +// <CalendarsDir>/<name>.ini as a fully-commented layer template: every +// celebration present, all commented, so uncommenting and editing one day +// overrides it. It refuses to overwrite an existing file. formFlag ("old"/"new", +// optional) overrides the form implied by cfg. +func runCalDump(cfg config.Config, name, formFlag string, stdout, stderr io.Writer) int { + sel := cfg.Selection() + if formFlag != "" { + if formFlag != "old" && formFlag != "new" { + fmt.Fprintf(stderr, "lectio: invalid --form %q (want old|new)\n", formFlag) + return 2 + } + sel.Form = formFlag + } + path, err := layerPath(name) + if err != nil { + fmt.Fprintln(stderr, "lectio:", err) + return 2 + } + if _, err := os.Stat(path); err == nil { + fmt.Fprintf(stderr, "lectio: %s already exists (not overwriting)\n", path) + return 1 + } + + base := caldata.Base(sel.Form) + formLabel := "Ordinary Form" + if sel.Form == "old" { + formLabel = "Extraordinary Form (1962)" + } + + // Sort by date then slug. MM-DD dates sort chronologically and ahead of the + // movable specs (easter+N, christmas-N), which then group alphabetically. + slugs := make([]string, 0, len(base.Cels)) + for slug := range base.Cels { + slugs = append(slugs, slug) + } + sort.Slice(slugs, func(i, j int) bool { + di, dj := base.Cels[slugs[i]].Fields["date"], base.Cels[slugs[j]].Fields["date"] + if di != dj { + return di < dj + } + return slugs[i] < slugs[j] + }) + + var b strings.Builder + fmt.Fprintf(&b, calDumpHeader, name, formLabel) + order := []string{"date", "rank", "class", "colour", "name.en", "name.pl", "name.la"} + n := 0 + for _, slug := range slugs { + f := base.Cels[slug].Fields + if f["date"] == "" { + continue // skip anything without a date (defensive) + } + b.WriteByte('\n') + fmt.Fprintf(&b, "# [%s]\n", slug) + for _, k := range order { + if v := f[k]; v != "" { + fmt.Fprintf(&b, "# %s = %s\n", k, v) + } + } + n++ + } + + if err := os.MkdirAll(filepath.Dir(path), 0o755); err != nil { + fmt.Fprintln(stderr, "lectio:", err) + return 1 + } + if err := os.WriteFile(path, []byte(b.String()), 0o644); err != nil { + fmt.Fprintln(stderr, "lectio:", err) + return 1 + } + fmt.Fprintf(stdout, "dumped %d %s celebrations to %s\n", n, formLabel, path) + fmt.Fprintf(stdout, "uncomment a day, edit it, then set use = %s in config.ini\n", name) + return 0 +} + // layerPath resolves <CalendarsDir>/<name>.ini, rejecting a name with path separators. func layerPath(name string) (string, error) { if name == "" || strings.ContainsAny(name, `/\`) { diff --git a/internal/cli/cli.go b/internal/cli/cli.go index 078d0c2..ffefd54 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -46,6 +46,8 @@ Flags: --week list the coming week's gospel references and exit -L, --liturgy print the computed liturgical day (offline, no network) and exit --cal-new NAME scaffold a custom calendar layer ~/.config/lectio/calendars/NAME.ini + --cal-dump NAME dump the whole universal calendar to NAME.ini, commented, + to uncomment+edit one day (add -l trad for the 1962 form) --cal-check NAME validate a custom calendar layer NAME.ini and exit --corpus-check X validate a bible corpus (code, e.g. drb, or a path to a <code>.tsv) and exit; errors fail, coverage gaps warn @@ -132,7 +134,7 @@ func Run(args []string, stdin io.Reader, stdout, stderr io.Writer) int { var list bool var ref string var liturgy bool - var calNew, calCheck string + var calNew, calCheck, calDump string var corpusCheck string var jsonOut bool var format, fromFlag, toFlag, yearFlag, formFlag string @@ -174,6 +176,7 @@ func Run(args []string, stdin io.Reader, stdout, stderr io.Writer) int { fs.BoolVar(&liturgy, "liturgy", false, "print the computed liturgical day (offline calendar engine) and exit") fs.StringVar(&calNew, "cal-new", "", "scaffold a new calendar-layer file NAME.ini and exit") fs.StringVar(&calCheck, "cal-check", "", "validate the calendar-layer file NAME.ini and exit") + fs.StringVar(&calDump, "cal-dump", "", "dump the universal calendar to NAME.ini as a commented layer template and exit") fs.StringVar(&corpusCheck, "corpus-check", "", "validate a bible corpus (code or path to <code>.tsv) and exit") fs.BoolVar(&jsonOut, "json", false, "with --corpus-check, print the report as JSON") fs.StringVar(&format, "format", "", "json|ical: emit the computed calendar and exit") @@ -229,6 +232,10 @@ func Run(args []string, stdin io.Reader, stdout, stderr io.Writer) int { cfg.UILanguage = config.NormalizeUILanguage(uiLang) } + if calDump != "" { + return runCalDump(cfg, calDump, formFlag, stdout, stderr) + } + // `--year N` on its own prints the human-readable key-dates overview; // with --format (or --from/--to) it emits the machine calendar via runFeed. if yearFlag != "" && format == "" && fromFlag == "" && toFlag == "" { diff --git a/man/lectio.1 b/man/lectio.1 index 102e170..6ab8eb7 100644 --- a/man/lectio.1 +++ b/man/lectio.1 @@ -90,9 +90,19 @@ Print today's gospel reference and exit (for scripts and cron). List the coming week's gospel references and exit. .TP .B \-\-cal\-new \fINAME\fR -Scaffold a custom calendar layer at +Scaffold a small custom calendar layer at .IR ~/.config/lectio/calendars/NAME.ini . .TP +.B \-\-cal\-dump \fINAME\fR +Dump the whole universal calendar to +.IR ~/.config/lectio/calendars/NAME.ini , +every celebration commented out. Uncomment one day and edit a field to override +it. Respects +.BR \-l / \-\-lectionary +(dump the 1962 form with +.BR "\-l trad" ). +Refuses to overwrite an existing file. +.TP .B \-\-cal\-check \fINAME\fR Validate a custom calendar layer and exit. .TP @@ -136,10 +146,10 @@ Localised interface labels for \fBui_language = <code>\fR. .I ~/.config/lectio/calendars/ Custom calendar layers, stacked over the universal calendar via .B use -in config (field\-level add / override / suppress). A commented template of -every universal celebration ships as -.IR examples/sanctorale-of.ini : -copy it here, then uncomment and edit a day to change it. +in config (field\-level add / override / suppress). Generate a fully\-commented +template of every universal celebration here with +.BR "\-\-cal\-dump NAME" , +then uncomment and edit a day to change it. .TP .I ~/.config/lectio/sanctorale/of.ini .TQ @@ -166,12 +176,12 @@ The year's key dates: .B lectio \-\-year 2026 .RE .PP -Change one day's celebration \(em copy the example layer, uncomment and edit the +Change one day's celebration \(em dump the calendar, uncomment and edit the entry, enable it: .PP .RS .nf -cp examples/sanctorale-of.ini ~/.config/lectio/calendars/mine.ini +lectio \-\-cal\-dump mine $EDITOR ~/.config/lectio/calendars/mine.ini echo 'use = mine' >> ~/.config/lectio/config.ini .fi |
