Skip to content

Commit

Permalink
Merge pull request #254 from Liturgical-Calendar/fix-issue-250
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio authored Nov 14, 2024
2 parents 17c040c + a716062 commit 1c0b0a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Paths/Calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/Paths/Metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
}

/**
Expand Down

0 comments on commit 1c0b0a4

Please sign in to comment.