Update checklang to recognize 'pt' and 'pt-br'

This commit is contained in:
Lucas Gabriel 2024-07-26 00:48:21 -03:00
parent b354c9497a
commit e95671d3be
No known key found for this signature in database
GPG Key ID: D9B075FC6DC93985

View File

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