A few minor fixes

This commit is contained in:
niksedk 2014-09-07 08:50:04 +02:00
parent 281c756283
commit fa5b9e4980
3 changed files with 6 additions and 6 deletions

View File

@ -10694,7 +10694,7 @@ namespace Nikse.SubtitleEdit.Forms
for (int i = 0; i < subtitle.Paragraphs.Count; i++)
{
Paragraph p = subtitle.Paragraphs[i];
sb.Append(p.StartTime.TotalMilliseconds + p.EndTime.TotalMilliseconds);
sb.Append(p.StartTime.TotalMilliseconds + (p.EndTime.TotalMilliseconds * 127));
sb.Append(p.Text);
}
return sb.ToString().TrimEnd();

View File

@ -532,7 +532,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<FixInvalidItalicTag>Corrigir tag itálica inválida</FixInvalidItalicTag>
<FixShortDisplayTime>Corrigir duração curta</FixShortDisplayTime>
<FixOverlappingDisplayTime>Corrigir tempo sobreposto</FixOverlappingDisplayTime>
<FixInvalidItalicTagsExample>&lt;i&gt;Quem eu.&lt;i&gt; -&gt; &lt;i&gt;Quem Eu.&lt;/i&gt;</FixInvalidItalicTagsExample>
<FixInvalidItalicTagsExample>&lt;i&gt;Quem eu.&lt;i&gt; -&gt; &lt;i&gt;Quem eu.&lt;/i&gt;</FixInvalidItalicTagsExample>
<RemoveUnneededSpacesExample>Hei tu , aí. -&gt; Hei tu, aí.</RemoveUnneededSpacesExample>
<RemoveUnneededPeriodsExample>Hei tu!. -&gt; Hei tu!</RemoveUnneededPeriodsExample>
<FixMissingSpacesExample>Hei.Tu. -&gt; Hei. Tu.</FixMissingSpacesExample>
@ -562,13 +562,13 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<ApplyFixes>Aplicar correcções seleccionadas</ApplyFixes>
<AutoBreak>Ajuste auto da &amp;linha</AutoBreak>
<Unbreak>&amp;Combinar</Unbreak>
<FixDoubleDash>Corrigir '--' -&gt; '...' </FixDoubleDash>
<FixDoubleGreaterThan>Remover &gt;&gt; </FixDoubleGreaterThan>
<FixDoubleDash>Corrigir '--' -&gt; '...'</FixDoubleDash>
<FixDoubleGreaterThan>Remover '&gt;&gt;'</FixDoubleGreaterThan>
<FixEllipsesStart>Remover '...' no início</FixEllipsesStart>
<FixMissingOpenBracket>Corrigir [ omitido na linha</FixMissingOpenBracket>
<FixMusicNotation>Substituir símbolos musicais (e.g. âTª) por símbolos adequados</FixMusicNotation>
<XFixDoubleDash>{0} '--' corrigidos</XFixDoubleDash>
<XFixDoubleGreaterThan>{0} &gt;&gt; removidos</XFixDoubleGreaterThan>
<XFixDoubleGreaterThan>{0} '&gt;&gt;' removidos</XFixDoubleGreaterThan>
<XFixEllipsesStart>{0} '...' iniciais eliminadas</XFixEllipsesStart>
<XFixMissingOpenBracket>{0} [ omitidos na linha corrigidos</XFixMissingOpenBracket>
<XFixMusicNotation>{0} nota musical na linha corrigida</XFixMusicNotation>

View File

@ -315,7 +315,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
return buffer;
}
private void WriteText(FileStream fs, string text, bool isLast, int languageIdLine1, int languageIdLine2)
private static void WriteText(FileStream fs, string text, bool isLast, int languageIdLine1, int languageIdLine2)
{
string line1 = string.Empty;
string line2 = string.Empty;