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",
|
"whispers",
|
||||||
"whistles"
|
"whistles"
|
||||||
});
|
});
|
||||||
|
|
||||||
private bool IsHIDescription(string text)
|
private bool IsHIDescription(string text)
|
||||||
{
|
{
|
||||||
text = text.Trim(' ', '(', ')', '[', ']', '?', '{', '}');
|
text = text.Trim(' ', '(', ')', '[', ']', '?', '{', '}').ToLower();
|
||||||
text = text.ToLower();
|
|
||||||
|
|
||||||
text = text.ToLower();
|
|
||||||
if (text.Trim().Replace("mr. ", string.Empty).Replace("mrs. ", string.Empty).Replace("dr. ", string.Empty).Contains(' '))
|
if (text.Trim().Replace("mr. ", string.Empty).Replace("mrs. ", string.Empty).Replace("dr. ", string.Empty).Contains(' '))
|
||||||
AddWarning();
|
AddWarning();
|
||||||
|
|
||||||
|
@ -2886,6 +2886,8 @@ namespace Nikse.SubtitleEdit.Core
|
|||||||
textWriter.WriteElementString("BatchConvertSetMinDisplayTimeBetweenSubtitles", settings.Tools.BatchConvertSetMinDisplayTimeBetweenSubtitles.ToString());
|
textWriter.WriteElementString("BatchConvertSetMinDisplayTimeBetweenSubtitles", settings.Tools.BatchConvertSetMinDisplayTimeBetweenSubtitles.ToString());
|
||||||
textWriter.WriteElementString("BatchConvertLanguage", settings.Tools.BatchConvertLanguage);
|
textWriter.WriteElementString("BatchConvertLanguage", settings.Tools.BatchConvertLanguage);
|
||||||
textWriter.WriteElementString("BatchConvertFormat", settings.Tools.BatchConvertFormat);
|
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("ModifySelectionRule", settings.Tools.ModifySelectionRule);
|
||||||
textWriter.WriteElementString("ModifySelectionText", settings.Tools.ModifySelectionText);
|
textWriter.WriteElementString("ModifySelectionText", settings.Tools.ModifySelectionText);
|
||||||
textWriter.WriteElementString("ModifySelectionCaseSensitive", settings.Tools.ModifySelectionCaseSensitive.ToString());
|
textWriter.WriteElementString("ModifySelectionCaseSensitive", settings.Tools.ModifySelectionCaseSensitive.ToString());
|
||||||
|
Loading…
Reference in New Issue
Block a user