[MM-33112] Add support for multiple custom spellchecking languages (#1743)

* [MM-33112] Add support for multiple custom spellchecking languages

* Styles and other formatting

* Type and lint fixes

* Update wording
This commit is contained in:
Devin Binnie
2021-09-20 14:10:01 -04:00
committed by GitHub
parent c3963424f1
commit 6dc84b3e5d
13 changed files with 732 additions and 174 deletions

View File

@@ -235,8 +235,8 @@ export default class Config extends EventEmitter {
return this.combinedData?.spellCheckerURL;
}
get spellCheckerLocale() {
return this.combinedData?.spellCheckerLocale ?? defaultPreferences.spellCheckerLocale;
get spellCheckerLocales() {
return this.combinedData?.spellCheckerLocales ?? defaultPreferences.spellCheckerLocales;
}
get showTrayIcon() {
return this.combinedData?.showTrayIcon ?? defaultPreferences.showTrayIcon;