feat(spellcheck): add Ukrainian language for spellcheck (#1382)

This commit is contained in:
Dmitriy Danilov
2020-10-14 18:08:02 +03:00
committed by GitHub
parent 2198244a65
commit 67179c0b31
4 changed files with 27 additions and 1 deletions

View File

@@ -119,5 +119,8 @@ SpellChecker.getSpellCheckerLocale = (electronLocale) => {
if (electronLocale.match(/^ru-?/)) {
return 'ru-RU';
}
if (electronLocale.match(/^uk-?/)) {
return 'uk-UA';
}
return 'en-US';
};