mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2025-01-31 21:11:39 +01:00
Minor fix for last commit (fix #1800)
This commit is contained in:
parent
caa53731a7
commit
7b5c874f4d
@ -292,9 +292,12 @@ namespace Nikse.SubtitleEdit.Core.Dictionaries
|
||||
word = word.Replace("--", "-");
|
||||
word = word.Replace('|', 'l');
|
||||
word = word.Replace("vx/", "w");
|
||||
if (word.Contains('¤'))
|
||||
{
|
||||
if (Regex.IsMatch(word, "[A-ZÆØÅÄÖÉÈÀÙÂÊÎÔÛËÏa-zæøåäöéèàùâêîôûëï]¤"))
|
||||
word = word.Replace('¤', 'o');
|
||||
}
|
||||
}
|
||||
|
||||
//always replace list
|
||||
foreach (string letter in _partialWordReplaceListAlways.Keys)
|
||||
|
Loading…
x
Reference in New Issue
Block a user