diff --git a/Dictionaries/en_US_user.xml b/Dictionaries/en_US_user.xml index 487e484a2..cf772f9a1 100644 --- a/Dictionaries/en_US_user.xml +++ b/Dictionaries/en_US_user.xml @@ -10,6 +10,7 @@ ahhhh aioli ajit + allodynic aluminium aluminum americium @@ -36,6 +37,7 @@ barium behaviour beheadings + benzilate berkelium beryllium bismuth @@ -119,6 +121,7 @@ episiotomy erbium esophaguses + et cetera euro europium euros @@ -155,6 +158,7 @@ giancarlo gigabit glioma + glitchy glossopharyngeal glowy goddamned @@ -182,6 +186,7 @@ hydrogen hypotensive hypothermic + immersive immunotherapy incontinentia indium @@ -202,6 +207,7 @@ keychain kid'll krypton + kryptonite kuwabara-kun labelled lanthanum @@ -213,6 +219,7 @@ lead lithium lobectomy + lockdown loudmouth loupe lutetium diff --git a/Dictionaries/names.xml b/Dictionaries/names.xml index 7139fc9b4..de4538355 100644 --- a/Dictionaries/names.xml +++ b/Dictionaries/names.xml @@ -4299,6 +4299,7 @@ This file is case sensitive. Pennsylvania Pentagon Pentagons + Pentothal Pepperwood Pepsi Perce @@ -4667,6 +4668,7 @@ This file is case sensitive. Rosenbaum Rosenberg Rosenstein + Rosetti Rosie Rosita Roslin diff --git a/src/ui/Forms/SpellCheck.cs b/src/ui/Forms/SpellCheck.cs index d6087adf0..3727fe660 100644 --- a/src/ui/Forms/SpellCheck.cs +++ b/src/ui/Forms/SpellCheck.cs @@ -734,13 +734,14 @@ namespace Nikse.SubtitleEdit.Forms correct = DoSpell(wordWithDash); } if (!correct) - { - correct = _spellCheckWordLists.HasUserWord(wordWithDash); - } - if (!correct) { correct = _spellCheckWordLists.HasUserWord(wordWithDash.Replace("‑", "-")); } + if (!correct && _spellCheckWordLists.HasName(wordWithDash.Replace("‑", "-"))) + { + correct = true; + _noOfNames++; + } } } else