Fixed loading pt-br translations

fixes https://github.com/TryGhost/Ghost/issues/16805

* turns out i18next requires the country portal of the locale to be
  capitalized [1]
* this resolves that and moves the files to the correct casing

[1]: https://github.com/i18next/i18next/issues/1467#issuecomment-646305827
This commit is contained in:
Daniel Lockyer 2023-05-24 10:07:32 +02:00 committed by Daniel Lockyer
parent 59a07e79ea
commit bed7479cc2
3 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ const SUPPORTED_LOCALES = [
'no', 'no',
'pl', 'pl',
'pt', 'pt',
'pt-br', 'pt-BR',
'ru', 'ru',
'si', 'si',
'sl', 'sl',