mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Fast skip of spell check load if no culture/dic
This commit is contained in:
parent
4f77671d50
commit
0730b34179
@ -124,7 +124,10 @@ namespace Nikse.SubtitleEdit.Logic.Ocr
|
||||
}
|
||||
|
||||
_ocrFixReplaceList = OcrFixReplaceList.FromLanguageId(threeLetterIsoLanguageName);
|
||||
LoadSpellingDictionaries(threeLetterIsoLanguageName, hunspellName); // Hunspell etc.
|
||||
if (!string.IsNullOrEmpty(threeLetterIsoLanguageName) || !string.IsNullOrEmpty(hunspellName))
|
||||
{
|
||||
LoadSpellingDictionaries(threeLetterIsoLanguageName, hunspellName); // Hunspell etc.
|
||||
}
|
||||
|
||||
AutoGuessesUsed = new List<LogItem>();
|
||||
UnknownWordsFound = new List<LogItem>();
|
||||
|
Loading…
Reference in New Issue
Block a user