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:
Alan P 2018-07-04 13:21:08 -03:00 committed by Elias Nahum
parent ddbca98026
commit 76a82aa627

View file

@ -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;