Update checklang to recognize 'pt' and 'pt-br'
This commit is contained in:
parent
b354c9497a
commit
e95671d3be
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
function getStrings(languageCode) {
|
||||
if (languageCode === 'pt-br') {
|
||||
if (languageCode === 'pt' || 'pt-br') {
|
||||
return require('../locales/portuguese.json');
|
||||
} else {
|
||||
return require('../locales/english.json');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue