mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Typo fixes.
This commit is contained in:
parent
f56998dba2
commit
28b103e22c
@ -159,7 +159,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<ScanFolder>Scan folder...</ScanFolder>
|
||||
<ScanningFolder>Scanning {0} and subfolders for subtitle files...</ScanningFolder>
|
||||
<Recursive>Include sub folders</Recursive>
|
||||
<SetMinMsBetweenSubtitles>Set min. millisecs between subtitles</SetMinMsBetweenSubtitles>
|
||||
<SetMinMsBetweenSubtitles>Set min. milliseconds between subtitles</SetMinMsBetweenSubtitles>
|
||||
<PlainText>Plain text</PlainText>
|
||||
</BatchConvert>
|
||||
<Beamer>
|
||||
@ -349,13 +349,13 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectKaraoke>
|
||||
<Title>Karaoke effect</Title>
|
||||
<ChooseColor>Choose color:</ChooseColor>
|
||||
<TotalMilliseconds>Total millisecs.:</TotalMilliseconds>
|
||||
<EndDelayInMilliseconds>End delay in millisecs.:</EndDelayInMilliseconds>
|
||||
<TotalMilliseconds>Total milliseconds:</TotalMilliseconds>
|
||||
<EndDelayInMilliseconds>End delay in milliseconds:</EndDelayInMilliseconds>
|
||||
</EffectKaraoke>
|
||||
<EffectTypewriter>
|
||||
<Title>Typewriter effect</Title>
|
||||
<TotalMilliseconds>Total millisecs.:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>End delay in millisecs.:</EndDelayInMillisecs>
|
||||
<TotalMilliseconds>Total milliseconds:</TotalMilliseconds>
|
||||
<EndDelayInMilliseconds>End delay in milliseconds:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Export custom text format</Title>
|
||||
|
@ -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 length = SecondsToXPosition(durationInSeconds);
|
||||
@ -1589,7 +1589,7 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
int hitCount = 0;
|
||||
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++;
|
||||
else
|
||||
hitCount = 0;
|
||||
@ -1611,7 +1611,7 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
return -1;
|
||||
}
|
||||
|
||||
public double FindDataBelowThressholdBack(int thresshold, double durationInSeconds)
|
||||
public double FindDataBelowThresholdBack(int threshold, double durationInSeconds)
|
||||
{
|
||||
int begin = SecondsToXPosition(_currentVideoPositionSeconds - 1);
|
||||
int length = SecondsToXPosition(durationInSeconds);
|
||||
@ -1619,7 +1619,7 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
int hitCount = 0;
|
||||
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++;
|
||||
else
|
||||
hitCount = 0;
|
||||
@ -1808,8 +1808,8 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
average += Math.Abs(_wavePeaks.AllSamples[k]);
|
||||
average = average / (_wavePeaks.AllSamples.Count - begin);
|
||||
|
||||
int maxThresshold = (int)(_wavePeaks.DataMaxValue * (maximumVolumePercent / 100.0));
|
||||
int silenceThresshold = (int)(average * (mininumVolumePercent / 100.0));
|
||||
int maxThreshold = (int)(_wavePeaks.DataMaxValue * (maximumVolumePercent / 100.0));
|
||||
int silenceThreshold = (int)(average * (mininumVolumePercent / 100.0));
|
||||
|
||||
int length50Ms = SecondsToXPosition(0.050);
|
||||
double secondsPerParagraph = defaultMilliseconds / 1000.0;
|
||||
@ -1823,7 +1823,7 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
var currentLengthInSeconds = XPositionToSeconds(i - begin) - StartPositionSeconds;
|
||||
if (currentLengthInSeconds > 1.0)
|
||||
{
|
||||
subtitleOn = EndParagraphDueToLowVolume(silenceThresshold, begin, true, i);
|
||||
subtitleOn = EndParagraphDueToLowVolume(silenceThreshold, begin, true, i);
|
||||
if (!subtitleOn)
|
||||
{
|
||||
begin = i + minBetween;
|
||||
@ -1834,7 +1834,7 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
{
|
||||
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)
|
||||
{
|
||||
i += (j * length50Ms);
|
||||
@ -1856,27 +1856,23 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
else
|
||||
{
|
||||
double avgVol = GetAverageVolumeForNextMilliseconds(i, 100);
|
||||
if (avgVol > silenceThresshold)
|
||||
if (avgVol > silenceThreshold)
|
||||
{
|
||||
if (avgVol < maxThresshold)
|
||||
if (avgVol < maxThreshold)
|
||||
{
|
||||
subtitleOn = true;
|
||||
begin = i;
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// MessageBox.Show("Too much");
|
||||
// }
|
||||
}
|
||||
}
|
||||
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);
|
||||
if (avgVol < silenceThresshold)
|
||||
if (avgVol < silenceThreshold)
|
||||
{
|
||||
var p = new Paragraph(string.Empty, (XPositionToSeconds(begin) - StartPositionSeconds) * 1000.0, (XPositionToSeconds(i) - StartPositionSeconds) * 1000.0);
|
||||
_subtitle.Paragraphs.Add(p);
|
||||
|
@ -51,34 +51,34 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
|
||||
private void NumericUpDownValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
double? millisecs = GetTotalMilliseconds();
|
||||
if (millisecs.HasValue)
|
||||
double? milliseconds = GetTotalMilliseconds();
|
||||
if (milliseconds.HasValue)
|
||||
{
|
||||
if (millisecs.Value >= TimeCode.MaxTime.TotalMilliseconds - 0.1)
|
||||
millisecs = 0;
|
||||
if (milliseconds.Value >= TimeCode.MaxTime.TotalMilliseconds - 0.1)
|
||||
milliseconds = 0;
|
||||
|
||||
if (Mode == TimeMode.HHMMSSMS)
|
||||
{
|
||||
if (numericUpDown1.Value > NumericUpDownValue)
|
||||
{
|
||||
SetTotalMilliseconds(millisecs.Value + 100);
|
||||
SetTotalMilliseconds(milliseconds.Value + 100);
|
||||
}
|
||||
else if (numericUpDown1.Value < NumericUpDownValue)
|
||||
{
|
||||
SetTotalMilliseconds(millisecs.Value - 100);
|
||||
SetTotalMilliseconds(milliseconds.Value - 100);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
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)
|
||||
{
|
||||
if (millisecs.Value - 100 > 0)
|
||||
SetTotalMilliseconds(millisecs.Value - Logic.SubtitleFormats.SubtitleFormat.FramesToMilliseconds(1));
|
||||
else if (millisecs.Value > 0)
|
||||
if (milliseconds.Value - 100 > 0)
|
||||
SetTotalMilliseconds(milliseconds.Value - Logic.SubtitleFormats.SubtitleFormat.FramesToMilliseconds(1));
|
||||
else if (milliseconds.Value > 0)
|
||||
SetTotalMilliseconds(0);
|
||||
}
|
||||
}
|
||||
|
24
src/Forms/BatchConvert.Designer.cs
generated
24
src/Forms/BatchConvert.Designer.cs
generated
@ -49,7 +49,7 @@
|
||||
this.radioButtonShowLater = new System.Windows.Forms.RadioButton();
|
||||
this.radioButtonShowEarlier = new System.Windows.Forms.RadioButton();
|
||||
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.checkBoxRemoveTextForHI = new System.Windows.Forms.CheckBox();
|
||||
this.checkBoxRemoveFormatting = new System.Windows.Forms.CheckBox();
|
||||
@ -166,7 +166,7 @@
|
||||
this.checkBoxSetMinimumDisplayTimeBetweenSubs.Name = "checkBoxSetMinimumDisplayTimeBetweenSubs";
|
||||
this.checkBoxSetMinimumDisplayTimeBetweenSubs.Size = new System.Drawing.Size(190, 17);
|
||||
this.checkBoxSetMinimumDisplayTimeBetweenSubs.TabIndex = 9;
|
||||
this.checkBoxSetMinimumDisplayTimeBetweenSubs.Text = "Set min. millisecs between subtitles";
|
||||
this.checkBoxSetMinimumDisplayTimeBetweenSubs.Text = "Set min. milliseconds between subtitles";
|
||||
this.checkBoxSetMinimumDisplayTimeBetweenSubs.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBoxAutoBalance
|
||||
@ -273,7 +273,7 @@
|
||||
this.groupBoxOffsetTimeCodes.Controls.Add(this.radioButtonShowLater);
|
||||
this.groupBoxOffsetTimeCodes.Controls.Add(this.radioButtonShowEarlier);
|
||||
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.Name = "groupBoxOffsetTimeCodes";
|
||||
this.groupBoxOffsetTimeCodes.Size = new System.Drawing.Size(239, 115);
|
||||
@ -313,14 +313,14 @@
|
||||
this.timeUpDownAdjust.Size = new System.Drawing.Size(96, 24);
|
||||
this.timeUpDownAdjust.TabIndex = 1;
|
||||
//
|
||||
// labelHoursMinSecsMilliSecs
|
||||
// labelHourMinSecMilliSecond
|
||||
//
|
||||
this.labelHoursMinSecsMilliSecs.AutoSize = true;
|
||||
this.labelHoursMinSecsMilliSecs.Location = new System.Drawing.Point(6, 20);
|
||||
this.labelHoursMinSecsMilliSecs.Name = "labelHoursMinSecsMilliSecs";
|
||||
this.labelHoursMinSecsMilliSecs.Size = new System.Drawing.Size(107, 13);
|
||||
this.labelHoursMinSecsMilliSecs.TabIndex = 0;
|
||||
this.labelHoursMinSecsMilliSecs.Text = "Hours:min:sec.msecs";
|
||||
this.labelHourMinSecMilliSecond.AutoSize = true;
|
||||
this.labelHourMinSecMilliSecond.Location = new System.Drawing.Point(6, 20);
|
||||
this.labelHourMinSecMilliSecond.Name = "labelHourMinSecMilliSecond";
|
||||
this.labelHourMinSecMilliSecond.Size = new System.Drawing.Size(107, 13);
|
||||
this.labelHourMinSecMilliSecond.TabIndex = 0;
|
||||
this.labelHourMinSecMilliSecond.Text = "Hours:min:sec.msec";
|
||||
//
|
||||
// checkBoxFixCasing
|
||||
//
|
||||
@ -415,7 +415,7 @@
|
||||
this.checkBoxOverwrite.Name = "checkBoxOverwrite";
|
||||
this.checkBoxOverwrite.Size = new System.Drawing.Size(130, 17);
|
||||
this.checkBoxOverwrite.TabIndex = 5;
|
||||
this.checkBoxOverwrite.Text = "Overwrite exsiting files";
|
||||
this.checkBoxOverwrite.Text = "Overwrite exiting files";
|
||||
this.checkBoxOverwrite.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// comboBoxSubtitleFormats
|
||||
@ -698,7 +698,7 @@
|
||||
private System.Windows.Forms.GroupBox groupBoxOffsetTimeCodes;
|
||||
private System.Windows.Forms.GroupBox groupBoxChangeFrameRate;
|
||||
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.Label labelToFrameRate;
|
||||
private System.Windows.Forms.ComboBox comboBoxFrameRateFrom;
|
||||
|
@ -100,7 +100,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
groupBoxOffsetTimeCodes.Text = Configuration.Settings.Language.ShowEarlierLater.TitleAll;
|
||||
labelFromFrameRate.Text = Configuration.Settings.Language.ChangeFrameRate.FromFrameRate;
|
||||
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;
|
||||
comboBoxFrameRateTo.Left = labelToFrameRate.Left + labelToFrameRate.Width + 3;
|
||||
|
24
src/Forms/EffectKaraoke.Designer.cs
generated
24
src/Forms/EffectKaraoke.Designer.cs
generated
@ -29,7 +29,7 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
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.numericUpDownDelay = new System.Windows.Forms.NumericUpDown();
|
||||
this.labelColor = new System.Windows.Forms.Label();
|
||||
@ -46,14 +46,14 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownDelay)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// labelTotalMillisecs
|
||||
// labelTotalMilliseconds
|
||||
//
|
||||
this.labelTotalMillisecs.AutoSize = true;
|
||||
this.labelTotalMillisecs.Location = new System.Drawing.Point(159, 52);
|
||||
this.labelTotalMillisecs.Name = "labelTotalMillisecs";
|
||||
this.labelTotalMillisecs.Size = new System.Drawing.Size(90, 13);
|
||||
this.labelTotalMillisecs.TabIndex = 49;
|
||||
this.labelTotalMillisecs.Text = "labelTotalMillisecs";
|
||||
this.labelTotalMilliseconds.AutoSize = true;
|
||||
this.labelTotalMilliseconds.Location = new System.Drawing.Point(159, 52);
|
||||
this.labelTotalMilliseconds.Name = "labelTotalMilliseconds";
|
||||
this.labelTotalMilliseconds.Size = new System.Drawing.Size(90, 13);
|
||||
this.labelTotalMilliseconds.TabIndex = 49;
|
||||
this.labelTotalMilliseconds.Text = "labelTotalMilliseconds";
|
||||
//
|
||||
// labelTM
|
||||
//
|
||||
@ -61,7 +61,7 @@
|
||||
this.labelTM.Name = "labelTM";
|
||||
this.labelTM.Size = new System.Drawing.Size(140, 13);
|
||||
this.labelTM.TabIndex = 48;
|
||||
this.labelTM.Text = "Total millisecs.:";
|
||||
this.labelTM.Text = "Total milliseconds:";
|
||||
this.labelTM.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
||||
//
|
||||
// numericUpDownDelay
|
||||
@ -102,7 +102,7 @@
|
||||
this.labelEndDelay.Name = "labelEndDelay";
|
||||
this.labelEndDelay.Size = new System.Drawing.Size(140, 13);
|
||||
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;
|
||||
//
|
||||
// buttonCancel
|
||||
@ -185,7 +185,7 @@
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(440, 208);
|
||||
this.Controls.Add(this.richTextBoxPreview);
|
||||
this.Controls.Add(this.labelTotalMillisecs);
|
||||
this.Controls.Add(this.labelTotalMilliseconds);
|
||||
this.Controls.Add(this.labelTM);
|
||||
this.Controls.Add(this.numericUpDownDelay);
|
||||
this.Controls.Add(this.labelColor);
|
||||
@ -214,7 +214,7 @@
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label labelTotalMillisecs;
|
||||
private System.Windows.Forms.Label labelTotalMilliseconds;
|
||||
private System.Windows.Forms.Label labelTM;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDownDelay;
|
||||
private System.Windows.Forms.Label labelColor;
|
||||
|
@ -55,7 +55,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
AddToPreview(richTextBoxPreview, paragraph.Text);
|
||||
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.Minimum = 0;
|
||||
|
||||
|
24
src/Forms/EffectTypewriter.Designer.cs
generated
24
src/Forms/EffectTypewriter.Designer.cs
generated
@ -37,7 +37,7 @@
|
||||
this.labelEndDelay = new System.Windows.Forms.Label();
|
||||
this.numericUpDownDelay = new System.Windows.Forms.NumericUpDown();
|
||||
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();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@ -95,7 +95,7 @@
|
||||
this.labelEndDelay.Name = "labelEndDelay";
|
||||
this.labelEndDelay.Size = new System.Drawing.Size(140, 13);
|
||||
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;
|
||||
//
|
||||
// numericUpDownDelay
|
||||
@ -127,24 +127,24 @@
|
||||
this.labelTM.Name = "labelTM";
|
||||
this.labelTM.Size = new System.Drawing.Size(140, 13);
|
||||
this.labelTM.TabIndex = 36;
|
||||
this.labelTM.Text = "Total millisecs.:";
|
||||
this.labelTM.Text = "Total milliseconds:";
|
||||
this.labelTM.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// labelTotalMillisecs
|
||||
// labelTotalMilliseconds
|
||||
//
|
||||
this.labelTotalMillisecs.AutoSize = true;
|
||||
this.labelTotalMillisecs.Location = new System.Drawing.Point(159, 23);
|
||||
this.labelTotalMillisecs.Name = "labelTotalMillisecs";
|
||||
this.labelTotalMillisecs.Size = new System.Drawing.Size(90, 13);
|
||||
this.labelTotalMillisecs.TabIndex = 37;
|
||||
this.labelTotalMillisecs.Text = "labelTotalMillisecs";
|
||||
this.labelTotalMilliseconds.AutoSize = true;
|
||||
this.labelTotalMilliseconds.Location = new System.Drawing.Point(159, 23);
|
||||
this.labelTotalMilliseconds.Name = "labelTotalMilliseconds";
|
||||
this.labelTotalMilliseconds.Size = new System.Drawing.Size(90, 13);
|
||||
this.labelTotalMilliseconds.TabIndex = 37;
|
||||
this.labelTotalMilliseconds.Text = "labelTotalMilliseconds";
|
||||
//
|
||||
// EffectTypewriter
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
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.numericUpDownDelay);
|
||||
this.Controls.Add(this.labelEndDelay);
|
||||
@ -178,6 +178,6 @@
|
||||
private System.Windows.Forms.Label labelEndDelay;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDownDelay;
|
||||
private System.Windows.Forms.Label labelTM;
|
||||
private System.Windows.Forms.Label labelTotalMillisecs;
|
||||
private System.Windows.Forms.Label labelTotalMilliseconds;
|
||||
}
|
||||
}
|
@ -55,7 +55,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
_paragraph = paragraph;
|
||||
|
||||
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.Minimum = 0;
|
||||
|
||||
|
@ -10772,12 +10772,12 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
else if (_mainInsertBefore == e.KeyData && inListView)
|
||||
@ -19007,11 +19007,11 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
if (form.SeekForward)
|
||||
{
|
||||
audioVisualizer.FindDataBelowThresshold(form.VolumeBelow, form.SecondsDuration);
|
||||
audioVisualizer.FindDataBelowThreshold(form.VolumeBelow, form.SecondsDuration);
|
||||
}
|
||||
else
|
||||
{
|
||||
audioVisualizer.FindDataBelowThressholdBack(form.VolumeBelow, form.SecondsDuration);
|
||||
audioVisualizer.FindDataBelowThresholdBack(form.VolumeBelow, form.SecondsDuration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
20
src/Forms/ShowEarlierLater.Designer.cs
generated
20
src/Forms/ShowEarlierLater.Designer.cs
generated
@ -31,7 +31,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
private void InitializeComponent()
|
||||
{
|
||||
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.buttonShowEarlier = new System.Windows.Forms.Button();
|
||||
this.labelTotalAdjustment = new System.Windows.Forms.Label();
|
||||
@ -42,14 +42,14 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
this.radioButtonSelectedLineAndForward = new System.Windows.Forms.RadioButton();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// labelHoursMinSecsMilliSecs
|
||||
// labelHourMinSecMilliSecond
|
||||
//
|
||||
this.labelHoursMinSecsMilliSecs.AutoSize = true;
|
||||
this.labelHoursMinSecsMilliSecs.Location = new System.Drawing.Point(11, 6);
|
||||
this.labelHoursMinSecsMilliSecs.Name = "labelHoursMinSecsMilliSecs";
|
||||
this.labelHoursMinSecsMilliSecs.Size = new System.Drawing.Size(108, 13);
|
||||
this.labelHoursMinSecsMilliSecs.TabIndex = 18;
|
||||
this.labelHoursMinSecsMilliSecs.Text = "Hours:min:sec.msecs";
|
||||
this.labelHourMinSecMilliSecond.AutoSize = true;
|
||||
this.labelHourMinSecMilliSecond.Location = new System.Drawing.Point(11, 6);
|
||||
this.labelHourMinSecMilliSecond.Name = "labelHourMinSecMilliSecond";
|
||||
this.labelHourMinSecMilliSecond.Size = new System.Drawing.Size(108, 13);
|
||||
this.labelHourMinSecMilliSecond.TabIndex = 18;
|
||||
this.labelHourMinSecMilliSecond.Text = "Hours:min:sec.msecs";
|
||||
//
|
||||
// buttonShowLater
|
||||
//
|
||||
@ -141,7 +141,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
this.Controls.Add(this.buttonShowEarlier);
|
||||
this.Controls.Add(this.labelTotalAdjustment);
|
||||
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.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.KeyPreview = true;
|
||||
@ -160,7 +160,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
#endregion
|
||||
|
||||
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 buttonShowEarlier;
|
||||
private System.Windows.Forms.Label labelTotalAdjustment;
|
||||
|
@ -21,7 +21,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
timeUpDownAdjust.MaskedTextBox.Text = "000000000";
|
||||
|
||||
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;
|
||||
buttonShowLater.Text = Configuration.Settings.Language.ShowEarlierLater.ShowLater;
|
||||
radioButtonAllLines.Text = Configuration.Settings.Language.ShowEarlierLater.AllLines;
|
||||
|
20
src/Forms/SplitSubtitle.Designer.cs
generated
20
src/Forms/SplitSubtitle.Designer.cs
generated
@ -35,7 +35,7 @@
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
||||
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.buttonAdvanced = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
@ -94,14 +94,14 @@
|
||||
//
|
||||
this.openFileDialog1.FileName = "openFileDialog1";
|
||||
//
|
||||
// labelHoursMinSecsMilliSecs
|
||||
// labelHourMinSecMilliSecond
|
||||
//
|
||||
this.labelHoursMinSecsMilliSecs.AutoSize = true;
|
||||
this.labelHoursMinSecsMilliSecs.Location = new System.Drawing.Point(26, 52);
|
||||
this.labelHoursMinSecsMilliSecs.Name = "labelHoursMinSecsMilliSecs";
|
||||
this.labelHoursMinSecsMilliSecs.Size = new System.Drawing.Size(108, 13);
|
||||
this.labelHoursMinSecsMilliSecs.TabIndex = 22;
|
||||
this.labelHoursMinSecsMilliSecs.Text = "Hours:min:sec.msecs";
|
||||
this.labelHourMinSecMilliSecond.AutoSize = true;
|
||||
this.labelHourMinSecMilliSecond.Location = new System.Drawing.Point(26, 52);
|
||||
this.labelHourMinSecMilliSecond.Name = "labelHourMinSecMilliSecond";
|
||||
this.labelHourMinSecMilliSecond.Size = new System.Drawing.Size(108, 13);
|
||||
this.labelHourMinSecMilliSecond.TabIndex = 22;
|
||||
this.labelHourMinSecMilliSecond.Text = "Hours:min:sec.msecs";
|
||||
//
|
||||
// splitTimeUpDownAdjust
|
||||
//
|
||||
@ -132,7 +132,7 @@
|
||||
this.Controls.Add(this.buttonAdvanced);
|
||||
this.Controls.Add(this.buttonGetFrameRate);
|
||||
this.Controls.Add(this.splitTimeUpDownAdjust);
|
||||
this.Controls.Add(this.labelHoursMinSecsMilliSecs);
|
||||
this.Controls.Add(this.labelHourMinSecMilliSecond);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.buttonDone);
|
||||
@ -162,7 +162,7 @@
|
||||
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
||||
private System.Windows.Forms.SaveFileDialog saveFileDialog1;
|
||||
private Nikse.SubtitleEdit.Controls.TimeUpDown splitTimeUpDownAdjust;
|
||||
private System.Windows.Forms.Label labelHoursMinSecsMilliSecs;
|
||||
private System.Windows.Forms.Label labelHourMinSecMilliSecond;
|
||||
private System.Windows.Forms.Button buttonAdvanced;
|
||||
}
|
||||
}
|
@ -26,7 +26,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
buttonSplit.Text = Configuration.Settings.Language.SplitSubtitle.Split;
|
||||
buttonDone.Text = Configuration.Settings.Language.SplitSubtitle.Done;
|
||||
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;
|
||||
FixLargeFonts();
|
||||
}
|
||||
|
@ -298,7 +298,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>تأثير آلة كاتبة</Title>
|
||||
<TotalMilliseconds>:.مجموع ملي ثانية</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>:.تأخير في نهاية ملي ثانية</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>:.تأخير في نهاية ملي ثانية</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportPngXml>
|
||||
<Title>BDN XML/PNG تصدير</Title>
|
||||
|
@ -351,7 +351,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Ефект на пишеща машина</Title>
|
||||
<TotalMilliseconds>Общо милисекунди:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Задържане в края в милисек.:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Задържане в края в милисек.:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Експорт на личен текст формат</Title>
|
||||
|
@ -351,7 +351,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Efecte màquina d'escriure</Title>
|
||||
<TotalMilliseconds>Milisegons totals:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Retard final en milisegons:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Retard final en milisegons:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Exporta format de text personalitzat</Title>
|
||||
|
@ -355,7 +355,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Efekt Psací stroj</Title>
|
||||
<TotalMilliseconds>Celkem milisekund:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Zpoždění konce v milisekundách:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Zpoždění konce v milisekundách:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Exportovat vlastní textový formát</Title>
|
||||
|
@ -354,8 +354,8 @@ E-mail: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
</EffectKaraoke>
|
||||
<EffectTypewriter>
|
||||
<Title>Skrivemaskine effekt</Title>
|
||||
<TotalMilliseconds>Total millisecs.:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Slut forsinkelse i millisek.:</EndDelayInMillisecs>
|
||||
<TotalMilliseconds>Total milliseconds:</TotalMilliseconds>
|
||||
<EndDelayInMilliseconds>Slut forsinkelse i millisek.:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Eksporter bruger-defineret tekstformat</Title>
|
||||
|
@ -355,7 +355,7 @@ E-Mail: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Schreibmaschinen-Effekt</Title>
|
||||
<TotalMilliseconds>Gesamtdauer (ms):</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Endverzögerung (ms):</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Endverzögerung (ms):</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Benutzerdefiniertes Textformat exportieren</Title>
|
||||
|
@ -354,7 +354,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Εφέ γραφομηχανής</Title>
|
||||
<TotalMilliseconds>Συνολικά χιλ. δευτερολέπτου:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Καθυστέρηση λήξης σε χιλ. δευτερολέπτου:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Καθυστέρηση λήξης σε χιλ. δευτερολέπτου:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Εξαγωγή προσαρμοσμένης μορφής κειμένου</Title>
|
||||
|
@ -330,7 +330,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Efecto máquina de escribir</Title>
|
||||
<TotalMilliseconds>Total milliseg.:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Retraso del fin en miliseg.:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Retraso del fin en miliseg.:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Exportar a formato de texto personalizado</Title>
|
||||
|
@ -227,7 +227,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Efecto máquina de escribir</Title>
|
||||
<TotalMilliseconds>Total milliseg.:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Retraso del fin en miliseg.:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Retraso del fin en miliseg.:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportPngXml>
|
||||
<Title>Exportar BDN XML/PNG</Title>
|
||||
|
@ -342,7 +342,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Efecto máquina de escribir</Title>
|
||||
<TotalMilliseconds>Total de ms :</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Retraso del fin en ms :</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Retraso del fin en ms :</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Exportar formato de texto personalizado</Title>
|
||||
|
@ -350,7 +350,7 @@ Post@: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Idazmakina eragina</Title>
|
||||
<TotalMilliseconds>Guztira segmil.:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Amai atzerap. sm:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Amai atzerap. sm:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Esportatu norbere idazki heuskarria</Title>
|
||||
|
@ -228,7 +228,7 @@ http://soft98.ir
|
||||
<EffectTypewriter>
|
||||
<Title>اثر ماشین تحریر</Title>
|
||||
<TotalMilliseconds>تعداد میلی ثانیه:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>پایان تأخیر در میلی ثانیه:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>پایان تأخیر در میلی ثانیه:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportPngXml>
|
||||
<Title>BDN XML/PNG خروجی گرفتن به</Title>
|
||||
|
@ -351,7 +351,7 @@ Siirrytäänkö VLC media playerin kotisivulle?
|
||||
<EffectTypewriter>
|
||||
<Title>Kirjoituskone tehoste</Title>
|
||||
<TotalMilliseconds>Yhteensä ms:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Lopetusviive ms:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Lopetusviive ms:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Vie mukautetussa tekstimuodossa</Title>
|
||||
|
@ -349,13 +349,13 @@ Courriel : mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectKaraoke>
|
||||
<Title>Effet Karaoké</Title>
|
||||
<ChooseColor>Choisir couleur:</ChooseColor>
|
||||
<TotalMilliseconds>Millisecs. total:</TotalMilliseconds>
|
||||
<EndDelayInMilliseconds>Délai de fin en millisecs.:</EndDelayInMilliseconds>
|
||||
<TotalMilliseconds>Milliseconds total:</TotalMilliseconds>
|
||||
<EndDelayInMilliseconds>Délai de fin en milliseconds:</EndDelayInMilliseconds>
|
||||
</EffectKaraoke>
|
||||
<EffectTypewriter>
|
||||
<Title>Effet machine à écrire</Title>
|
||||
<TotalMilliseconds>Millisecs. total:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Délai de fin en millisecs.:</EndDelayInMillisecs>
|
||||
<TotalMilliseconds>Milliseconds total:</TotalMilliseconds>
|
||||
<EndDelayInMilliseconds>Délai de fin en milliseconds:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Exporter format de texte personnalisé</Title>
|
||||
|
@ -322,7 +322,7 @@ E-pošta:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Efekt pisaće mašine</Title>
|
||||
<TotalMilliseconds>Ukupno vrijeme:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Završno kašnjenje:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Završno kašnjenje:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Izvezi prilagođeni tekst format</Title>
|
||||
|
@ -351,7 +351,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Írógép hatás</Title>
|
||||
<TotalMilliseconds>Milliszekundum:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Befejezés késleltetés:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Befejezés késleltetés:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Egyéni szövegformátum exportálása</Title>
|
||||
|
@ -355,7 +355,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Effetto macchina da scrivere</Title>
|
||||
<TotalMilliseconds>Millisecondi totali:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Ritardo finale in millisecondi:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Ritardo finale in millisecondi:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Esporta formato testo personalizzato</Title>
|
||||
|
@ -293,7 +293,7 @@ C# ソース コードは https://github.com/SubtitleEdit/subtitleedit にあり
|
||||
<EffectTypewriter>
|
||||
<Title>タイプライター効果</Title>
|
||||
<TotalMilliseconds>総ミリ秒:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>末尾の遅延 (ミリ秒).:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>末尾の遅延 (ミリ秒).:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportPngXml>
|
||||
<Title>BDN XML/PNG のエクスポート</Title>
|
||||
|
@ -353,7 +353,7 @@ C# 코드는 https://github.com/SubtitleEdit/subtitleedit 에 있습니다.
|
||||
<EffectTypewriter>
|
||||
<Title>타자기 효과</Title>
|
||||
<TotalMilliseconds>총 시간 (밀리초):</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>끝지점 지연 (밀리초):</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>끝지점 지연 (밀리초):</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>사용자 지정 텍스트 형식으로 내보내기</Title>
|
||||
|
@ -355,7 +355,7 @@ E-mail: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Typemachine-effect</Title>
|
||||
<TotalMilliseconds>Totaal millisec.:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Eindvertraging in millisec.:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Eindvertraging in millisec.:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Eigen tekstformaat exporteren</Title>
|
||||
|
@ -355,7 +355,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Efekt maszyny do pisania</Title>
|
||||
<TotalMilliseconds>Ogółem ms:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Ostateczne opóźnienie w ms:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Ostateczne opóźnienie w ms:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Eksport do niestandardowego formatu tekstowego</Title>
|
||||
|
@ -355,7 +355,7 @@ E-mail: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Efeito máquina de escrever</Title>
|
||||
<TotalMilliseconds>Total milliseg.:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Atraso final em miliseg.:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Atraso final em miliseg.:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Exportar formato de texto personalizado</Title>
|
||||
|
@ -357,7 +357,7 @@ Email: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Efeito máquina de escrever</Title>
|
||||
<TotalMilliseconds>Total milisseg.:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Atraso final em milisseg.:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Atraso final em milisseg.:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Exportar formato de texto personalizado</Title>
|
||||
|
@ -351,7 +351,7 @@ E-mail la: nikse.dk @gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Efect mașină de scris</Title>
|
||||
<TotalMilliseconds>Total milisecunde:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Temporizare întârziată în milisecunde:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Temporizare întârziată în milisecunde:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Exportare format text particularizat</Title>
|
||||
|
@ -357,7 +357,7 @@ https://github.com/SubtitleEdit/subtitleedit
|
||||
<EffectTypewriter>
|
||||
<Title>Эффект Машинописи</Title>
|
||||
<TotalMilliseconds>Всего мс:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Конечная задержка в мс:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Конечная задержка в мс:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Экспорт текста в пользовательский формат</Title>
|
||||
|
@ -336,7 +336,7 @@ E-pošta: hdhawkhd@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Učinek pisalnega stroja</Title>
|
||||
<TotalMilliseconds>Skupaj milisek.:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Končaj zakasnitev v milisek.:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Končaj zakasnitev v milisek.:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Izvozi navaden format besedila</Title>
|
||||
|
@ -226,7 +226,7 @@
|
||||
<EffectTypewriter>
|
||||
<Title>Ефекат писаће машине</Title>
|
||||
<TotalMilliseconds>Укупно време:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Завршно кашњење:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Завршно кашњење:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportPngXml>
|
||||
<Title>Извоз BDN XML/PNG</Title>
|
||||
|
@ -293,7 +293,7 @@ E-pošta:mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Efekat pisaće mašine</Title>
|
||||
<TotalMilliseconds>Ukupno vreme:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Završno kašnjenje:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Završno kašnjenje:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportPngXml>
|
||||
<Title>Izvoz BDN XML/PNG</Title>
|
||||
|
@ -351,7 +351,7 @@ E-post: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<EffectTypewriter>
|
||||
<Title>Skrivmaskins effekt</Title>
|
||||
<TotalMilliseconds>Totalt millisek.:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>Slutlig fördröjning i millisek.:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>Slutlig fördröjning i millisek.:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>Exportera anpassade textformat</Title>
|
||||
|
@ -355,7 +355,7 @@
|
||||
<EffectTypewriter>
|
||||
<Title>เอฟเฟ็กต์แบบพิมพ์ดีด</Title>
|
||||
<TotalMilliseconds>มิลลิวินาทีรวม.:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>หน่วงเวลาเป็นมิลลิวินาที:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>หน่วงเวลาเป็นมิลลิวินาที:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>เอ็กซ์พอร์ตเป็นไฟล์ข้อความแบบกำหนดเอง</Title>
|
||||
|
@ -288,12 +288,12 @@ E-posta: mailto:nikse.dk@gmail.com</AboutText1>
|
||||
<Title>Karaoke efekti</Title>
|
||||
<ChooseColor>Renk seç:</ChooseColor>
|
||||
<TotalMilliseconds>Toplam milisaniye:</TotalMilliseconds>
|
||||
<EndDelayInMilliseconds>End delay in millisecs.:</EndDelayInMilliseconds>
|
||||
<EndDelayInMilliseconds>End delay in milliseconds:</EndDelayInMilliseconds>
|
||||
</EffectKaraoke>
|
||||
<EffectTypewriter>
|
||||
<Title>Daktilo efekti</Title>
|
||||
<TotalMilliseconds>Toplam milisaniye.:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>End delay in millisecs.:</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>End delay in milliseconds:</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportPngXml>
|
||||
<Title>BDN XML/PNG dışa aktar</Title>
|
||||
|
@ -311,7 +311,7 @@ Rất hân hạnh được chào đón.
|
||||
<EffectTypewriter>
|
||||
<Title>Hiệu ứng chữ viết</Title>
|
||||
<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>
|
||||
<ExportPngXml>
|
||||
<Title>Xuất ra BDN XML/PNG</Title>
|
||||
|
@ -354,7 +354,7 @@ C# 源代码可从 https://github.com/SubtitleEdit/subtitleedit 获得。
|
||||
<EffectTypewriter>
|
||||
<Title>打字机效果</Title>
|
||||
<TotalMilliseconds>总毫秒数:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>末尾延时(毫秒):</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>末尾延时(毫秒):</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>导出自定义文本格式</Title>
|
||||
|
@ -351,7 +351,7 @@ C# 原始碼可從 https://github.com/SubtitleEdit/subtitleedit 取得。
|
||||
<EffectTypewriter>
|
||||
<Title>打字機效果</Title>
|
||||
<TotalMilliseconds>總毫秒數:</TotalMilliseconds>
|
||||
<EndDelayInMillisecs>結尾延遲 (毫秒):</EndDelayInMillisecs>
|
||||
<EndDelayInMilliseconds>結尾延遲 (毫秒):</EndDelayInMilliseconds>
|
||||
</EffectTypewriter>
|
||||
<ExportCustomText>
|
||||
<Title>匯出自訂文字格式</Title>
|
||||
|
@ -284,7 +284,7 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
ScanFolder = "Scan folder...",
|
||||
ScanningFolder = "Scanning {0} and subfolders for subtitle files...",
|
||||
Recursive = "Include sub folders",
|
||||
SetMinMsBetweenSubtitles = "Set min. millisecs between subtitles",
|
||||
SetMinMsBetweenSubtitles = "Set min. milliseconds between subtitles",
|
||||
PlainText = "Plain text",
|
||||
};
|
||||
|
||||
@ -510,15 +510,15 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
{
|
||||
Title = "Karaoke effect",
|
||||
ChooseColor = "Choose color:",
|
||||
TotalMilliseconds = "Total millisecs.:",
|
||||
EndDelayInMilliseconds = "End delay in millisecs.:"
|
||||
TotalMilliseconds = "Total milliseconds:",
|
||||
EndDelayInMilliseconds = "End delay in milliseconds:"
|
||||
};
|
||||
|
||||
EffectTypewriter = new LanguageStructure.EffectTypewriter
|
||||
{
|
||||
Title = "Typewriter effect",
|
||||
TotalMilliseconds = "Total millisecs.:",
|
||||
EndDelayInMillisecs = "End delay in millisecs.:"
|
||||
TotalMilliseconds = "Total milliseconds:",
|
||||
EndDelayInMilliseconds = "End delay in milliseconds:"
|
||||
};
|
||||
|
||||
ExportCustomText = new LanguageStructure.ExportCustomText
|
||||
|
@ -1024,8 +1024,8 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
case "EffectTypewriter/TotalMilliseconds":
|
||||
language.EffectTypewriter.TotalMilliseconds = reader.Value;
|
||||
break;
|
||||
case "EffectTypewriter/EndDelayInMillisecs":
|
||||
language.EffectTypewriter.EndDelayInMillisecs = reader.Value;
|
||||
case "EffectTypewriter/EndDelayInMilliseconds":
|
||||
language.EffectTypewriter.EndDelayInMilliseconds = reader.Value;
|
||||
break;
|
||||
case "ExportCustomText/Title":
|
||||
language.ExportCustomText.Title = reader.Value;
|
||||
|
@ -406,7 +406,7 @@
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public string TotalMilliseconds { get; set; }
|
||||
public string EndDelayInMillisecs { get; set; }
|
||||
public string EndDelayInMilliseconds { get; set; }
|
||||
}
|
||||
|
||||
public class ExportCustomText
|
||||
|
@ -8,7 +8,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
|
||||
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 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
|
||||
{
|
||||
@ -62,7 +62,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
|
||||
if (line.IndexOf(':') > 0)
|
||||
{
|
||||
var match = regexTimeCode.Match(s);
|
||||
var match1DigitMillisecs = regex1DigitMillisecs.Match(s);
|
||||
var match1DigitMilliseconds = regex1DigitMilliseconds.Match(s);
|
||||
if (s.Length > 31 && match.Success)
|
||||
{
|
||||
s = s.Substring(5, match.Length - 5).TrimStart();
|
||||
@ -91,9 +91,9 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
|
||||
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(" ", string.Empty);
|
||||
string[] parts = s.Split(':');
|
||||
@ -111,7 +111,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
|
||||
milliseconds = int.Parse(parts[7]) * 10;
|
||||
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);
|
||||
|
||||
lastParagraph = new Paragraph(start, end, text);
|
||||
|
@ -1091,7 +1091,7 @@ namespace Nikse.SubtitleEdit.Logic.VideoFormats
|
||||
ref double frameRate,
|
||||
ref int pixelWidth,
|
||||
ref int pixelHeight,
|
||||
ref double millisecsDuration,
|
||||
ref double millisecondDuration,
|
||||
ref string videoCodec)
|
||||
{
|
||||
byte b;
|
||||
@ -1173,7 +1173,7 @@ namespace Nikse.SubtitleEdit.Logic.VideoFormats
|
||||
pixelHeight = _pixelHeight;
|
||||
frameRate = _frameRate;
|
||||
hasConstantFrameRate = _frameRate > 0;
|
||||
millisecsDuration = _durationInMilliseconds;
|
||||
millisecondDuration = _durationInMilliseconds;
|
||||
videoCodec = _videoCodecId;
|
||||
}
|
||||
|
||||
|
@ -380,13 +380,13 @@ alpha: 100%
|
||||
# Smoothing for very blocky images (use OLD for no filtering)
|
||||
smooth: OFF
|
||||
|
||||
# In millisecs
|
||||
# In milliseconds
|
||||
fadein/out: 50, 50
|
||||
|
||||
# Force subtitle placement relative to (org.x, org.y)
|
||||
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.
|
||||
time offset: 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user