mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Remember spell check language - thx Legion :)
This commit is contained in:
parent
38a75d048d
commit
d3039ac40a
@ -999,7 +999,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
_languageName = LanguageAutoDetect.AutoDetectLanguageName(_languageName, subtitle);
|
||||
if (_languageName != null && _languageName.Length > 3)
|
||||
{
|
||||
string start = _languageName.Substring(0, 3);
|
||||
string start = _languageName.Substring(0, 2);
|
||||
if (_languageName.StartsWith(start, StringComparison.Ordinal) && Configuration.Settings.General.SpellCheckLanguage != null &&
|
||||
Configuration.Settings.General.SpellCheckLanguage.StartsWith(start, StringComparison.Ordinal) && _languageName != Configuration.Settings.General.SpellCheckLanguage)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user