diff --git a/src/Paths/Calendar.php b/src/Paths/Calendar.php index 0ad4f682..beedfe5b 100644 --- a/src/Paths/Calendar.php +++ b/src/Paths/Calendar.php @@ -4301,7 +4301,7 @@ private function generateResponse() $SerializeableLitCal->settings->corpus_christi = $this->CalendarParams->CorpusChristi; $SerializeableLitCal->settings->locale = $this->CalendarParams->Locale; $SerializeableLitCal->settings->return_type = $this->CalendarParams->ReturnType; - $SerializeableLitCal->settings->year_type = $this->CalendarParams->YearType; + $SerializeableLitCal->settings->year_type = $this->CalendarParams->YearType; $SerializeableLitCal->settings->eternal_high_priest = $this->CalendarParams->EternalHighPriest; if ($this->CalendarParams->NationalCalendar !== null) { $SerializeableLitCal->settings->national_calendar = $this->CalendarParams->NationalCalendar; diff --git a/src/Paths/Metadata.php b/src/Paths/Metadata.php index 0b60b92f..aecba5dc 100644 --- a/src/Paths/Metadata.php +++ b/src/Paths/Metadata.php @@ -109,7 +109,7 @@ private static function retrieveDiocesanSettings(string $diocesan_key, string $s */ private static function getLocales(): void { - Metadata::$locales = array_map('basename', glob('i18n/*', GLOB_ONLYDIR)); + Metadata::$locales = array_merge(['en'], array_map('basename', glob('i18n/*/*', GLOB_ONLYDIR))); } /**