mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Merge pull request #7999 from ivandrofly/feature/fix-empty-lines-typo
Correct typo in variable name
This commit is contained in:
commit
aba5297d6e
@ -12,7 +12,7 @@ namespace Nikse.SubtitleEdit.Core.Forms.FixCommonErrors
|
|||||||
public static string RemovedEmptyLineAtTop { get; set; } = "Remove empty line at top";
|
public static string RemovedEmptyLineAtTop { get; set; } = "Remove empty line at top";
|
||||||
public static string RemovedEmptyLineAtBottom { get; set; } = "Remove empty line at bottom";
|
public static string RemovedEmptyLineAtBottom { get; set; } = "Remove empty line at bottom";
|
||||||
public static string RemovedEmptyLineInMiddle { get; set; } = "Remove empty line in middle";
|
public static string RemovedEmptyLineInMiddle { get; set; } = "Remove empty line in middle";
|
||||||
public static string RemovedEmptyLinesUnsedLineBreaks { get; set; } = "Remove empty lines/unused line breaks";
|
public static string RemovedEmptyLinesUnusedLineBreaks { get; set; } = "Remove empty lines/unused line breaks";
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Fix(Subtitle subtitle, IFixCallbacks callbacks)
|
public void Fix(Subtitle subtitle, IFixCallbacks callbacks)
|
||||||
@ -174,7 +174,7 @@ namespace Nikse.SubtitleEdit.Core.Forms.FixCommonErrors
|
|||||||
|
|
||||||
if (emptyLinesRemoved > 0)
|
if (emptyLinesRemoved > 0)
|
||||||
{
|
{
|
||||||
callbacks.UpdateFixStatus(emptyLinesRemoved, Language.RemovedEmptyLinesUnsedLineBreaks);
|
callbacks.UpdateFixStatus(emptyLinesRemoved, Language.RemovedEmptyLinesUnusedLineBreaks);
|
||||||
subtitle.Renumber();
|
subtitle.Renumber();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -392,7 +392,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
|
|
||||||
_fixActions = new List<FixItem>
|
_fixActions = new List<FixItem>
|
||||||
{
|
{
|
||||||
new FixItem(_language.RemovedEmptyLinesUnsedLineBreaks, "Has only one valid line!</br><i> -> Has only one valid line!", () => new FixEmptyLines().Fix(Subtitle, this), ce.EmptyLinesTicked),
|
new FixItem(_language.RemovedEmptyLinesUnusedLineBreaks, "Has only one valid line!</br><i> -> Has only one valid line!", () => new FixEmptyLines().Fix(Subtitle, this), ce.EmptyLinesTicked),
|
||||||
new FixItem(_language.FixOverlappingDisplayTimes, string.Empty, () => new FixOverlappingDisplayTimes().Fix(Subtitle, this), ce.OverlappingDisplayTimeTicked),
|
new FixItem(_language.FixOverlappingDisplayTimes, string.Empty, () => new FixOverlappingDisplayTimes().Fix(Subtitle, this), ce.OverlappingDisplayTimeTicked),
|
||||||
new FixItem(_language.FixShortDisplayTimes, string.Empty, () => new FixShortDisplayTimes().Fix(Subtitle, this), ce.TooShortDisplayTimeTicked),
|
new FixItem(_language.FixShortDisplayTimes, string.Empty, () => new FixShortDisplayTimes().Fix(Subtitle, this), ce.TooShortDisplayTimeTicked),
|
||||||
new FixItem(_language.FixLongDisplayTimes, string.Empty, () => new FixLongDisplayTimes().Fix(Subtitle, this), ce.TooLongDisplayTimeTicked),
|
new FixItem(_language.FixLongDisplayTimes, string.Empty, () => new FixLongDisplayTimes().Fix(Subtitle, this), ce.TooLongDisplayTimeTicked),
|
||||||
@ -559,7 +559,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
FixEmptyLines.Language.RemovedEmptyLineAtBottom = LanguageSettings.Current.FixCommonErrors.RemovedEmptyLineAtBottom;
|
FixEmptyLines.Language.RemovedEmptyLineAtBottom = LanguageSettings.Current.FixCommonErrors.RemovedEmptyLineAtBottom;
|
||||||
FixEmptyLines.Language.RemovedEmptyLineAtTop = LanguageSettings.Current.FixCommonErrors.RemovedEmptyLineAtTop;
|
FixEmptyLines.Language.RemovedEmptyLineAtTop = LanguageSettings.Current.FixCommonErrors.RemovedEmptyLineAtTop;
|
||||||
FixEmptyLines.Language.RemovedEmptyLineInMiddle = LanguageSettings.Current.FixCommonErrors.RemovedEmptyLineInMiddle;
|
FixEmptyLines.Language.RemovedEmptyLineInMiddle = LanguageSettings.Current.FixCommonErrors.RemovedEmptyLineInMiddle;
|
||||||
FixEmptyLines.Language.RemovedEmptyLinesUnsedLineBreaks = LanguageSettings.Current.FixCommonErrors.RemovedEmptyLinesUnsedLineBreaks;
|
FixEmptyLines.Language.RemovedEmptyLinesUnusedLineBreaks = LanguageSettings.Current.FixCommonErrors.RemovedEmptyLinesUnusedLineBreaks;
|
||||||
FixHyphensInDialog.Language.FixHyphensInDialogs = LanguageSettings.Current.FixCommonErrors.FixHyphensInDialogs;
|
FixHyphensInDialog.Language.FixHyphensInDialogs = LanguageSettings.Current.FixCommonErrors.FixHyphensInDialogs;
|
||||||
FixHyphensRemoveDashSingleLine.Language.RemoveHyphensSingleLine = LanguageSettings.Current.FixCommonErrors.RemoveHyphensSingleLine;
|
FixHyphensRemoveDashSingleLine.Language.RemoveHyphensSingleLine = LanguageSettings.Current.FixCommonErrors.RemoveHyphensSingleLine;
|
||||||
FixInvalidItalicTags.Language.FixInvalidItalicTag = LanguageSettings.Current.FixCommonErrors.FixInvalidItalicTag;
|
FixInvalidItalicTags.Language.FixInvalidItalicTag = LanguageSettings.Current.FixCommonErrors.FixInvalidItalicTag;
|
||||||
|
@ -1136,7 +1136,7 @@ namespace Nikse.SubtitleEdit.Logic
|
|||||||
RemovedEmptyLineAtTop = "Remove empty line at top",
|
RemovedEmptyLineAtTop = "Remove empty line at top",
|
||||||
RemovedEmptyLineAtBottom = "Remove empty line at bottom",
|
RemovedEmptyLineAtBottom = "Remove empty line at bottom",
|
||||||
RemovedEmptyLineInMiddle = "Remove empty line in middle",
|
RemovedEmptyLineInMiddle = "Remove empty line in middle",
|
||||||
RemovedEmptyLinesUnsedLineBreaks = "Remove empty lines/unused line breaks",
|
RemovedEmptyLinesUnusedLineBreaks = "Remove empty lines/unused line breaks",
|
||||||
FixOverlappingDisplayTimes = "Fix overlapping display times",
|
FixOverlappingDisplayTimes = "Fix overlapping display times",
|
||||||
FixShortDisplayTimes = "Fix short display times",
|
FixShortDisplayTimes = "Fix short display times",
|
||||||
FixLongDisplayTimes = "Fix long display times",
|
FixLongDisplayTimes = "Fix long display times",
|
||||||
|
@ -2312,7 +2312,7 @@ namespace Nikse.SubtitleEdit.Logic
|
|||||||
language.FixCommonErrors.RemovedEmptyLineInMiddle = reader.Value;
|
language.FixCommonErrors.RemovedEmptyLineInMiddle = reader.Value;
|
||||||
break;
|
break;
|
||||||
case "FixCommonErrors/RemovedEmptyLinesUnsedLineBreaks":
|
case "FixCommonErrors/RemovedEmptyLinesUnsedLineBreaks":
|
||||||
language.FixCommonErrors.RemovedEmptyLinesUnsedLineBreaks = reader.Value;
|
language.FixCommonErrors.RemovedEmptyLinesUnusedLineBreaks = reader.Value;
|
||||||
break;
|
break;
|
||||||
case "FixCommonErrors/FixOverlappingDisplayTimes":
|
case "FixCommonErrors/FixOverlappingDisplayTimes":
|
||||||
language.FixCommonErrors.FixOverlappingDisplayTimes = reader.Value;
|
language.FixCommonErrors.FixOverlappingDisplayTimes = reader.Value;
|
||||||
|
@ -957,7 +957,7 @@
|
|||||||
public string RemovedEmptyLineAtTop { get; set; }
|
public string RemovedEmptyLineAtTop { get; set; }
|
||||||
public string RemovedEmptyLineAtBottom { get; set; }
|
public string RemovedEmptyLineAtBottom { get; set; }
|
||||||
public string RemovedEmptyLineInMiddle { get; set; }
|
public string RemovedEmptyLineInMiddle { get; set; }
|
||||||
public string RemovedEmptyLinesUnsedLineBreaks { get; set; }
|
public string RemovedEmptyLinesUnusedLineBreaks { get; set; }
|
||||||
public string FixOverlappingDisplayTimes { get; set; }
|
public string FixOverlappingDisplayTimes { get; set; }
|
||||||
public string FixShortDisplayTimes { get; set; }
|
public string FixShortDisplayTimes { get; set; }
|
||||||
public string FixLongDisplayTimes { get; set; }
|
public string FixLongDisplayTimes { get; set; }
|
||||||
|
Loading…
Reference in New Issue
Block a user