mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Work on export
This commit is contained in:
parent
ab5b9c14b1
commit
cd115f6f55
@ -395,13 +395,13 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
var s = template;
|
||||
s = s.Replace("{{", "@@@@_@@@{");
|
||||
s = s.Replace("}}", "}@@@_@@@@");
|
||||
s = string.Format(s, start, end, text, translation, number + 1, number, d, actor, line1, line2,
|
||||
cps.ToString(CultureInfo.InvariantCulture).Replace(".", ","),
|
||||
cps.ToString(CultureInfo.InvariantCulture),
|
||||
text.Length,
|
||||
p.Text.RemoveChar('\r','\n').Length,
|
||||
p.Text.RemoveChar('\r', '\n').Length + lines.Count -1,
|
||||
p.Text.RemoveChar('\r', '\n').Length + lines.Count - 1);
|
||||
s = string.Format(s, start, end, text, translation, number + 1, number, d, actor, line1, line2,
|
||||
cps.ToString(CultureInfo.InvariantCulture).Replace(".", ","),
|
||||
cps.ToString(CultureInfo.InvariantCulture),
|
||||
text.Length,
|
||||
p.Text.RemoveChar('\r', '\n').Length,
|
||||
p.Text.RemoveChar('\r', '\n').Length + lines.Count - 1,
|
||||
p.Text.RemoveChar('\r', '\n').Length + (lines.Count - 1) * 2);
|
||||
s = s.Replace("@@@@_@@@", "{");
|
||||
s = s.Replace("@@@_@@@@", "}");
|
||||
return s;
|
||||
|
Loading…
Reference in New Issue
Block a user