mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Merge pull request #7975 from ivandrofly/feature/fixdoubledash-fr
Avoid replacing punctuation for French in FixDoubleDash
This commit is contained in:
commit
e7a682164a
@ -35,8 +35,12 @@ namespace Nikse.SubtitleEdit.Core.Forms.FixCommonErrors
|
||||
text = text.TrimEnd();
|
||||
text = text.Replace("... " + Environment.NewLine, "..." + Environment.NewLine);
|
||||
text = text.Replace("... </", "...</"); // </i>, </font>...
|
||||
text = text.Replace("... ?", "...?");
|
||||
text = text.Replace("... !", "...!");
|
||||
|
||||
if (callbacks.Language != "fr")
|
||||
{
|
||||
text = text.Replace("... ?", "...?");
|
||||
text = text.Replace("... !", "...!");
|
||||
}
|
||||
|
||||
if (text.IndexOf(Environment.NewLine, StringComparison.Ordinal) > 1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user