Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add multi language spell check #5452

Merged

Conversation

SimonBrandner
Copy link
Contributor

@SimonBrandner SimonBrandner commented Nov 28, 2020

This depends on these PRs: PR 1, PR 2.

This fixes #13317 and fixes #13543.

I figured that the best way to solve these problems is a multi-language spell check. This PR adds the ability to select multiple languages for the Electron spell-checker. This sadly doesn't work in the browser, therefore, the spell-check settings are hidden in the browser. This also allows disabling spell-checking in Electron completely by removing all languages from the settings.

Signed-off-by: Šimon Brandner [email protected]

Peek 2020-12-03 08-03

@SimonBrandner SimonBrandner marked this pull request as ready for review December 3, 2020 11:53
@dnisbetjones
Copy link

Thank you very much for implementing this. Really brilliant to see the addition of more spell check options and multiple languages available.

@jryans jryans requested a review from a team December 14, 2020 13:04
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable overall, but just a bit unsure where a setting is the right way to go.

src/settings/Settings.ts Outdated Show resolved Hide resolved
res/css/views/settings/_SpellCheckLanguages.scss Outdated Show resolved Hide resolved
src/components/views/settings/SpellCheckSettings.tsx Outdated Show resolved Hide resolved
src/settings/Settings.ts Outdated Show resolved Hide resolved
src/languageHandler.tsx Outdated Show resolved Hide resolved
Signed-off-by: Šimon Brandner <[email protected]>
Signed-off-by: Šimon Brandner <[email protected]>
Signed-off-by: Šimon Brandner <[email protected]>
Signed-off-by: Šimon Brandner <[email protected]>
Signed-off-by: Šimon Brandner <[email protected]>
@SimonBrandner SimonBrandner requested a review from jryans February 18, 2021 19:21
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this side looks good to me! 😄

@jryans jryans merged commit a5ee029 into matrix-org:develop Mar 2, 2021
@geckolinux
Copy link

Nice! Thank you very much!

@thany
Copy link

thany commented Mar 3, 2021

Having no spellcheck dictionaries means spellcheck is disabled?

@SimonBrandner
Copy link
Contributor Author

@thany, yep, it should, if I hadn't done any mistakes :D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to configure and disable spellcheck missing Spellcheck language switcher
6 participants