https://bugs.kde.org/show_bug.cgi?id=394347

Albert Astals Cid <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://commits.kde.org/son
                   |                            |net/422fac8a6f927e1e8df2917
                   |                            |73b8eba934b00aa1d

--- Comment #4 from Albert Astals Cid <[email protected]> ---
Git commit 422fac8a6f927e1e8df291773b8eba934b00aa1d by Albert Astals Cid, on
behalf of Simon Depiets.
Committed on 03/05/2020 at 15:17.
Pushed by aacid into branch 'master'.

Allow overriding to disable auto language detection

Summary:
Currently, if language detection is enabled at Sonnet-wide level level, there
is no way to disable it in a specific context.

In Lokalize for instance, the language of the source and target strings are
already known by the application.

In that context, the language detection feature creates a lot of uncertainty in
terms of spellchecking, as it may change quickly from one language to another
or from one dictionnary to another within the same language. A user should not
have to disable Sonnet-wide language detection to work around this, as it can
be very useful elsewhere.

https://bugs.kde.org/show_bug.cgi?id=394347

Reviewers: #frameworks, cullmann, mlaurent, mludwig

Subscribers: aacid, mludwig, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D26342

M  +25   -0    autotests/test_highlighter.cpp
M  +13   -1    src/core/backgroundchecker.cpp
M  +19   -0    src/core/backgroundchecker.h
M  +2    -0    src/core/backgroundchecker_p.h
M  +14   -1    src/ui/highlighter.cpp
M  +19   -0    src/ui/highlighter.h

https://commits.kde.org/sonnet/422fac8a6f927e1e8df291773b8eba934b00aa1d

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to