From be4863fea96b9aeb3d365ffb35439ee1f9297d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tukusej=E2=80=99s=20Sirs?= Date: Sat, 12 Nov 2022 22:54:21 +0100 Subject: [PATCH] fix(l10n): rename `weekday_year_*` to `weekday_cycle_*` --- lib/constants/cycles.ts | 4 ++-- lib/locales/en.ts | 4 ++-- lib/locales/fr.ts | 4 ++-- lib/locales/it.ts | 4 ++-- lib/locales/sk.ts | 4 ++-- lib/types/locale.ts | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/constants/cycles.ts b/lib/constants/cycles.ts index 52f9a9ed2..04999bece 100644 --- a/lib/constants/cycles.ts +++ b/lib/constants/cycles.ts @@ -56,8 +56,8 @@ export type SundayCycle = typeof SUNDAY_CYCLES[number]; * Odd-numbered years are the Cycle I (year 1); even-numbered ones are the Cycle II (year 2). */ export const WeekdayCycles = { - Year1: 'YEAR_1', - Year2: 'YEAR_2', + Cycle1: 'CYCLE_1', + Cycle2: 'CYCLE_2', } as const; /** diff --git a/lib/locales/en.ts b/lib/locales/en.ts index 66cbd3f8f..7f985ff7d 100644 --- a/lib/locales/en.ts +++ b/lib/locales/en.ts @@ -65,8 +65,8 @@ export const locale: Locale = { sunday_year_a: 'Year A', sunday_year_b: 'Year B', sunday_year_c: 'Year C', - weekday_year_1: 'Cycle I', - weekday_year_2: 'Cycle II', + weekday_cycle_1: 'Cycle I', + weekday_cycle_2: 'Cycle II', psalter_week_1: 'Week I', psalter_week_2: 'Week II', psalter_week_3: 'Week III', diff --git a/lib/locales/fr.ts b/lib/locales/fr.ts index f150e1abf..b40194fcf 100644 --- a/lib/locales/fr.ts +++ b/lib/locales/fr.ts @@ -69,8 +69,8 @@ export const locale: Locale = { sunday_year_a: 'Année A', sunday_year_b: 'Année B', sunday_year_c: 'Année C', - weekday_year_1: 'Année impaire', - weekday_year_2: 'Année paire', + weekday_cycle_1: 'Année impaire', + weekday_cycle_2: 'Année paire', psalter_week_1: 'Semaine I des Psaumes', psalter_week_2: 'Semaine II des Psaumes', psalter_week_3: 'Semaine III des Psaumes', diff --git a/lib/locales/it.ts b/lib/locales/it.ts index cc9e95777..3156a3997 100644 --- a/lib/locales/it.ts +++ b/lib/locales/it.ts @@ -65,8 +65,8 @@ export const locale: Locale = { sunday_year_a: 'Anno A', sunday_year_b: 'Anno B', sunday_year_c: 'Anno C', - weekday_year_1: 'Anno dispari', - weekday_year_2: 'Anno pari', + weekday_cycle_1: 'Anno dispari', + weekday_cycle_2: 'Anno pari', psalter_week_1: 'I Settimana del Salterio', psalter_week_2: 'II Settimana del Salterio', psalter_week_3: 'III Settimana del Salterio', diff --git a/lib/locales/sk.ts b/lib/locales/sk.ts index 6bcbd18c2..90c9e874a 100644 --- a/lib/locales/sk.ts +++ b/lib/locales/sk.ts @@ -65,8 +65,8 @@ export const locale: Locale = { sunday_year_a: 'rok A', sunday_year_b: 'rok B', sunday_year_c: 'rok C', - weekday_year_1: 'cyklus I.', - weekday_year_2: 'cyklus II.', + weekday_cycle_1: 'cyklus I.', + weekday_cycle_2: 'cyklus II.', psalter_week_1: '1. týždeň žaltára', psalter_week_2: '2. týždeň žaltára', psalter_week_3: '3. týždeň žaltára', diff --git a/lib/types/locale.ts b/lib/types/locale.ts index 708f93ef0..8018f1720 100644 --- a/lib/types/locale.ts +++ b/lib/types/locale.ts @@ -58,8 +58,8 @@ export interface Locale { sunday_year_a?: string; sunday_year_b?: string; sunday_year_c?: string; - weekday_year_1?: string; - weekday_year_2?: string; + weekday_cycle_1?: string; + weekday_cycle_2?: string; psalter_week_1?: string; psalter_week_2?: string; psalter_week_3?: string;