From e95671d3be08cc934bc000b196014720207c6332 Mon Sep 17 00:00:00 2001 From: lucmsilva651 Date: Fri, 26 Jul 2024 00:48:21 -0300 Subject: [PATCH] Update checklang to recognize 'pt' and 'pt-br' --- plugins/checklang.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/checklang.js b/plugins/checklang.js index 83ed567..3231167 100644 --- a/plugins/checklang.js +++ b/plugins/checklang.js @@ -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');