aboutsummaryrefslogtreecommitdiff
path: root/internal/export/calendar.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-29 21:15:10 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-29 21:15:10 +0200
commita688f064da4dd466eaa961645a140585a2c9fdd4 (patch)
tree11a3ddbde1a60649376d3f20cb0480a74a29e665 /internal/export/calendar.go
parent714a0b669409e35f67ae2ad9fe6a8452e93e44d9 (diff)
downloadlectio-a688f064da4dd466eaa961645a140585a2c9fdd4.tar.gz
lectio-a688f064da4dd466eaa961645a140585a2c9fdd4.zip
calendar: name the liturgical form fully in the printed title; v0.45.1v0.45.1
The exported month calendar's title showed the terse dropdown word ("August 2026 — traditional"). Spell the form out: "traditional roman calendar" / "novus ordo calendar". Add dedicated i18n labels CalModern/CalTraditional (translatable like the rest of the chrome; pl = "kalendarz Novus Ordo" / "tradycyjny kalendarz rzymski") rather than overloading the short OptModern/OptTraditional the settings dropdown uses. Bump version to 0.45.1.
Diffstat (limited to 'internal/export/calendar.go')
-rw-r--r--internal/export/calendar.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/export/calendar.go b/internal/export/calendar.go
index 10f9ffb..1d3b043 100644
--- a/internal/export/calendar.go
+++ b/internal/export/calendar.go
@@ -68,9 +68,9 @@ func CalendarPDF(year, month int, days []CalendarDay, lectionary, lang string) (
pw, ph := pdf.GetPageSize()
ui := i18n.Get(lang)
- lect := ui.OptModern
+ lect := ui.CalModern
if lectionary == "traditional" {
- lect = ui.OptTraditional
+ lect = ui.CalTraditional
}
monthName := time.Month(month).String()
if month >= 1 && month <= 12 && ui.Months[month-1] != "" {