mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-24 20:22:41 +01:00
Fix undesired break lines in auto-´translate - thx Dyo-Anima :)
Fix #8770
This commit is contained in:
parent
46d5d87c7e
commit
36d81029d2
@ -479,7 +479,10 @@ namespace Nikse.SubtitleEdit.Forms.Translate
|
||||
{
|
||||
var part = GetPartFromItem(text, item);
|
||||
text = text.Remove(0, part.Length).Trim();
|
||||
lines.Add(Utilities.AutoBreakLine(part));
|
||||
if (text.Length > Configuration.Settings.General.SubtitleLineMaximumLength)
|
||||
{
|
||||
lines.Add(Utilities.AutoBreakLine(part));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user