fix pt-BR availability (#1884)
pt-BR i18n could not be set as there was no `case` matching it properly.
This commit is contained in:
parent
ddbca98026
commit
76a82aa627
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ function loadTranslation(locale) {
|
|||
TRANSLATIONS.pl = require('assets/i18n/pl.json');
|
||||
localeData = require('react-intl/locale-data/pl');
|
||||
break;
|
||||
case 'pt-BT':
|
||||
case 'pt-BR':
|
||||
TRANSLATIONS[locale] = require('assets/i18n/pt-BR.json');
|
||||
localeData = require('react-intl/locale-data/pt');
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue