mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 04:39:57 +00:00
Update checklang to recognize 'pt' and 'pt-br'
This commit is contained in:
parent
b354c9497a
commit
e95671d3be
@ -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…
x
Reference in New Issue
Block a user