Skip to content

Commit

Permalink
MNT Spelling error in Maori language name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabina Talipova committed Sep 20, 2023
1 parent 0b89d32 commit 1f5d915
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/i18n/Data/Intl/IntlLocales.php
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,9 @@ public function getLocales()
$locales = $this->config()->get('locales');
$localised = [];
foreach ($locales as $code => $default) {
$localised[$code] = $this->localeName($code);
// Fix spelling Maori language
$localeName = str_replace('Maori', 'Māori', $this->localeName($code));
$localised[$code] = $localeName;
}

// Save cache
Expand Down

0 comments on commit 1f5d915

Please sign in to comment.