Add pt-BR spell checker

This commit is contained in:
rodrigo
2018-07-30 13:28:53 -03:00
parent 9e0239097a
commit f2d6cd383c
5 changed files with 11 additions and 4 deletions

View File

@@ -90,5 +90,8 @@ SpellChecker.getSpellCheckerLocale = (electronLocale) => {
if (electronLocale.match(/^nl-?/)) {
return 'nl-NL';
}
if (electronLocale.match(/^pt-?/)) {
return 'pt-BR';
}
return 'en-US';
};