mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Fix: comment and and context was switched for some checks
This commit is contained in:
parent
51f95d9489
commit
73e2ba221d
@ -27,7 +27,7 @@ namespace Nikse.SubtitleEdit.Core.NetflixQualityCheck
|
|||||||
if (CalculateJapaneseLength(text) > 11)
|
if (CalculateJapaneseLength(text) > 11)
|
||||||
{
|
{
|
||||||
var comment = "Single vertical line length > 11";
|
var comment = "Single vertical line length > 11";
|
||||||
controller.AddRecord(p, p.StartTime.ToHHMMSSFF(), comment, line.Length.ToString(CultureInfo.InvariantCulture));
|
controller.AddRecord(p, p.StartTime.ToHHMMSSFF(), line.Length.ToString(CultureInfo.InvariantCulture), comment);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else // Horizontal subtitles - Maximum 13 full-width characters per line
|
else // Horizontal subtitles - Maximum 13 full-width characters per line
|
||||||
@ -35,7 +35,7 @@ namespace Nikse.SubtitleEdit.Core.NetflixQualityCheck
|
|||||||
if (CalculateJapaneseLength(text) > 13)
|
if (CalculateJapaneseLength(text) > 13)
|
||||||
{
|
{
|
||||||
var comment = "Single horizontal line length > 13";
|
var comment = "Single horizontal line length > 13";
|
||||||
controller.AddRecord(p, p.StartTime.ToHHMMSSFF(), comment, line.Length.ToString(CultureInfo.InvariantCulture));
|
controller.AddRecord(p, p.StartTime.ToHHMMSSFF(), line.Length.ToString(CultureInfo.InvariantCulture), comment);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@ namespace Nikse.SubtitleEdit.Core.NetflixQualityCheck
|
|||||||
if (p.DurationTotalMilliseconds < 500)
|
if (p.DurationTotalMilliseconds < 500)
|
||||||
{
|
{
|
||||||
string comment = "Minimum duration: 0.5 second";
|
string comment = "Minimum duration: 0.5 second";
|
||||||
controller.AddRecord(p, p.StartTime.ToHHMMSSFF(), comment, p.DurationTotalSeconds.ToString(CultureInfo.InvariantCulture));
|
controller.AddRecord(p, p.StartTime.ToHHMMSSFF(), p.DurationTotalSeconds.ToString(CultureInfo.InvariantCulture), comment);
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user