mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 03:33:18 +01:00
Some fixes for last commits - thx xylographe :)
This commit is contained in:
parent
5554823583
commit
1e97fde497
@ -751,12 +751,10 @@ namespace Nikse.SubtitleEdit.Core.Forms
|
||||
"whispers",
|
||||
"whistles"
|
||||
});
|
||||
|
||||
private bool IsHIDescription(string text)
|
||||
{
|
||||
text = text.Trim(' ', '(', ')', '[', ']', '?', '{', '}');
|
||||
text = text.ToLower();
|
||||
|
||||
text = text.ToLower();
|
||||
text = text.Trim(' ', '(', ')', '[', ']', '?', '{', '}').ToLower();
|
||||
if (text.Trim().Replace("mr. ", string.Empty).Replace("mrs. ", string.Empty).Replace("dr. ", string.Empty).Contains(' '))
|
||||
AddWarning();
|
||||
|
||||
|
@ -2886,6 +2886,8 @@ namespace Nikse.SubtitleEdit.Core
|
||||
textWriter.WriteElementString("BatchConvertSetMinDisplayTimeBetweenSubtitles", settings.Tools.BatchConvertSetMinDisplayTimeBetweenSubtitles.ToString());
|
||||
textWriter.WriteElementString("BatchConvertLanguage", settings.Tools.BatchConvertLanguage);
|
||||
textWriter.WriteElementString("BatchConvertFormat", settings.Tools.BatchConvertFormat);
|
||||
textWriter.WriteElementString("BatchConvertAssStyles", settings.Tools.BatchConvertAssStyles);
|
||||
textWriter.WriteElementString("BatchConvertSsaStyles", settings.Tools.BatchConvertSsaStyles);
|
||||
textWriter.WriteElementString("ModifySelectionRule", settings.Tools.ModifySelectionRule);
|
||||
textWriter.WriteElementString("ModifySelectionText", settings.Tools.ModifySelectionText);
|
||||
textWriter.WriteElementString("ModifySelectionCaseSensitive", settings.Tools.ModifySelectionCaseSensitive.ToString());
|
||||
|
Loading…
Reference in New Issue
Block a user