Typo fixes.

This commit is contained in:
XhmikosR 2014-09-19 22:59:05 +03:00
parent f56998dba2
commit 28b103e22c
54 changed files with 148 additions and 152 deletions

View File

@ -159,7 +159,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<ScanFolder>Scan folder...</ScanFolder> <ScanFolder>Scan folder...</ScanFolder>
<ScanningFolder>Scanning {0} and subfolders for subtitle files...</ScanningFolder> <ScanningFolder>Scanning {0} and subfolders for subtitle files...</ScanningFolder>
<Recursive>Include sub folders</Recursive> <Recursive>Include sub folders</Recursive>
<SetMinMsBetweenSubtitles>Set min. millisecs between subtitles</SetMinMsBetweenSubtitles> <SetMinMsBetweenSubtitles>Set min. milliseconds between subtitles</SetMinMsBetweenSubtitles>
<PlainText>Plain text</PlainText> <PlainText>Plain text</PlainText>
</BatchConvert> </BatchConvert>
<Beamer> <Beamer>
@ -349,13 +349,13 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<EffectKaraoke> <EffectKaraoke>
<Title>Karaoke effect</Title> <Title>Karaoke effect</Title>
<ChooseColor>Choose color:</ChooseColor> <ChooseColor>Choose color:</ChooseColor>
<TotalMilliseconds>Total millisecs.:</TotalMilliseconds> <TotalMilliseconds>Total milliseconds:</TotalMilliseconds>
<EndDelayInMilliseconds>End delay in millisecs.:</EndDelayInMilliseconds> <EndDelayInMilliseconds>End delay in milliseconds:</EndDelayInMilliseconds>
</EffectKaraoke> </EffectKaraoke>
<EffectTypewriter> <EffectTypewriter>
<Title>Typewriter effect</Title> <Title>Typewriter effect</Title>
<TotalMilliseconds>Total millisecs.:</TotalMilliseconds> <TotalMilliseconds>Total milliseconds:</TotalMilliseconds>
<EndDelayInMillisecs>End delay in millisecs.:</EndDelayInMillisecs> <EndDelayInMilliseconds>End delay in milliseconds:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Export custom text format</Title> <Title>Export custom text format</Title>

View File

@ -1581,7 +1581,7 @@ namespace Nikse.SubtitleEdit.Controls
} }
} }
public double FindDataBelowThresshold(int thresshold, double durationInSeconds) public double FindDataBelowThreshold(int threshold, double durationInSeconds)
{ {
int begin = SecondsToXPosition(_currentVideoPositionSeconds + 1); int begin = SecondsToXPosition(_currentVideoPositionSeconds + 1);
int length = SecondsToXPosition(durationInSeconds); int length = SecondsToXPosition(durationInSeconds);
@ -1589,7 +1589,7 @@ namespace Nikse.SubtitleEdit.Controls
int hitCount = 0; int hitCount = 0;
for (int i = begin; i < _wavePeaks.AllSamples.Count; i++) for (int i = begin; i < _wavePeaks.AllSamples.Count; i++)
{ {
if (i > 0 && i < _wavePeaks.AllSamples.Count && Math.Abs(_wavePeaks.AllSamples[i]) <= thresshold) if (i > 0 && i < _wavePeaks.AllSamples.Count && Math.Abs(_wavePeaks.AllSamples[i]) <= threshold)
hitCount++; hitCount++;
else else
hitCount = 0; hitCount = 0;
@ -1611,7 +1611,7 @@ namespace Nikse.SubtitleEdit.Controls
return -1; return -1;
} }
public double FindDataBelowThressholdBack(int thresshold, double durationInSeconds) public double FindDataBelowThresholdBack(int threshold, double durationInSeconds)
{ {
int begin = SecondsToXPosition(_currentVideoPositionSeconds - 1); int begin = SecondsToXPosition(_currentVideoPositionSeconds - 1);
int length = SecondsToXPosition(durationInSeconds); int length = SecondsToXPosition(durationInSeconds);
@ -1619,7 +1619,7 @@ namespace Nikse.SubtitleEdit.Controls
int hitCount = 0; int hitCount = 0;
for (int i = begin; i > 0; i--) for (int i = begin; i > 0; i--)
{ {
if (i > 0 && i < _wavePeaks.AllSamples.Count && Math.Abs(_wavePeaks.AllSamples[i]) <= thresshold) if (i > 0 && i < _wavePeaks.AllSamples.Count && Math.Abs(_wavePeaks.AllSamples[i]) <= threshold)
hitCount++; hitCount++;
else else
hitCount = 0; hitCount = 0;
@ -1808,8 +1808,8 @@ namespace Nikse.SubtitleEdit.Controls
average += Math.Abs(_wavePeaks.AllSamples[k]); average += Math.Abs(_wavePeaks.AllSamples[k]);
average = average / (_wavePeaks.AllSamples.Count - begin); average = average / (_wavePeaks.AllSamples.Count - begin);
int maxThresshold = (int)(_wavePeaks.DataMaxValue * (maximumVolumePercent / 100.0)); int maxThreshold = (int)(_wavePeaks.DataMaxValue * (maximumVolumePercent / 100.0));
int silenceThresshold = (int)(average * (mininumVolumePercent / 100.0)); int silenceThreshold = (int)(average * (mininumVolumePercent / 100.0));
int length50Ms = SecondsToXPosition(0.050); int length50Ms = SecondsToXPosition(0.050);
double secondsPerParagraph = defaultMilliseconds / 1000.0; double secondsPerParagraph = defaultMilliseconds / 1000.0;
@ -1823,7 +1823,7 @@ namespace Nikse.SubtitleEdit.Controls
var currentLengthInSeconds = XPositionToSeconds(i - begin) - StartPositionSeconds; var currentLengthInSeconds = XPositionToSeconds(i - begin) - StartPositionSeconds;
if (currentLengthInSeconds > 1.0) if (currentLengthInSeconds > 1.0)
{ {
subtitleOn = EndParagraphDueToLowVolume(silenceThresshold, begin, true, i); subtitleOn = EndParagraphDueToLowVolume(silenceThreshold, begin, true, i);
if (!subtitleOn) if (!subtitleOn)
{ {
begin = i + minBetween; begin = i + minBetween;
@ -1834,7 +1834,7 @@ namespace Nikse.SubtitleEdit.Controls
{ {
for (int j = 0; j < 20; j++) for (int j = 0; j < 20; j++)
{ {
subtitleOn = EndParagraphDueToLowVolume(silenceThresshold, begin, true, i + (j * length50Ms)); subtitleOn = EndParagraphDueToLowVolume(silenceThreshold, begin, true, i + (j * length50Ms));
if (!subtitleOn) if (!subtitleOn)
{ {
i += (j * length50Ms); i += (j * length50Ms);
@ -1856,27 +1856,23 @@ namespace Nikse.SubtitleEdit.Controls
else else
{ {
double avgVol = GetAverageVolumeForNextMilliseconds(i, 100); double avgVol = GetAverageVolumeForNextMilliseconds(i, 100);
if (avgVol > silenceThresshold) if (avgVol > silenceThreshold)
{ {
if (avgVol < maxThresshold) if (avgVol < maxThreshold)
{ {
subtitleOn = true; subtitleOn = true;
begin = i; begin = i;
} }
// else
// {
// MessageBox.Show("Too much");
// }
} }
} }
i++; i++;
} }
} }
private bool EndParagraphDueToLowVolume(double silenceThresshold, int begin, bool subtitleOn, int i) private bool EndParagraphDueToLowVolume(double silenceThreshold, int begin, bool subtitleOn, int i)
{ {
double avgVol = GetAverageVolumeForNextMilliseconds(i, 100); double avgVol = GetAverageVolumeForNextMilliseconds(i, 100);
if (avgVol < silenceThresshold) if (avgVol < silenceThreshold)
{ {
var p = new Paragraph(string.Empty, (XPositionToSeconds(begin) - StartPositionSeconds) * 1000.0, (XPositionToSeconds(i) - StartPositionSeconds) * 1000.0); var p = new Paragraph(string.Empty, (XPositionToSeconds(begin) - StartPositionSeconds) * 1000.0, (XPositionToSeconds(i) - StartPositionSeconds) * 1000.0);
_subtitle.Paragraphs.Add(p); _subtitle.Paragraphs.Add(p);

View File

@ -51,34 +51,34 @@ namespace Nikse.SubtitleEdit.Controls
private void NumericUpDownValueChanged(object sender, EventArgs e) private void NumericUpDownValueChanged(object sender, EventArgs e)
{ {
double? millisecs = GetTotalMilliseconds(); double? milliseconds = GetTotalMilliseconds();
if (millisecs.HasValue) if (milliseconds.HasValue)
{ {
if (millisecs.Value >= TimeCode.MaxTime.TotalMilliseconds - 0.1) if (milliseconds.Value >= TimeCode.MaxTime.TotalMilliseconds - 0.1)
millisecs = 0; milliseconds = 0;
if (Mode == TimeMode.HHMMSSMS) if (Mode == TimeMode.HHMMSSMS)
{ {
if (numericUpDown1.Value > NumericUpDownValue) if (numericUpDown1.Value > NumericUpDownValue)
{ {
SetTotalMilliseconds(millisecs.Value + 100); SetTotalMilliseconds(milliseconds.Value + 100);
} }
else if (numericUpDown1.Value < NumericUpDownValue) else if (numericUpDown1.Value < NumericUpDownValue)
{ {
SetTotalMilliseconds(millisecs.Value - 100); SetTotalMilliseconds(milliseconds.Value - 100);
} }
} }
else else
{ {
if (numericUpDown1.Value > NumericUpDownValue) if (numericUpDown1.Value > NumericUpDownValue)
{ {
SetTotalMilliseconds(millisecs.Value + Logic.SubtitleFormats.SubtitleFormat.FramesToMilliseconds(1)); SetTotalMilliseconds(milliseconds.Value + Logic.SubtitleFormats.SubtitleFormat.FramesToMilliseconds(1));
} }
else if (numericUpDown1.Value < NumericUpDownValue) else if (numericUpDown1.Value < NumericUpDownValue)
{ {
if (millisecs.Value - 100 > 0) if (milliseconds.Value - 100 > 0)
SetTotalMilliseconds(millisecs.Value - Logic.SubtitleFormats.SubtitleFormat.FramesToMilliseconds(1)); SetTotalMilliseconds(milliseconds.Value - Logic.SubtitleFormats.SubtitleFormat.FramesToMilliseconds(1));
else if (millisecs.Value > 0) else if (milliseconds.Value > 0)
SetTotalMilliseconds(0); SetTotalMilliseconds(0);
} }
} }

View File

@ -49,7 +49,7 @@
this.radioButtonShowLater = new System.Windows.Forms.RadioButton(); this.radioButtonShowLater = new System.Windows.Forms.RadioButton();
this.radioButtonShowEarlier = new System.Windows.Forms.RadioButton(); this.radioButtonShowEarlier = new System.Windows.Forms.RadioButton();
this.timeUpDownAdjust = new Nikse.SubtitleEdit.Controls.TimeUpDown(); this.timeUpDownAdjust = new Nikse.SubtitleEdit.Controls.TimeUpDown();
this.labelHoursMinSecsMilliSecs = new System.Windows.Forms.Label(); this.labelHourMinSecMilliSecond = new System.Windows.Forms.Label();
this.checkBoxFixCasing = new System.Windows.Forms.CheckBox(); this.checkBoxFixCasing = new System.Windows.Forms.CheckBox();
this.checkBoxRemoveTextForHI = new System.Windows.Forms.CheckBox(); this.checkBoxRemoveTextForHI = new System.Windows.Forms.CheckBox();
this.checkBoxRemoveFormatting = new System.Windows.Forms.CheckBox(); this.checkBoxRemoveFormatting = new System.Windows.Forms.CheckBox();
@ -166,7 +166,7 @@
this.checkBoxSetMinimumDisplayTimeBetweenSubs.Name = "checkBoxSetMinimumDisplayTimeBetweenSubs"; this.checkBoxSetMinimumDisplayTimeBetweenSubs.Name = "checkBoxSetMinimumDisplayTimeBetweenSubs";
this.checkBoxSetMinimumDisplayTimeBetweenSubs.Size = new System.Drawing.Size(190, 17); this.checkBoxSetMinimumDisplayTimeBetweenSubs.Size = new System.Drawing.Size(190, 17);
this.checkBoxSetMinimumDisplayTimeBetweenSubs.TabIndex = 9; this.checkBoxSetMinimumDisplayTimeBetweenSubs.TabIndex = 9;
this.checkBoxSetMinimumDisplayTimeBetweenSubs.Text = "Set min. millisecs between subtitles"; this.checkBoxSetMinimumDisplayTimeBetweenSubs.Text = "Set min. milliseconds between subtitles";
this.checkBoxSetMinimumDisplayTimeBetweenSubs.UseVisualStyleBackColor = true; this.checkBoxSetMinimumDisplayTimeBetweenSubs.UseVisualStyleBackColor = true;
// //
// checkBoxAutoBalance // checkBoxAutoBalance
@ -273,7 +273,7 @@
this.groupBoxOffsetTimeCodes.Controls.Add(this.radioButtonShowLater); this.groupBoxOffsetTimeCodes.Controls.Add(this.radioButtonShowLater);
this.groupBoxOffsetTimeCodes.Controls.Add(this.radioButtonShowEarlier); this.groupBoxOffsetTimeCodes.Controls.Add(this.radioButtonShowEarlier);
this.groupBoxOffsetTimeCodes.Controls.Add(this.timeUpDownAdjust); this.groupBoxOffsetTimeCodes.Controls.Add(this.timeUpDownAdjust);
this.groupBoxOffsetTimeCodes.Controls.Add(this.labelHoursMinSecsMilliSecs); this.groupBoxOffsetTimeCodes.Controls.Add(this.labelHourMinSecMilliSecond);
this.groupBoxOffsetTimeCodes.Location = new System.Drawing.Point(280, 89); this.groupBoxOffsetTimeCodes.Location = new System.Drawing.Point(280, 89);
this.groupBoxOffsetTimeCodes.Name = "groupBoxOffsetTimeCodes"; this.groupBoxOffsetTimeCodes.Name = "groupBoxOffsetTimeCodes";
this.groupBoxOffsetTimeCodes.Size = new System.Drawing.Size(239, 115); this.groupBoxOffsetTimeCodes.Size = new System.Drawing.Size(239, 115);
@ -313,14 +313,14 @@
this.timeUpDownAdjust.Size = new System.Drawing.Size(96, 24); this.timeUpDownAdjust.Size = new System.Drawing.Size(96, 24);
this.timeUpDownAdjust.TabIndex = 1; this.timeUpDownAdjust.TabIndex = 1;
// //
// labelHoursMinSecsMilliSecs // labelHourMinSecMilliSecond
// //
this.labelHoursMinSecsMilliSecs.AutoSize = true; this.labelHourMinSecMilliSecond.AutoSize = true;
this.labelHoursMinSecsMilliSecs.Location = new System.Drawing.Point(6, 20); this.labelHourMinSecMilliSecond.Location = new System.Drawing.Point(6, 20);
this.labelHoursMinSecsMilliSecs.Name = "labelHoursMinSecsMilliSecs"; this.labelHourMinSecMilliSecond.Name = "labelHourMinSecMilliSecond";
this.labelHoursMinSecsMilliSecs.Size = new System.Drawing.Size(107, 13); this.labelHourMinSecMilliSecond.Size = new System.Drawing.Size(107, 13);
this.labelHoursMinSecsMilliSecs.TabIndex = 0; this.labelHourMinSecMilliSecond.TabIndex = 0;
this.labelHoursMinSecsMilliSecs.Text = "Hours:min:sec.msecs"; this.labelHourMinSecMilliSecond.Text = "Hours:min:sec.msec";
// //
// checkBoxFixCasing // checkBoxFixCasing
// //
@ -415,7 +415,7 @@
this.checkBoxOverwrite.Name = "checkBoxOverwrite"; this.checkBoxOverwrite.Name = "checkBoxOverwrite";
this.checkBoxOverwrite.Size = new System.Drawing.Size(130, 17); this.checkBoxOverwrite.Size = new System.Drawing.Size(130, 17);
this.checkBoxOverwrite.TabIndex = 5; this.checkBoxOverwrite.TabIndex = 5;
this.checkBoxOverwrite.Text = "Overwrite exsiting files"; this.checkBoxOverwrite.Text = "Overwrite exiting files";
this.checkBoxOverwrite.UseVisualStyleBackColor = true; this.checkBoxOverwrite.UseVisualStyleBackColor = true;
// //
// comboBoxSubtitleFormats // comboBoxSubtitleFormats
@ -698,7 +698,7 @@
private System.Windows.Forms.GroupBox groupBoxOffsetTimeCodes; private System.Windows.Forms.GroupBox groupBoxOffsetTimeCodes;
private System.Windows.Forms.GroupBox groupBoxChangeFrameRate; private System.Windows.Forms.GroupBox groupBoxChangeFrameRate;
private Controls.TimeUpDown timeUpDownAdjust; private Controls.TimeUpDown timeUpDownAdjust;
private System.Windows.Forms.Label labelHoursMinSecsMilliSecs; private System.Windows.Forms.Label labelHourMinSecMilliSecond;
private System.Windows.Forms.ComboBox comboBoxFrameRateTo; private System.Windows.Forms.ComboBox comboBoxFrameRateTo;
private System.Windows.Forms.Label labelToFrameRate; private System.Windows.Forms.Label labelToFrameRate;
private System.Windows.Forms.ComboBox comboBoxFrameRateFrom; private System.Windows.Forms.ComboBox comboBoxFrameRateFrom;

View File

@ -100,7 +100,7 @@ namespace Nikse.SubtitleEdit.Forms
groupBoxOffsetTimeCodes.Text = Configuration.Settings.Language.ShowEarlierLater.TitleAll; groupBoxOffsetTimeCodes.Text = Configuration.Settings.Language.ShowEarlierLater.TitleAll;
labelFromFrameRate.Text = Configuration.Settings.Language.ChangeFrameRate.FromFrameRate; labelFromFrameRate.Text = Configuration.Settings.Language.ChangeFrameRate.FromFrameRate;
labelToFrameRate.Text = Configuration.Settings.Language.ChangeFrameRate.ToFrameRate; labelToFrameRate.Text = Configuration.Settings.Language.ChangeFrameRate.ToFrameRate;
labelHoursMinSecsMilliSecs.Text = Configuration.Settings.Language.General.HourMinutesSecondsMilliseconds; labelHourMinSecMilliSecond.Text = Configuration.Settings.Language.General.HourMinutesSecondsMilliseconds;
comboBoxFrameRateFrom.Left = labelFromFrameRate.Left + labelFromFrameRate.Width + 3; comboBoxFrameRateFrom.Left = labelFromFrameRate.Left + labelFromFrameRate.Width + 3;
comboBoxFrameRateTo.Left = labelToFrameRate.Left + labelToFrameRate.Width + 3; comboBoxFrameRateTo.Left = labelToFrameRate.Left + labelToFrameRate.Width + 3;

View File

@ -29,7 +29,7 @@
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
this.labelTotalMillisecs = new System.Windows.Forms.Label(); this.labelTotalMilliseconds = new System.Windows.Forms.Label();
this.labelTM = new System.Windows.Forms.Label(); this.labelTM = new System.Windows.Forms.Label();
this.numericUpDownDelay = new System.Windows.Forms.NumericUpDown(); this.numericUpDownDelay = new System.Windows.Forms.NumericUpDown();
this.labelColor = new System.Windows.Forms.Label(); this.labelColor = new System.Windows.Forms.Label();
@ -46,14 +46,14 @@
((System.ComponentModel.ISupportInitialize)(this.numericUpDownDelay)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownDelay)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
// labelTotalMillisecs // labelTotalMilliseconds
// //
this.labelTotalMillisecs.AutoSize = true; this.labelTotalMilliseconds.AutoSize = true;
this.labelTotalMillisecs.Location = new System.Drawing.Point(159, 52); this.labelTotalMilliseconds.Location = new System.Drawing.Point(159, 52);
this.labelTotalMillisecs.Name = "labelTotalMillisecs"; this.labelTotalMilliseconds.Name = "labelTotalMilliseconds";
this.labelTotalMillisecs.Size = new System.Drawing.Size(90, 13); this.labelTotalMilliseconds.Size = new System.Drawing.Size(90, 13);
this.labelTotalMillisecs.TabIndex = 49; this.labelTotalMilliseconds.TabIndex = 49;
this.labelTotalMillisecs.Text = "labelTotalMillisecs"; this.labelTotalMilliseconds.Text = "labelTotalMilliseconds";
// //
// labelTM // labelTM
// //
@ -61,7 +61,7 @@
this.labelTM.Name = "labelTM"; this.labelTM.Name = "labelTM";
this.labelTM.Size = new System.Drawing.Size(140, 13); this.labelTM.Size = new System.Drawing.Size(140, 13);
this.labelTM.TabIndex = 48; this.labelTM.TabIndex = 48;
this.labelTM.Text = "Total millisecs.:"; this.labelTM.Text = "Total milliseconds:";
this.labelTM.TextAlign = System.Drawing.ContentAlignment.TopRight; this.labelTM.TextAlign = System.Drawing.ContentAlignment.TopRight;
// //
// numericUpDownDelay // numericUpDownDelay
@ -102,7 +102,7 @@
this.labelEndDelay.Name = "labelEndDelay"; this.labelEndDelay.Name = "labelEndDelay";
this.labelEndDelay.Size = new System.Drawing.Size(140, 13); this.labelEndDelay.Size = new System.Drawing.Size(140, 13);
this.labelEndDelay.TabIndex = 45; this.labelEndDelay.TabIndex = 45;
this.labelEndDelay.Text = "End delay in millisecs.:"; this.labelEndDelay.Text = "End delay in milliseconds:";
this.labelEndDelay.TextAlign = System.Drawing.ContentAlignment.TopRight; this.labelEndDelay.TextAlign = System.Drawing.ContentAlignment.TopRight;
// //
// buttonCancel // buttonCancel
@ -185,7 +185,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(440, 208); this.ClientSize = new System.Drawing.Size(440, 208);
this.Controls.Add(this.richTextBoxPreview); this.Controls.Add(this.richTextBoxPreview);
this.Controls.Add(this.labelTotalMillisecs); this.Controls.Add(this.labelTotalMilliseconds);
this.Controls.Add(this.labelTM); this.Controls.Add(this.labelTM);
this.Controls.Add(this.numericUpDownDelay); this.Controls.Add(this.numericUpDownDelay);
this.Controls.Add(this.labelColor); this.Controls.Add(this.labelColor);
@ -214,7 +214,7 @@
#endregion #endregion
private System.Windows.Forms.Label labelTotalMillisecs; private System.Windows.Forms.Label labelTotalMilliseconds;
private System.Windows.Forms.Label labelTM; private System.Windows.Forms.Label labelTM;
private System.Windows.Forms.NumericUpDown numericUpDownDelay; private System.Windows.Forms.NumericUpDown numericUpDownDelay;
private System.Windows.Forms.Label labelColor; private System.Windows.Forms.Label labelColor;

View File

@ -55,7 +55,7 @@ namespace Nikse.SubtitleEdit.Forms
AddToPreview(richTextBoxPreview, paragraph.Text); AddToPreview(richTextBoxPreview, paragraph.Text);
RefreshPreview(); RefreshPreview();
labelTotalMillisecs.Text = string.Format("{0:#,##0.000}", paragraph.Duration.TotalMilliseconds / 1000); labelTotalMilliseconds.Text = string.Format("{0:#,##0.000}", paragraph.Duration.TotalMilliseconds / 1000);
numericUpDownDelay.Maximum = (int)((paragraph.Duration.TotalMilliseconds - 500) / 1000); numericUpDownDelay.Maximum = (int)((paragraph.Duration.TotalMilliseconds - 500) / 1000);
numericUpDownDelay.Minimum = 0; numericUpDownDelay.Minimum = 0;

View File

@ -37,7 +37,7 @@
this.labelEndDelay = new System.Windows.Forms.Label(); this.labelEndDelay = new System.Windows.Forms.Label();
this.numericUpDownDelay = new System.Windows.Forms.NumericUpDown(); this.numericUpDownDelay = new System.Windows.Forms.NumericUpDown();
this.labelTM = new System.Windows.Forms.Label(); this.labelTM = new System.Windows.Forms.Label();
this.labelTotalMillisecs = new System.Windows.Forms.Label(); this.labelTotalMilliseconds = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownDelay)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownDelay)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
@ -95,7 +95,7 @@
this.labelEndDelay.Name = "labelEndDelay"; this.labelEndDelay.Name = "labelEndDelay";
this.labelEndDelay.Size = new System.Drawing.Size(140, 13); this.labelEndDelay.Size = new System.Drawing.Size(140, 13);
this.labelEndDelay.TabIndex = 32; this.labelEndDelay.TabIndex = 32;
this.labelEndDelay.Text = "End delay in millisecs.:"; this.labelEndDelay.Text = "End delay in milliseconds:";
this.labelEndDelay.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.labelEndDelay.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// numericUpDownDelay // numericUpDownDelay
@ -127,24 +127,24 @@
this.labelTM.Name = "labelTM"; this.labelTM.Name = "labelTM";
this.labelTM.Size = new System.Drawing.Size(140, 13); this.labelTM.Size = new System.Drawing.Size(140, 13);
this.labelTM.TabIndex = 36; this.labelTM.TabIndex = 36;
this.labelTM.Text = "Total millisecs.:"; this.labelTM.Text = "Total milliseconds:";
this.labelTM.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.labelTM.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// labelTotalMillisecs // labelTotalMilliseconds
// //
this.labelTotalMillisecs.AutoSize = true; this.labelTotalMilliseconds.AutoSize = true;
this.labelTotalMillisecs.Location = new System.Drawing.Point(159, 23); this.labelTotalMilliseconds.Location = new System.Drawing.Point(159, 23);
this.labelTotalMillisecs.Name = "labelTotalMillisecs"; this.labelTotalMilliseconds.Name = "labelTotalMilliseconds";
this.labelTotalMillisecs.Size = new System.Drawing.Size(90, 13); this.labelTotalMilliseconds.Size = new System.Drawing.Size(90, 13);
this.labelTotalMillisecs.TabIndex = 37; this.labelTotalMilliseconds.TabIndex = 37;
this.labelTotalMillisecs.Text = "labelTotalMillisecs"; this.labelTotalMilliseconds.Text = "labelTotalMilliseconds";
// //
// EffectTypewriter // EffectTypewriter
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(433, 179); this.ClientSize = new System.Drawing.Size(433, 179);
this.Controls.Add(this.labelTotalMillisecs); this.Controls.Add(this.labelTotalMilliseconds);
this.Controls.Add(this.labelTM); this.Controls.Add(this.labelTM);
this.Controls.Add(this.numericUpDownDelay); this.Controls.Add(this.numericUpDownDelay);
this.Controls.Add(this.labelEndDelay); this.Controls.Add(this.labelEndDelay);
@ -178,6 +178,6 @@
private System.Windows.Forms.Label labelEndDelay; private System.Windows.Forms.Label labelEndDelay;
private System.Windows.Forms.NumericUpDown numericUpDownDelay; private System.Windows.Forms.NumericUpDown numericUpDownDelay;
private System.Windows.Forms.Label labelTM; private System.Windows.Forms.Label labelTM;
private System.Windows.Forms.Label labelTotalMillisecs; private System.Windows.Forms.Label labelTotalMilliseconds;
} }
} }

View File

@ -55,7 +55,7 @@ namespace Nikse.SubtitleEdit.Forms
_paragraph = paragraph; _paragraph = paragraph;
labelPreview.Text = paragraph.Text; labelPreview.Text = paragraph.Text;
labelTotalMillisecs.Text = string.Format("{0:#,##0.000}", paragraph.Duration.TotalMilliseconds / 1000); labelTotalMilliseconds.Text = string.Format("{0:#,##0.000}", paragraph.Duration.TotalMilliseconds / 1000);
numericUpDownDelay.Maximum = (decimal)((paragraph.Duration.TotalMilliseconds - 500) / 1000); numericUpDownDelay.Maximum = (decimal)((paragraph.Duration.TotalMilliseconds - 500) / 1000);
numericUpDownDelay.Minimum = 0; numericUpDownDelay.Minimum = 0;

View File

@ -10772,12 +10772,12 @@ namespace Nikse.SubtitleEdit.Forms
} }
else if (audioVisualizer != null && audioVisualizer.Visible & e.KeyData == _waveformSearchSilenceForward) else if (audioVisualizer != null && audioVisualizer.Visible & e.KeyData == _waveformSearchSilenceForward)
{ {
audioVisualizer.FindDataBelowThresshold(Configuration.Settings.VideoControls.WaveformSeeksSilenceMaxVolume, Configuration.Settings.VideoControls.WaveformSeeksSilenceDurationSeconds); audioVisualizer.FindDataBelowThreshold(Configuration.Settings.VideoControls.WaveformSeeksSilenceMaxVolume, Configuration.Settings.VideoControls.WaveformSeeksSilenceDurationSeconds);
e.SuppressKeyPress = true; e.SuppressKeyPress = true;
} }
else if (audioVisualizer != null && audioVisualizer.Visible & e.KeyData == _waveformSearchSilenceBack) else if (audioVisualizer != null && audioVisualizer.Visible & e.KeyData == _waveformSearchSilenceBack)
{ {
audioVisualizer.FindDataBelowThressholdBack(Configuration.Settings.VideoControls.WaveformSeeksSilenceMaxVolume, Configuration.Settings.VideoControls.WaveformSeeksSilenceDurationSeconds); audioVisualizer.FindDataBelowThresholdBack(Configuration.Settings.VideoControls.WaveformSeeksSilenceMaxVolume, Configuration.Settings.VideoControls.WaveformSeeksSilenceDurationSeconds);
e.SuppressKeyPress = true; e.SuppressKeyPress = true;
} }
else if (_mainInsertBefore == e.KeyData && inListView) else if (_mainInsertBefore == e.KeyData && inListView)
@ -19007,11 +19007,11 @@ namespace Nikse.SubtitleEdit.Forms
{ {
if (form.SeekForward) if (form.SeekForward)
{ {
audioVisualizer.FindDataBelowThresshold(form.VolumeBelow, form.SecondsDuration); audioVisualizer.FindDataBelowThreshold(form.VolumeBelow, form.SecondsDuration);
} }
else else
{ {
audioVisualizer.FindDataBelowThressholdBack(form.VolumeBelow, form.SecondsDuration); audioVisualizer.FindDataBelowThresholdBack(form.VolumeBelow, form.SecondsDuration);
} }
} }
} }

View File

@ -31,7 +31,7 @@ namespace Nikse.SubtitleEdit.Forms
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
this.labelHoursMinSecsMilliSecs = new System.Windows.Forms.Label(); this.labelHourMinSecMilliSecond = new System.Windows.Forms.Label();
this.buttonShowLater = new System.Windows.Forms.Button(); this.buttonShowLater = new System.Windows.Forms.Button();
this.buttonShowEarlier = new System.Windows.Forms.Button(); this.buttonShowEarlier = new System.Windows.Forms.Button();
this.labelTotalAdjustment = new System.Windows.Forms.Label(); this.labelTotalAdjustment = new System.Windows.Forms.Label();
@ -42,14 +42,14 @@ namespace Nikse.SubtitleEdit.Forms
this.radioButtonSelectedLineAndForward = new System.Windows.Forms.RadioButton(); this.radioButtonSelectedLineAndForward = new System.Windows.Forms.RadioButton();
this.SuspendLayout(); this.SuspendLayout();
// //
// labelHoursMinSecsMilliSecs // labelHourMinSecMilliSecond
// //
this.labelHoursMinSecsMilliSecs.AutoSize = true; this.labelHourMinSecMilliSecond.AutoSize = true;
this.labelHoursMinSecsMilliSecs.Location = new System.Drawing.Point(11, 6); this.labelHourMinSecMilliSecond.Location = new System.Drawing.Point(11, 6);
this.labelHoursMinSecsMilliSecs.Name = "labelHoursMinSecsMilliSecs"; this.labelHourMinSecMilliSecond.Name = "labelHourMinSecMilliSecond";
this.labelHoursMinSecsMilliSecs.Size = new System.Drawing.Size(108, 13); this.labelHourMinSecMilliSecond.Size = new System.Drawing.Size(108, 13);
this.labelHoursMinSecsMilliSecs.TabIndex = 18; this.labelHourMinSecMilliSecond.TabIndex = 18;
this.labelHoursMinSecsMilliSecs.Text = "Hours:min:sec.msecs"; this.labelHourMinSecMilliSecond.Text = "Hours:min:sec.msecs";
// //
// buttonShowLater // buttonShowLater
// //
@ -141,7 +141,7 @@ namespace Nikse.SubtitleEdit.Forms
this.Controls.Add(this.buttonShowEarlier); this.Controls.Add(this.buttonShowEarlier);
this.Controls.Add(this.labelTotalAdjustment); this.Controls.Add(this.labelTotalAdjustment);
this.Controls.Add(this.timeUpDownAdjust); this.Controls.Add(this.timeUpDownAdjust);
this.Controls.Add(this.labelHoursMinSecsMilliSecs); this.Controls.Add(this.labelHourMinSecMilliSecond);
this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.KeyPreview = true; this.KeyPreview = true;
@ -160,7 +160,7 @@ namespace Nikse.SubtitleEdit.Forms
#endregion #endregion
private Nikse.SubtitleEdit.Controls.TimeUpDown timeUpDownAdjust; private Nikse.SubtitleEdit.Controls.TimeUpDown timeUpDownAdjust;
private System.Windows.Forms.Label labelHoursMinSecsMilliSecs; private System.Windows.Forms.Label labelHourMinSecMilliSecond;
private System.Windows.Forms.Button buttonShowLater; private System.Windows.Forms.Button buttonShowLater;
private System.Windows.Forms.Button buttonShowEarlier; private System.Windows.Forms.Button buttonShowEarlier;
private System.Windows.Forms.Label labelTotalAdjustment; private System.Windows.Forms.Label labelTotalAdjustment;

View File

@ -21,7 +21,7 @@ namespace Nikse.SubtitleEdit.Forms
timeUpDownAdjust.MaskedTextBox.Text = "000000000"; timeUpDownAdjust.MaskedTextBox.Text = "000000000";
Text = Configuration.Settings.Language.ShowEarlierLater.Title; Text = Configuration.Settings.Language.ShowEarlierLater.Title;
labelHoursMinSecsMilliSecs.Text = Configuration.Settings.Language.General.HourMinutesSecondsMilliseconds; labelHourMinSecMilliSecond.Text = Configuration.Settings.Language.General.HourMinutesSecondsMilliseconds;
buttonShowEarlier.Text = Configuration.Settings.Language.ShowEarlierLater.ShowEarlier; buttonShowEarlier.Text = Configuration.Settings.Language.ShowEarlierLater.ShowEarlier;
buttonShowLater.Text = Configuration.Settings.Language.ShowEarlierLater.ShowLater; buttonShowLater.Text = Configuration.Settings.Language.ShowEarlierLater.ShowLater;
radioButtonAllLines.Text = Configuration.Settings.Language.ShowEarlierLater.AllLines; radioButtonAllLines.Text = Configuration.Settings.Language.ShowEarlierLater.AllLines;

View File

@ -35,7 +35,7 @@
this.label2 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
this.labelHoursMinSecsMilliSecs = new System.Windows.Forms.Label(); this.labelHourMinSecMilliSecond = new System.Windows.Forms.Label();
this.splitTimeUpDownAdjust = new Nikse.SubtitleEdit.Controls.TimeUpDown(); this.splitTimeUpDownAdjust = new Nikse.SubtitleEdit.Controls.TimeUpDown();
this.buttonAdvanced = new System.Windows.Forms.Button(); this.buttonAdvanced = new System.Windows.Forms.Button();
this.SuspendLayout(); this.SuspendLayout();
@ -94,14 +94,14 @@
// //
this.openFileDialog1.FileName = "openFileDialog1"; this.openFileDialog1.FileName = "openFileDialog1";
// //
// labelHoursMinSecsMilliSecs // labelHourMinSecMilliSecond
// //
this.labelHoursMinSecsMilliSecs.AutoSize = true; this.labelHourMinSecMilliSecond.AutoSize = true;
this.labelHoursMinSecsMilliSecs.Location = new System.Drawing.Point(26, 52); this.labelHourMinSecMilliSecond.Location = new System.Drawing.Point(26, 52);
this.labelHoursMinSecsMilliSecs.Name = "labelHoursMinSecsMilliSecs"; this.labelHourMinSecMilliSecond.Name = "labelHourMinSecMilliSecond";
this.labelHoursMinSecsMilliSecs.Size = new System.Drawing.Size(108, 13); this.labelHourMinSecMilliSecond.Size = new System.Drawing.Size(108, 13);
this.labelHoursMinSecsMilliSecs.TabIndex = 22; this.labelHourMinSecMilliSecond.TabIndex = 22;
this.labelHoursMinSecsMilliSecs.Text = "Hours:min:sec.msecs"; this.labelHourMinSecMilliSecond.Text = "Hours:min:sec.msecs";
// //
// splitTimeUpDownAdjust // splitTimeUpDownAdjust
// //
@ -132,7 +132,7 @@
this.Controls.Add(this.buttonAdvanced); this.Controls.Add(this.buttonAdvanced);
this.Controls.Add(this.buttonGetFrameRate); this.Controls.Add(this.buttonGetFrameRate);
this.Controls.Add(this.splitTimeUpDownAdjust); this.Controls.Add(this.splitTimeUpDownAdjust);
this.Controls.Add(this.labelHoursMinSecsMilliSecs); this.Controls.Add(this.labelHourMinSecMilliSecond);
this.Controls.Add(this.label2); this.Controls.Add(this.label2);
this.Controls.Add(this.label1); this.Controls.Add(this.label1);
this.Controls.Add(this.buttonDone); this.Controls.Add(this.buttonDone);
@ -162,7 +162,7 @@
private System.Windows.Forms.OpenFileDialog openFileDialog1; private System.Windows.Forms.OpenFileDialog openFileDialog1;
private System.Windows.Forms.SaveFileDialog saveFileDialog1; private System.Windows.Forms.SaveFileDialog saveFileDialog1;
private Nikse.SubtitleEdit.Controls.TimeUpDown splitTimeUpDownAdjust; private Nikse.SubtitleEdit.Controls.TimeUpDown splitTimeUpDownAdjust;
private System.Windows.Forms.Label labelHoursMinSecsMilliSecs; private System.Windows.Forms.Label labelHourMinSecMilliSecond;
private System.Windows.Forms.Button buttonAdvanced; private System.Windows.Forms.Button buttonAdvanced;
} }
} }

View File

@ -26,7 +26,7 @@ namespace Nikse.SubtitleEdit.Forms
buttonSplit.Text = Configuration.Settings.Language.SplitSubtitle.Split; buttonSplit.Text = Configuration.Settings.Language.SplitSubtitle.Split;
buttonDone.Text = Configuration.Settings.Language.SplitSubtitle.Done; buttonDone.Text = Configuration.Settings.Language.SplitSubtitle.Done;
buttonAdvanced.Text = Configuration.Settings.Language.General.Advanced; buttonAdvanced.Text = Configuration.Settings.Language.General.Advanced;
labelHoursMinSecsMilliSecs.Text = Configuration.Settings.Language.General.HourMinutesSecondsMilliseconds; labelHourMinSecMilliSecond.Text = Configuration.Settings.Language.General.HourMinutesSecondsMilliseconds;
buttonGetFrameRate.Left = splitTimeUpDownAdjust.Left + splitTimeUpDownAdjust.Width; buttonGetFrameRate.Left = splitTimeUpDownAdjust.Left + splitTimeUpDownAdjust.Width;
FixLargeFonts(); FixLargeFonts();
} }

View File

@ -298,7 +298,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>تأثير آلة كاتبة</Title> <Title>تأثير آلة كاتبة</Title>
<TotalMilliseconds>:.مجموع ملي ثانية</TotalMilliseconds> <TotalMilliseconds>:.مجموع ملي ثانية</TotalMilliseconds>
<EndDelayInMillisecs>:.تأخير في نهاية ملي ثانية</EndDelayInMillisecs> <EndDelayInMilliseconds>:.تأخير في نهاية ملي ثانية</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportPngXml> <ExportPngXml>
<Title>BDN XML/PNG تصدير</Title> <Title>BDN XML/PNG تصدير</Title>

View File

@ -351,7 +351,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Ефект на пишеща машина</Title> <Title>Ефект на пишеща машина</Title>
<TotalMilliseconds>Общо милисекунди:</TotalMilliseconds> <TotalMilliseconds>Общо милисекунди:</TotalMilliseconds>
<EndDelayInMillisecs>Задържане в края в милисек.:</EndDelayInMillisecs> <EndDelayInMilliseconds>Задържане в края в милисек.:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Експорт на личен текст формат</Title> <Title>Експорт на личен текст формат</Title>

View File

@ -351,7 +351,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Efecte màquina d'escriure</Title> <Title>Efecte màquina d'escriure</Title>
<TotalMilliseconds>Milisegons totals:</TotalMilliseconds> <TotalMilliseconds>Milisegons totals:</TotalMilliseconds>
<EndDelayInMillisecs>Retard final en milisegons:</EndDelayInMillisecs> <EndDelayInMilliseconds>Retard final en milisegons:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Exporta format de text personalitzat</Title> <Title>Exporta format de text personalitzat</Title>

View File

@ -355,7 +355,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Efekt Psací stroj</Title> <Title>Efekt Psací stroj</Title>
<TotalMilliseconds>Celkem milisekund:</TotalMilliseconds> <TotalMilliseconds>Celkem milisekund:</TotalMilliseconds>
<EndDelayInMillisecs>Zpoždění konce v milisekundách:</EndDelayInMillisecs> <EndDelayInMilliseconds>Zpoždění konce v milisekundách:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Exportovat vlastní textový formát</Title> <Title>Exportovat vlastní textový formát</Title>

View File

@ -354,8 +354,8 @@ E-mail: mailto:nikse.dk@gmail.com</AboutText1>
</EffectKaraoke> </EffectKaraoke>
<EffectTypewriter> <EffectTypewriter>
<Title>Skrivemaskine effekt</Title> <Title>Skrivemaskine effekt</Title>
<TotalMilliseconds>Total millisecs.:</TotalMilliseconds> <TotalMilliseconds>Total milliseconds:</TotalMilliseconds>
<EndDelayInMillisecs>Slut forsinkelse i millisek.:</EndDelayInMillisecs> <EndDelayInMilliseconds>Slut forsinkelse i millisek.:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Eksporter bruger-defineret tekstformat</Title> <Title>Eksporter bruger-defineret tekstformat</Title>

View File

@ -355,7 +355,7 @@ E-Mail: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Schreibmaschinen-Effekt</Title> <Title>Schreibmaschinen-Effekt</Title>
<TotalMilliseconds>Gesamtdauer (ms):</TotalMilliseconds> <TotalMilliseconds>Gesamtdauer (ms):</TotalMilliseconds>
<EndDelayInMillisecs>Endverzögerung (ms):</EndDelayInMillisecs> <EndDelayInMilliseconds>Endverzögerung (ms):</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Benutzerdefiniertes Textformat exportieren</Title> <Title>Benutzerdefiniertes Textformat exportieren</Title>

View File

@ -354,7 +354,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Εφέ γραφομηχανής</Title> <Title>Εφέ γραφομηχανής</Title>
<TotalMilliseconds>Συνολικά χιλ. δευτερολέπτου:</TotalMilliseconds> <TotalMilliseconds>Συνολικά χιλ. δευτερολέπτου:</TotalMilliseconds>
<EndDelayInMillisecs>Καθυστέρηση λήξης σε χιλ. δευτερολέπτου:</EndDelayInMillisecs> <EndDelayInMilliseconds>Καθυστέρηση λήξης σε χιλ. δευτερολέπτου:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Εξαγωγή προσαρμοσμένης μορφής κειμένου</Title> <Title>Εξαγωγή προσαρμοσμένης μορφής κειμένου</Title>

View File

@ -330,7 +330,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Efecto máquina de escribir</Title> <Title>Efecto máquina de escribir</Title>
<TotalMilliseconds>Total milliseg.:</TotalMilliseconds> <TotalMilliseconds>Total milliseg.:</TotalMilliseconds>
<EndDelayInMillisecs>Retraso del fin en miliseg.:</EndDelayInMillisecs> <EndDelayInMilliseconds>Retraso del fin en miliseg.:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Exportar a formato de texto personalizado</Title> <Title>Exportar a formato de texto personalizado</Title>

View File

@ -227,7 +227,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Efecto máquina de escribir</Title> <Title>Efecto máquina de escribir</Title>
<TotalMilliseconds>Total milliseg.:</TotalMilliseconds> <TotalMilliseconds>Total milliseg.:</TotalMilliseconds>
<EndDelayInMillisecs>Retraso del fin en miliseg.:</EndDelayInMillisecs> <EndDelayInMilliseconds>Retraso del fin en miliseg.:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportPngXml> <ExportPngXml>
<Title>Exportar BDN XML/PNG</Title> <Title>Exportar BDN XML/PNG</Title>

View File

@ -342,7 +342,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Efecto máquina de escribir</Title> <Title>Efecto máquina de escribir</Title>
<TotalMilliseconds>Total de ms :</TotalMilliseconds> <TotalMilliseconds>Total de ms :</TotalMilliseconds>
<EndDelayInMillisecs>Retraso del fin en ms :</EndDelayInMillisecs> <EndDelayInMilliseconds>Retraso del fin en ms :</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Exportar formato de texto personalizado</Title> <Title>Exportar formato de texto personalizado</Title>

View File

@ -350,7 +350,7 @@ Post@: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Idazmakina eragina</Title> <Title>Idazmakina eragina</Title>
<TotalMilliseconds>Guztira segmil.:</TotalMilliseconds> <TotalMilliseconds>Guztira segmil.:</TotalMilliseconds>
<EndDelayInMillisecs>Amai atzerap. sm:</EndDelayInMillisecs> <EndDelayInMilliseconds>Amai atzerap. sm:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Esportatu norbere idazki heuskarria</Title> <Title>Esportatu norbere idazki heuskarria</Title>

View File

@ -228,7 +228,7 @@ http://soft98.ir
<EffectTypewriter> <EffectTypewriter>
<Title>اثر ماشین تحریر</Title> <Title>اثر ماشین تحریر</Title>
<TotalMilliseconds>تعداد میلی ثانیه:</TotalMilliseconds> <TotalMilliseconds>تعداد میلی ثانیه:</TotalMilliseconds>
<EndDelayInMillisecs>پایان تأخیر در میلی ثانیه:</EndDelayInMillisecs> <EndDelayInMilliseconds>پایان تأخیر در میلی ثانیه:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportPngXml> <ExportPngXml>
<Title>BDN XML/PNG خروجی گرفتن به</Title> <Title>BDN XML/PNG خروجی گرفتن به</Title>

View File

@ -351,7 +351,7 @@ Siirrytäänkö VLC media playerin kotisivulle?
<EffectTypewriter> <EffectTypewriter>
<Title>Kirjoituskone tehoste</Title> <Title>Kirjoituskone tehoste</Title>
<TotalMilliseconds>Yhteensä ms:</TotalMilliseconds> <TotalMilliseconds>Yhteensä ms:</TotalMilliseconds>
<EndDelayInMillisecs>Lopetusviive ms:</EndDelayInMillisecs> <EndDelayInMilliseconds>Lopetusviive ms:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Vie mukautetussa tekstimuodossa</Title> <Title>Vie mukautetussa tekstimuodossa</Title>

View File

@ -349,13 +349,13 @@ Courriel : mailto:nikse.dk@gmail.com</AboutText1>
<EffectKaraoke> <EffectKaraoke>
<Title>Effet Karaoké</Title> <Title>Effet Karaoké</Title>
<ChooseColor>Choisir couleur:</ChooseColor> <ChooseColor>Choisir couleur:</ChooseColor>
<TotalMilliseconds>Millisecs. total:</TotalMilliseconds> <TotalMilliseconds>Milliseconds total:</TotalMilliseconds>
<EndDelayInMilliseconds>Délai de fin en millisecs.:</EndDelayInMilliseconds> <EndDelayInMilliseconds>Délai de fin en milliseconds:</EndDelayInMilliseconds>
</EffectKaraoke> </EffectKaraoke>
<EffectTypewriter> <EffectTypewriter>
<Title>Effet machine à écrire</Title> <Title>Effet machine à écrire</Title>
<TotalMilliseconds>Millisecs. total:</TotalMilliseconds> <TotalMilliseconds>Milliseconds total:</TotalMilliseconds>
<EndDelayInMillisecs>Délai de fin en millisecs.:</EndDelayInMillisecs> <EndDelayInMilliseconds>Délai de fin en milliseconds:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Exporter format de texte personnalisé</Title> <Title>Exporter format de texte personnalisé</Title>

View File

@ -322,7 +322,7 @@ E-pošta:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Efekt pisaće mašine</Title> <Title>Efekt pisaće mašine</Title>
<TotalMilliseconds>Ukupno vrijeme:</TotalMilliseconds> <TotalMilliseconds>Ukupno vrijeme:</TotalMilliseconds>
<EndDelayInMillisecs>Završno kašnjenje:</EndDelayInMillisecs> <EndDelayInMilliseconds>Završno kašnjenje:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Izvezi prilagođeni tekst format</Title> <Title>Izvezi prilagođeni tekst format</Title>

View File

@ -351,7 +351,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Írógép hatás</Title> <Title>Írógép hatás</Title>
<TotalMilliseconds>Milliszekundum:</TotalMilliseconds> <TotalMilliseconds>Milliszekundum:</TotalMilliseconds>
<EndDelayInMillisecs>Befejezés késleltetés:</EndDelayInMillisecs> <EndDelayInMilliseconds>Befejezés késleltetés:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Egyéni szövegformátum exportálása</Title> <Title>Egyéni szövegformátum exportálása</Title>

View File

@ -355,7 +355,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Effetto macchina da scrivere</Title> <Title>Effetto macchina da scrivere</Title>
<TotalMilliseconds>Millisecondi totali:</TotalMilliseconds> <TotalMilliseconds>Millisecondi totali:</TotalMilliseconds>
<EndDelayInMillisecs>Ritardo finale in millisecondi:</EndDelayInMillisecs> <EndDelayInMilliseconds>Ritardo finale in millisecondi:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Esporta formato testo personalizzato</Title> <Title>Esporta formato testo personalizzato</Title>

View File

@ -293,7 +293,7 @@ C# ソース コードは https://github.com/SubtitleEdit/subtitleedit にあり
<EffectTypewriter> <EffectTypewriter>
<Title>タイプライター効果</Title> <Title>タイプライター効果</Title>
<TotalMilliseconds>総ミリ秒:</TotalMilliseconds> <TotalMilliseconds>総ミリ秒:</TotalMilliseconds>
<EndDelayInMillisecs>末尾の遅延 (ミリ秒).:</EndDelayInMillisecs> <EndDelayInMilliseconds>末尾の遅延 (ミリ秒).:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportPngXml> <ExportPngXml>
<Title>BDN XML/PNG のエクスポート</Title> <Title>BDN XML/PNG のエクスポート</Title>

View File

@ -353,7 +353,7 @@ C# 코드는 https://github.com/SubtitleEdit/subtitleedit 에 있습니다.
<EffectTypewriter> <EffectTypewriter>
<Title>타자기 효과</Title> <Title>타자기 효과</Title>
<TotalMilliseconds>총 시간 (밀리초):</TotalMilliseconds> <TotalMilliseconds>총 시간 (밀리초):</TotalMilliseconds>
<EndDelayInMillisecs>끝지점 지연 (밀리초):</EndDelayInMillisecs> <EndDelayInMilliseconds>끝지점 지연 (밀리초):</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>사용자 지정 텍스트 형식으로 내보내기</Title> <Title>사용자 지정 텍스트 형식으로 내보내기</Title>

View File

@ -355,7 +355,7 @@ E-mail: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Typemachine-effect</Title> <Title>Typemachine-effect</Title>
<TotalMilliseconds>Totaal millisec.:</TotalMilliseconds> <TotalMilliseconds>Totaal millisec.:</TotalMilliseconds>
<EndDelayInMillisecs>Eindvertraging in millisec.:</EndDelayInMillisecs> <EndDelayInMilliseconds>Eindvertraging in millisec.:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Eigen tekstformaat exporteren</Title> <Title>Eigen tekstformaat exporteren</Title>

View File

@ -355,7 +355,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Efekt maszyny do pisania</Title> <Title>Efekt maszyny do pisania</Title>
<TotalMilliseconds>Ogółem ms:</TotalMilliseconds> <TotalMilliseconds>Ogółem ms:</TotalMilliseconds>
<EndDelayInMillisecs>Ostateczne opóźnienie w ms:</EndDelayInMillisecs> <EndDelayInMilliseconds>Ostateczne opóźnienie w ms:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Eksport do niestandardowego formatu tekstowego</Title> <Title>Eksport do niestandardowego formatu tekstowego</Title>

View File

@ -355,7 +355,7 @@ E-mail: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Efeito máquina de escrever</Title> <Title>Efeito máquina de escrever</Title>
<TotalMilliseconds>Total milliseg.:</TotalMilliseconds> <TotalMilliseconds>Total milliseg.:</TotalMilliseconds>
<EndDelayInMillisecs>Atraso final em miliseg.:</EndDelayInMillisecs> <EndDelayInMilliseconds>Atraso final em miliseg.:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Exportar formato de texto personalizado</Title> <Title>Exportar formato de texto personalizado</Title>

View File

@ -357,7 +357,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Efeito máquina de escrever</Title> <Title>Efeito máquina de escrever</Title>
<TotalMilliseconds>Total milisseg.:</TotalMilliseconds> <TotalMilliseconds>Total milisseg.:</TotalMilliseconds>
<EndDelayInMillisecs>Atraso final em milisseg.:</EndDelayInMillisecs> <EndDelayInMilliseconds>Atraso final em milisseg.:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Exportar formato de texto personalizado</Title> <Title>Exportar formato de texto personalizado</Title>

View File

@ -351,7 +351,7 @@ E-mail la: nikse.dk @gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Efect mașină de scris</Title> <Title>Efect mașină de scris</Title>
<TotalMilliseconds>Total milisecunde:</TotalMilliseconds> <TotalMilliseconds>Total milisecunde:</TotalMilliseconds>
<EndDelayInMillisecs>Temporizare întârziată în milisecunde:</EndDelayInMillisecs> <EndDelayInMilliseconds>Temporizare întârziată în milisecunde:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Exportare format text particularizat</Title> <Title>Exportare format text particularizat</Title>

View File

@ -357,7 +357,7 @@ https://github.com/SubtitleEdit/subtitleedit
<EffectTypewriter> <EffectTypewriter>
<Title>Эффект Машинописи</Title> <Title>Эффект Машинописи</Title>
<TotalMilliseconds>Всего мс:</TotalMilliseconds> <TotalMilliseconds>Всего мс:</TotalMilliseconds>
<EndDelayInMillisecs>Конечная задержка в мс:</EndDelayInMillisecs> <EndDelayInMilliseconds>Конечная задержка в мс:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Экспорт текста в пользовательский формат</Title> <Title>Экспорт текста в пользовательский формат</Title>

View File

@ -336,7 +336,7 @@ E-pošta: hdhawkhd@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Učinek pisalnega stroja</Title> <Title>Učinek pisalnega stroja</Title>
<TotalMilliseconds>Skupaj milisek.:</TotalMilliseconds> <TotalMilliseconds>Skupaj milisek.:</TotalMilliseconds>
<EndDelayInMillisecs>Končaj zakasnitev v milisek.:</EndDelayInMillisecs> <EndDelayInMilliseconds>Končaj zakasnitev v milisek.:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Izvozi navaden format besedila</Title> <Title>Izvozi navaden format besedila</Title>

View File

@ -226,7 +226,7 @@
<EffectTypewriter> <EffectTypewriter>
<Title>Ефекат писаће машине</Title> <Title>Ефекат писаће машине</Title>
<TotalMilliseconds>Укупно време:</TotalMilliseconds> <TotalMilliseconds>Укупно време:</TotalMilliseconds>
<EndDelayInMillisecs>Завршно кашњење:</EndDelayInMillisecs> <EndDelayInMilliseconds>Завршно кашњење:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportPngXml> <ExportPngXml>
<Title>Извоз BDN XML/PNG</Title> <Title>Извоз BDN XML/PNG</Title>

View File

@ -293,7 +293,7 @@ E-pošta:mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Efekat pisaće mašine</Title> <Title>Efekat pisaće mašine</Title>
<TotalMilliseconds>Ukupno vreme:</TotalMilliseconds> <TotalMilliseconds>Ukupno vreme:</TotalMilliseconds>
<EndDelayInMillisecs>Završno kašnjenje:</EndDelayInMillisecs> <EndDelayInMilliseconds>Završno kašnjenje:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportPngXml> <ExportPngXml>
<Title>Izvoz BDN XML/PNG</Title> <Title>Izvoz BDN XML/PNG</Title>

View File

@ -351,7 +351,7 @@ E-post: mailto:nikse.dk@gmail.com</AboutText1>
<EffectTypewriter> <EffectTypewriter>
<Title>Skrivmaskins effekt</Title> <Title>Skrivmaskins effekt</Title>
<TotalMilliseconds>Totalt millisek.:</TotalMilliseconds> <TotalMilliseconds>Totalt millisek.:</TotalMilliseconds>
<EndDelayInMillisecs>Slutlig fördröjning i millisek.:</EndDelayInMillisecs> <EndDelayInMilliseconds>Slutlig fördröjning i millisek.:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>Exportera anpassade textformat</Title> <Title>Exportera anpassade textformat</Title>

View File

@ -355,7 +355,7 @@
<EffectTypewriter> <EffectTypewriter>
<Title>เอฟเฟ็กต์แบบพิมพ์ดีด</Title> <Title>เอฟเฟ็กต์แบบพิมพ์ดีด</Title>
<TotalMilliseconds>มิลลิวินาทีรวม.:</TotalMilliseconds> <TotalMilliseconds>มิลลิวินาทีรวม.:</TotalMilliseconds>
<EndDelayInMillisecs>หน่วงเวลาเป็นมิลลิวินาที:</EndDelayInMillisecs> <EndDelayInMilliseconds>หน่วงเวลาเป็นมิลลิวินาที:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>เอ็กซ์พอร์ตเป็นไฟล์ข้อความแบบกำหนดเอง</Title> <Title>เอ็กซ์พอร์ตเป็นไฟล์ข้อความแบบกำหนดเอง</Title>

View File

@ -288,12 +288,12 @@ E-posta: mailto:nikse.dk@gmail.com</AboutText1>
<Title>Karaoke efekti</Title> <Title>Karaoke efekti</Title>
<ChooseColor>Renk seç:</ChooseColor> <ChooseColor>Renk seç:</ChooseColor>
<TotalMilliseconds>Toplam milisaniye:</TotalMilliseconds> <TotalMilliseconds>Toplam milisaniye:</TotalMilliseconds>
<EndDelayInMilliseconds>End delay in millisecs.:</EndDelayInMilliseconds> <EndDelayInMilliseconds>End delay in milliseconds:</EndDelayInMilliseconds>
</EffectKaraoke> </EffectKaraoke>
<EffectTypewriter> <EffectTypewriter>
<Title>Daktilo efekti</Title> <Title>Daktilo efekti</Title>
<TotalMilliseconds>Toplam milisaniye.:</TotalMilliseconds> <TotalMilliseconds>Toplam milisaniye.:</TotalMilliseconds>
<EndDelayInMillisecs>End delay in millisecs.:</EndDelayInMillisecs> <EndDelayInMilliseconds>End delay in milliseconds:</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportPngXml> <ExportPngXml>
<Title>BDN XML/PNG dışa aktar</Title> <Title>BDN XML/PNG dışa aktar</Title>

View File

@ -311,7 +311,7 @@ Rất hân hạnh được chào đón.
<EffectTypewriter> <EffectTypewriter>
<Title>Hiệu ứng chữ viết</Title> <Title>Hiệu ứng chữ viết</Title>
<TotalMilliseconds>Tổng ms:.</TotalMilliseconds> <TotalMilliseconds>Tổng ms:.</TotalMilliseconds>
<EndDelayInMillisecs>Kết thúc sự chậm trễ trong ms:.</EndDelayInMillisecs> <EndDelayInMilliseconds>Kết thúc sự chậm trễ trong ms:.</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportPngXml> <ExportPngXml>
<Title>Xuất ra BDN XML/PNG</Title> <Title>Xuất ra BDN XML/PNG</Title>

View File

@ -354,7 +354,7 @@ C# 源代码可从 https://github.com/SubtitleEdit/subtitleedit 获得。
<EffectTypewriter> <EffectTypewriter>
<Title>打字机效果</Title> <Title>打字机效果</Title>
<TotalMilliseconds>总毫秒数:</TotalMilliseconds> <TotalMilliseconds>总毫秒数:</TotalMilliseconds>
<EndDelayInMillisecs>末尾延时(毫秒):</EndDelayInMillisecs> <EndDelayInMilliseconds>末尾延时(毫秒):</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>导出自定义文本格式</Title> <Title>导出自定义文本格式</Title>

View File

@ -351,7 +351,7 @@ C# 原始碼可從 https://github.com/SubtitleEdit/subtitleedit 取得。
<EffectTypewriter> <EffectTypewriter>
<Title>打字機效果</Title> <Title>打字機效果</Title>
<TotalMilliseconds>總毫秒數:</TotalMilliseconds> <TotalMilliseconds>總毫秒數:</TotalMilliseconds>
<EndDelayInMillisecs>結尾延遲 (毫秒):</EndDelayInMillisecs> <EndDelayInMilliseconds>結尾延遲 (毫秒):</EndDelayInMilliseconds>
</EffectTypewriter> </EffectTypewriter>
<ExportCustomText> <ExportCustomText>
<Title>匯出自訂文字格式</Title> <Title>匯出自訂文字格式</Title>

View File

@ -284,7 +284,7 @@ namespace Nikse.SubtitleEdit.Logic
ScanFolder = "Scan folder...", ScanFolder = "Scan folder...",
ScanningFolder = "Scanning {0} and subfolders for subtitle files...", ScanningFolder = "Scanning {0} and subfolders for subtitle files...",
Recursive = "Include sub folders", Recursive = "Include sub folders",
SetMinMsBetweenSubtitles = "Set min. millisecs between subtitles", SetMinMsBetweenSubtitles = "Set min. milliseconds between subtitles",
PlainText = "Plain text", PlainText = "Plain text",
}; };
@ -510,15 +510,15 @@ namespace Nikse.SubtitleEdit.Logic
{ {
Title = "Karaoke effect", Title = "Karaoke effect",
ChooseColor = "Choose color:", ChooseColor = "Choose color:",
TotalMilliseconds = "Total millisecs.:", TotalMilliseconds = "Total milliseconds:",
EndDelayInMilliseconds = "End delay in millisecs.:" EndDelayInMilliseconds = "End delay in milliseconds:"
}; };
EffectTypewriter = new LanguageStructure.EffectTypewriter EffectTypewriter = new LanguageStructure.EffectTypewriter
{ {
Title = "Typewriter effect", Title = "Typewriter effect",
TotalMilliseconds = "Total millisecs.:", TotalMilliseconds = "Total milliseconds:",
EndDelayInMillisecs = "End delay in millisecs.:" EndDelayInMilliseconds = "End delay in milliseconds:"
}; };
ExportCustomText = new LanguageStructure.ExportCustomText ExportCustomText = new LanguageStructure.ExportCustomText

View File

@ -1024,8 +1024,8 @@ namespace Nikse.SubtitleEdit.Logic
case "EffectTypewriter/TotalMilliseconds": case "EffectTypewriter/TotalMilliseconds":
language.EffectTypewriter.TotalMilliseconds = reader.Value; language.EffectTypewriter.TotalMilliseconds = reader.Value;
break; break;
case "EffectTypewriter/EndDelayInMillisecs": case "EffectTypewriter/EndDelayInMilliseconds":
language.EffectTypewriter.EndDelayInMillisecs = reader.Value; language.EffectTypewriter.EndDelayInMilliseconds = reader.Value;
break; break;
case "ExportCustomText/Title": case "ExportCustomText/Title":
language.ExportCustomText.Title = reader.Value; language.ExportCustomText.Title = reader.Value;

View File

@ -406,7 +406,7 @@
{ {
public string Title { get; set; } public string Title { get; set; }
public string TotalMilliseconds { get; set; } public string TotalMilliseconds { get; set; }
public string EndDelayInMillisecs { get; set; } public string EndDelayInMilliseconds { get; set; }
} }
public class ExportCustomText public class ExportCustomText

View File

@ -8,7 +8,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
public class SonyDVDArchitectWithLineNumbers : SubtitleFormat public class SonyDVDArchitectWithLineNumbers : SubtitleFormat
{ {
private static Regex regexTimeCode = new Regex(@"^\d\d\d\d \d\d:\d\d:\d\d:\d\d \d\d:\d\d:\d\d:\d\d", RegexOptions.Compiled); private static Regex regexTimeCode = new Regex(@"^\d\d\d\d \d\d:\d\d:\d\d:\d\d \d\d:\d\d:\d\d:\d\d", RegexOptions.Compiled);
private static Regex regex1DigitMillisecs = new Regex(@"^\d\d\d\d \d\d\d:\d\d:\d\d:\d \d\d\d:\d\d:\d\d:\d", RegexOptions.Compiled); private static Regex regex1DigitMilliseconds = new Regex(@"^\d\d\d\d \d\d\d:\d\d:\d\d:\d \d\d\d:\d\d:\d\d:\d", RegexOptions.Compiled);
public override string Extension public override string Extension
{ {
@ -62,7 +62,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
if (line.IndexOf(':') > 0) if (line.IndexOf(':') > 0)
{ {
var match = regexTimeCode.Match(s); var match = regexTimeCode.Match(s);
var match1DigitMillisecs = regex1DigitMillisecs.Match(s); var match1DigitMilliseconds = regex1DigitMilliseconds.Match(s);
if (s.Length > 31 && match.Success) if (s.Length > 31 && match.Success)
{ {
s = s.Substring(5, match.Length - 5).TrimStart(); s = s.Substring(5, match.Length - 5).TrimStart();
@ -91,9 +91,9 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
success = true; success = true;
} }
} }
else if (s.Length > 29 && match1DigitMillisecs.Success) else if (s.Length > 29 && match1DigitMilliseconds.Success)
{ {
s = s.Substring(5, match1DigitMillisecs.Length - 5).TrimStart(); s = s.Substring(5, match1DigitMilliseconds.Length - 5).TrimStart();
s = s.Replace(" ", ":"); s = s.Replace(" ", ":");
s = s.Replace(" ", string.Empty); s = s.Replace(" ", string.Empty);
string[] parts = s.Split(':'); string[] parts = s.Split(':');
@ -111,7 +111,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
milliseconds = int.Parse(parts[7]) * 10; milliseconds = int.Parse(parts[7]) * 10;
var end = new TimeCode(hours, minutes, seconds, milliseconds); var end = new TimeCode(hours, minutes, seconds, milliseconds);
string text = line.Replace("\0", string.Empty).Substring(match1DigitMillisecs.Length).TrimStart(); string text = line.Replace("\0", string.Empty).Substring(match1DigitMilliseconds.Length).TrimStart();
text = text.Replace("|", Environment.NewLine); text = text.Replace("|", Environment.NewLine);
lastParagraph = new Paragraph(start, end, text); lastParagraph = new Paragraph(start, end, text);

View File

@ -1091,7 +1091,7 @@ namespace Nikse.SubtitleEdit.Logic.VideoFormats
ref double frameRate, ref double frameRate,
ref int pixelWidth, ref int pixelWidth,
ref int pixelHeight, ref int pixelHeight,
ref double millisecsDuration, ref double millisecondDuration,
ref string videoCodec) ref string videoCodec)
{ {
byte b; byte b;
@ -1173,7 +1173,7 @@ namespace Nikse.SubtitleEdit.Logic.VideoFormats
pixelHeight = _pixelHeight; pixelHeight = _pixelHeight;
frameRate = _frameRate; frameRate = _frameRate;
hasConstantFrameRate = _frameRate > 0; hasConstantFrameRate = _frameRate > 0;
millisecsDuration = _durationInMilliseconds; millisecondDuration = _durationInMilliseconds;
videoCodec = _videoCodecId; videoCodec = _videoCodecId;
} }

View File

@ -380,13 +380,13 @@ alpha: 100%
# Smoothing for very blocky images (use OLD for no filtering) # Smoothing for very blocky images (use OLD for no filtering)
smooth: OFF smooth: OFF
# In millisecs # In milliseconds
fadein/out: 50, 50 fadein/out: 50, 50
# Force subtitle placement relative to (org.x, org.y) # Force subtitle placement relative to (org.x, org.y)
align: OFF at LEFT TOP align: OFF at LEFT TOP
# For correcting non-progressive desync. (in millisecs or hh:mm:ss:ms) # For correcting non-progressive desync. (in milliseconds or hh:mm:ss:ms)
# Note: Not effective in DirectVobSub, use 'delay: ... ' instead. # Note: Not effective in DirectVobSub, use 'delay: ... ' instead.
time offset: 0 time offset: 0