mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Added "Chars/sec" info to textbox in main window
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@170 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
aa49241848
commit
3e74b7cc9f
13
src/Forms/Main.Designer.cs
generated
13
src/Forms/Main.Designer.cs
generated
@ -301,6 +301,7 @@
|
|||||||
this.mergeWithNextToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.mergeWithNextToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.toolStripMenuItemWaveFormPlaySelection = new System.Windows.Forms.ToolStripMenuItem();
|
this.toolStripMenuItemWaveFormPlaySelection = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.labelCharactersPerSecond = new System.Windows.Forms.Label();
|
||||||
this.statusStrip1.SuspendLayout();
|
this.statusStrip1.SuspendLayout();
|
||||||
this.toolStrip1.SuspendLayout();
|
this.toolStrip1.SuspendLayout();
|
||||||
this.menuStrip1.SuspendLayout();
|
this.menuStrip1.SuspendLayout();
|
||||||
@ -1331,6 +1332,7 @@
|
|||||||
//
|
//
|
||||||
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.groupBox1.Controls.Add(this.labelCharactersPerSecond);
|
||||||
this.groupBox1.Controls.Add(this.labelAutoDuration);
|
this.groupBox1.Controls.Add(this.labelAutoDuration);
|
||||||
this.groupBox1.Controls.Add(this.panelSingleLine);
|
this.groupBox1.Controls.Add(this.panelSingleLine);
|
||||||
this.groupBox1.Controls.Add(this.labelTextLineTotal);
|
this.groupBox1.Controls.Add(this.labelTextLineTotal);
|
||||||
@ -2948,6 +2950,16 @@
|
|||||||
this.toolStripMenuItemWaveFormPlaySelection.Text = "Play selection";
|
this.toolStripMenuItemWaveFormPlaySelection.Text = "Play selection";
|
||||||
this.toolStripMenuItemWaveFormPlaySelection.Click += new System.EventHandler(this.toolStripMenuItemWaveFormPlaySelection_Click);
|
this.toolStripMenuItemWaveFormPlaySelection.Click += new System.EventHandler(this.toolStripMenuItemWaveFormPlaySelection_Click);
|
||||||
//
|
//
|
||||||
|
// labelCharactersPerSecond
|
||||||
|
//
|
||||||
|
this.labelCharactersPerSecond.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.labelCharactersPerSecond.Location = new System.Drawing.Point(1170, 12);
|
||||||
|
this.labelCharactersPerSecond.Name = "labelCharactersPerSecond";
|
||||||
|
this.labelCharactersPerSecond.Size = new System.Drawing.Size(177, 13);
|
||||||
|
this.labelCharactersPerSecond.TabIndex = 31;
|
||||||
|
this.labelCharactersPerSecond.Text = "labelCharactersPerSecond";
|
||||||
|
this.labelCharactersPerSecond.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
//
|
||||||
// Main
|
// Main
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
@ -3288,6 +3300,7 @@
|
|||||||
private System.Windows.Forms.ToolStripMenuItem underlineToolStripMenuItem1;
|
private System.Windows.Forms.ToolStripMenuItem underlineToolStripMenuItem1;
|
||||||
private System.Windows.Forms.ToolStripMenuItem colorToolStripMenuItem1;
|
private System.Windows.Forms.ToolStripMenuItem colorToolStripMenuItem1;
|
||||||
private System.Windows.Forms.ToolStripMenuItem fontNameToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem fontNameToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.Label labelCharactersPerSecond;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -140,6 +140,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
SetLanguage(Configuration.Settings.General.Language);
|
SetLanguage(Configuration.Settings.General.Language);
|
||||||
|
|
||||||
labelTextLineLengths.Text = string.Empty;
|
labelTextLineLengths.Text = string.Empty;
|
||||||
|
labelCharactersPerSecond.Text = string.Empty;
|
||||||
labelTextLineTotal.Text = string.Empty;
|
labelTextLineTotal.Text = string.Empty;
|
||||||
labelStartTimeWarning.Text = string.Empty;
|
labelStartTimeWarning.Text = string.Empty;
|
||||||
labelDurationWarning.Text = string.Empty;
|
labelDurationWarning.Text = string.Empty;
|
||||||
@ -1309,8 +1310,9 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
textBoxListViewText.Text = string.Empty;
|
textBoxListViewText.Text = string.Empty;
|
||||||
textBoxListViewText.Enabled = false;
|
textBoxListViewText.Enabled = false;
|
||||||
labelTextLineLengths.Text = string.Empty;
|
labelTextLineLengths.Text = string.Empty;
|
||||||
|
labelCharactersPerSecond.Text = string.Empty;
|
||||||
labelTextLineTotal.Text = string.Empty;
|
labelTextLineTotal.Text = string.Empty;
|
||||||
|
|
||||||
if (mediaPlayer.VideoPlayer != null)
|
if (mediaPlayer.VideoPlayer != null)
|
||||||
{
|
{
|
||||||
mediaPlayer.VideoPlayer.DisposeVideoPlayer();
|
mediaPlayer.VideoPlayer.DisposeVideoPlayer();
|
||||||
@ -3168,12 +3170,11 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
_subtitleListViewIndex = firstSelectedIndex;
|
_subtitleListViewIndex = firstSelectedIndex;
|
||||||
_oldSelectedParagraph = new Paragraph(p);
|
_oldSelectedParagraph = new Paragraph(p);
|
||||||
|
|
||||||
UpdateListViewTextInfo(p.Text);
|
UpdateListViewTextInfo(p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void SubtitleListview1_SelectedIndexChanged(object sender, EventArgs e)
|
private void SubtitleListview1_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
SubtitleListView1SelectedIndexChange();
|
SubtitleListView1SelectedIndexChange();
|
||||||
@ -3187,8 +3188,33 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
toolStripSelected.Text = string.Format(_language.XLinesSelected, SubtitleListview1.SelectedItems.Count);
|
toolStripSelected.Text = string.Format(_language.XLinesSelected, SubtitleListview1.SelectedItems.Count);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UpdateListViewTextInfo(string text)
|
private void UpdateListViewTextCharactersPerSeconds(Paragraph paragraph)
|
||||||
{
|
{
|
||||||
|
string s = Utilities.RemoveHtmlTags(paragraph.Text).Replace(" ", string.Empty).Replace(Environment.NewLine, string.Empty);
|
||||||
|
if (paragraph.Duration.TotalSeconds > 0)
|
||||||
|
{
|
||||||
|
double charactersPerSecond = s.Length / paragraph.Duration.TotalSeconds;
|
||||||
|
if (charactersPerSecond > Configuration.Settings.General.SubtitleMaximumCharactersPerSeconds + 7)
|
||||||
|
labelCharactersPerSecond.ForeColor = System.Drawing.Color.Red;
|
||||||
|
else if (charactersPerSecond > Configuration.Settings.General.SubtitleMaximumCharactersPerSeconds)
|
||||||
|
labelCharactersPerSecond.ForeColor = System.Drawing.Color.Orange;
|
||||||
|
else
|
||||||
|
labelCharactersPerSecond.ForeColor = System.Drawing.Color.Black;
|
||||||
|
labelCharactersPerSecond.Text = string.Format(_language.CharactersPerSecond, charactersPerSecond);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
labelCharactersPerSecond.ForeColor = System.Drawing.Color.Red;
|
||||||
|
labelCharactersPerSecond.Text = string.Format(_language.CharactersPerSecond, _languageGeneral.NotAvailable);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void UpdateListViewTextInfo(Paragraph paragraph)
|
||||||
|
{
|
||||||
|
if (paragraph == null)
|
||||||
|
return;
|
||||||
|
|
||||||
|
string text = paragraph.Text;
|
||||||
labelTextLineLengths.Text = _languageGeneral.SingleLineLengths;
|
labelTextLineLengths.Text = _languageGeneral.SingleLineLengths;
|
||||||
panelSingleLine.Left = labelTextLineLengths.Left + labelTextLineLengths.Width - 6;
|
panelSingleLine.Left = labelTextLineLengths.Left + labelTextLineLengths.Width - 6;
|
||||||
Utilities.DisplayLineLengths(panelSingleLine, text);
|
Utilities.DisplayLineLengths(panelSingleLine, text);
|
||||||
@ -3209,6 +3235,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
labelTextLineTotal.ForeColor = System.Drawing.Color.Red;
|
labelTextLineTotal.ForeColor = System.Drawing.Color.Red;
|
||||||
labelTextLineTotal.Text = string.Format(_languageGeneral.TotalLengthXSplitLine, s.Length);
|
labelTextLineTotal.Text = string.Format(_languageGeneral.TotalLengthXSplitLine, s.Length);
|
||||||
}
|
}
|
||||||
|
UpdateListViewTextCharactersPerSeconds(paragraph);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ButtonNextClick(object sender, EventArgs e)
|
private void ButtonNextClick(object sender, EventArgs e)
|
||||||
@ -3280,10 +3307,10 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
if (_subtitleListViewIndex >= 0)
|
if (_subtitleListViewIndex >= 0)
|
||||||
{
|
{
|
||||||
string text = textBoxListViewText.Text.TrimEnd();
|
string text = textBoxListViewText.Text.TrimEnd();
|
||||||
UpdateListViewTextInfo(text);
|
|
||||||
|
|
||||||
// update _subtitle + listview
|
// update _subtitle + listview
|
||||||
_subtitle.Paragraphs[_subtitleListViewIndex].Text = text;
|
_subtitle.Paragraphs[_subtitleListViewIndex].Text = text;
|
||||||
|
UpdateListViewTextInfo(_subtitle.Paragraphs[_subtitleListViewIndex]);
|
||||||
SubtitleListview1.SetText(_subtitleListViewIndex, text);
|
SubtitleListview1.SetText(_subtitleListViewIndex, text);
|
||||||
_change = true;
|
_change = true;
|
||||||
}
|
}
|
||||||
@ -3478,7 +3505,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
{
|
{
|
||||||
labelDurationWarning.Text = _languageGeneral.Negative;
|
labelDurationWarning.Text = _languageGeneral.Negative;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3492,6 +3519,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
if (currentParagraph != null)
|
if (currentParagraph != null)
|
||||||
{
|
{
|
||||||
UpdateOverlapErrors(timeUpDownStartTime.TimeCode);
|
UpdateOverlapErrors(timeUpDownStartTime.TimeCode);
|
||||||
|
UpdateListViewTextCharactersPerSeconds(currentParagraph);
|
||||||
|
|
||||||
// update _subtitle + listview
|
// update _subtitle + listview
|
||||||
currentParagraph.EndTime.TotalMilliseconds = currentParagraph.StartTime.TotalMilliseconds + ((double)numericUpDownDuration.Value * 1000.0);
|
currentParagraph.EndTime.TotalMilliseconds = currentParagraph.StartTime.TotalMilliseconds + ((double)numericUpDownDuration.Value * 1000.0);
|
||||||
@ -3531,6 +3559,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
numericUpDownDuration.ValueChanged += NumericUpDownDurationValueChanged;
|
numericUpDownDuration.ValueChanged += NumericUpDownDurationValueChanged;
|
||||||
|
|
||||||
UpdateOverlapErrors(timeUpDownStartTime.TimeCode);
|
UpdateOverlapErrors(timeUpDownStartTime.TimeCode);
|
||||||
|
UpdateListViewTextCharactersPerSeconds(p);
|
||||||
if (_subtitle != null && _subtitle.Paragraphs.Count > 0)
|
if (_subtitle != null && _subtitle.Paragraphs.Count > 0)
|
||||||
textBoxListViewText.Enabled = true;
|
textBoxListViewText.Enabled = true;
|
||||||
}
|
}
|
||||||
|
@ -291,47 +291,47 @@
|
|||||||
<data name="toolStripButtonReplace.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="toolStripButtonReplace.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAlySURBVFhH1VcJVJNXGo1TrTsqkLDpBEERAgjIIpsEERGE
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAlySURBVFhH1VcJVJNXGo1TrTsokLDpBEERAgjIIpsEERGE
|
||||||
iEIwQEIICcEIAgJqFdFAhVYEbUUtIE4pbbWiUJQRxaUFNxaJAsqAMlIGKnVsK1ZLFcpy+17r1lar9vTM
|
iEIwQEIICcEIAgKuiAYstCJqK2gRcUppqxWFoowoLi2olUWigGVAGSkDlTq2FatFhbLcvmfV2lar9vTM
|
||||||
OfOfc8+/5Hvv3u9+33v5fwbj//FwXH1u/P9M97To1pHTIsrC2KGlO7RDSlrNZCUwkhTBNKwYY5cUf8EU
|
OfOfc8+/5Hvv3u9+33v5fwbj//FwWvX5+P+Z7qkxrSOnRpaFs8NKs3VCS1rNZSUwlhTBLLwYYxcXf8kU
|
||||||
Ht5tICld5rh6z18vyiD8sNtMaTG84pRD6zIasSu/C5VH7uNyBVBf2Y+ysjt4J68doaHV/cZhh8EWlS7+
|
HtljKCld6rRq718vyjDiiPsMaTG845VD6zIbsSu/C5VH7+NyBVBf2Y+ystt4O68dYWHV/SbhR8AWlS76
|
||||||
S5yxtlaNMJYUHjAPLULaOy04trcbH++8hoTVJZBKd4I7VwF/PyV27LiAM4e+RmcD0FR9H7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WunosiRv1XBc2hDgsiPC3xP2O02iq
|
wIxgJoEdgdPrr73mp6Wl8QWLxeq2m2UPK3Nj+HrORvxSAaZM1gVLQyOOxI16rgsbQh3nRwZY4X7HGTRV
|
||||||
VA58e0yBmhCG9GHm1EK6w9GsH5FbU2ICN4KFBH4ECZpqak1MpnqfjaUZrMyNwOe5wcxYH1osjeMP3Xu2
|
Kge+O65ATShD+ihzaiHd4WjWj8ltKDGBO8ECAn+CRC01tSYmU6PP1soc1hbG4PPcYW5iAG2W5olH7j1b
|
||||||
Bherv1ObcCR94b87PvTPvJbtrffQMmo9FTCJgDaUPoEJgRWBPYErwQKCRQQiKmL8+FGNulpM6DOZt6dM
|
g6v136lNOJqx4N8dHwRsvZrjo//IMmo9FTCRgDaUAYEpgTWBA4EbwXyChQQiKmL8+FGNetpMGDCZtyZP
|
||||||
1rqnR67Jcw4BLcOzj9ksxszn/PQ38nw4weiHGdD60zJMJZhBYE5gSUAdocuOlsRuzJgxPlO0mRUaLI0i
|
0r6rT67Jcw4BLcOzj1ksxozn/PQ38nw4wehHGdD60zJMIZhOYEFgRUAdocuOlsR+zJgxvpN1mBWaLM0i
|
||||||
1tixNIaOf3EjPlfhL4MpqCO0J2g9qTP0I5V+FVHQa9or9BWc/k7jaAKPj58AtCToIyYfehYAAAAASUVO
|
1tixNIaOf3EjPlfhz4MpqCO0J2g9qTP0I5V+FVHQa9or9BWc/k7jaAJPjp8Ar13oIUjaZDAAAAAASUVO
|
||||||
RK5CYII=
|
RK5CYII=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
|
@ -636,6 +636,7 @@ namespace Nikse.SubtitleEdit.Logic
|
|||||||
BeforeInsertSubtitleAtVideoPosition = "Before insert subtitle at video position",
|
BeforeInsertSubtitleAtVideoPosition = "Before insert subtitle at video position",
|
||||||
BeforeSetStartTimeAndOffsetTheRest = "Before set start time and offset the rest",
|
BeforeSetStartTimeAndOffsetTheRest = "Before set start time and offset the rest",
|
||||||
ContinueWithCurrentSpellCheck = "Continue with current spell check?",
|
ContinueWithCurrentSpellCheck = "Continue with current spell check?",
|
||||||
|
CharactersPerSecond = "Chars/sec: {0:0.00}",
|
||||||
|
|
||||||
Menu = new LanguageStructure.Main.MainMenu
|
Menu = new LanguageStructure.Main.MainMenu
|
||||||
{
|
{
|
||||||
|
@ -569,6 +569,7 @@
|
|||||||
public string BeforeInsertSubtitleAtVideoPosition { get; set; }
|
public string BeforeInsertSubtitleAtVideoPosition { get; set; }
|
||||||
public string BeforeSetStartTimeAndOffsetTheRest { get; set; }
|
public string BeforeSetStartTimeAndOffsetTheRest { get; set; }
|
||||||
public string ContinueWithCurrentSpellCheck { get; set; }
|
public string ContinueWithCurrentSpellCheck { get; set; }
|
||||||
|
public string CharactersPerSecond { get; set; }
|
||||||
|
|
||||||
public class MainMenu
|
public class MainMenu
|
||||||
{
|
{
|
||||||
|
@ -220,6 +220,7 @@ namespace Nikse.SubtitleEdit.Logic
|
|||||||
public bool StartInSourceView { get; set; }
|
public bool StartInSourceView { get; set; }
|
||||||
public bool RemoveBlankLinesWhenOpening { get; set; }
|
public bool RemoveBlankLinesWhenOpening { get; set; }
|
||||||
public int SubtitleLineMaximumLength { get; set; }
|
public int SubtitleLineMaximumLength { get; set; }
|
||||||
|
public int SubtitleMaximumCharactersPerSeconds { get; set; }
|
||||||
public string SpellCheckLanguage { get; set; }
|
public string SpellCheckLanguage { get; set; }
|
||||||
public string VideoPlayer { get; set; }
|
public string VideoPlayer { get; set; }
|
||||||
public int VideoPlayerDefaultVolume { get; set; }
|
public int VideoPlayerDefaultVolume { get; set; }
|
||||||
@ -263,6 +264,7 @@ namespace Nikse.SubtitleEdit.Logic
|
|||||||
StartLoadLastFile = true;
|
StartLoadLastFile = true;
|
||||||
StartRememberPositionAndSize = true;
|
StartRememberPositionAndSize = true;
|
||||||
SubtitleLineMaximumLength = 65;
|
SubtitleLineMaximumLength = 65;
|
||||||
|
SubtitleMaximumCharactersPerSeconds = 25;
|
||||||
SpellCheckLanguage = null;
|
SpellCheckLanguage = null;
|
||||||
VideoPlayer = string.Empty;
|
VideoPlayer = string.Empty;
|
||||||
VideoPlayerDefaultVolume = 50;
|
VideoPlayerDefaultVolume = 50;
|
||||||
@ -547,6 +549,9 @@ namespace Nikse.SubtitleEdit.Logic
|
|||||||
subNode = node.SelectSingleNode("SubtitleLineMaximumLength");
|
subNode = node.SelectSingleNode("SubtitleLineMaximumLength");
|
||||||
if (subNode != null)
|
if (subNode != null)
|
||||||
settings.General.SubtitleLineMaximumLength = Convert.ToInt32(subNode.InnerText);
|
settings.General.SubtitleLineMaximumLength = Convert.ToInt32(subNode.InnerText);
|
||||||
|
subNode = node.SelectSingleNode("SubtitleMaximumCharactersPerSeconds");
|
||||||
|
if (subNode != null)
|
||||||
|
settings.General.SubtitleMaximumCharactersPerSeconds = Convert.ToInt32(subNode.InnerText);
|
||||||
subNode = node.SelectSingleNode("SpellCheckLanguage");
|
subNode = node.SelectSingleNode("SpellCheckLanguage");
|
||||||
if (subNode != null)
|
if (subNode != null)
|
||||||
settings.General.SpellCheckLanguage = subNode.InnerText;
|
settings.General.SpellCheckLanguage = subNode.InnerText;
|
||||||
@ -853,6 +858,7 @@ namespace Nikse.SubtitleEdit.Logic
|
|||||||
textWriter.WriteElementString("StartInSourceView", settings.General.StartInSourceView.ToString());
|
textWriter.WriteElementString("StartInSourceView", settings.General.StartInSourceView.ToString());
|
||||||
textWriter.WriteElementString("RemoveBlankLinesWhenOpening", settings.General.RemoveBlankLinesWhenOpening.ToString());
|
textWriter.WriteElementString("RemoveBlankLinesWhenOpening", settings.General.RemoveBlankLinesWhenOpening.ToString());
|
||||||
textWriter.WriteElementString("SubtitleLineMaximumLength", settings.General.SubtitleLineMaximumLength.ToString());
|
textWriter.WriteElementString("SubtitleLineMaximumLength", settings.General.SubtitleLineMaximumLength.ToString());
|
||||||
|
textWriter.WriteElementString("SubtitleMaximumCharactersPerSeconds", settings.General.SubtitleMaximumCharactersPerSeconds.ToString());
|
||||||
textWriter.WriteElementString("SpellCheckLanguage", settings.General.SpellCheckLanguage);
|
textWriter.WriteElementString("SpellCheckLanguage", settings.General.SpellCheckLanguage);
|
||||||
textWriter.WriteElementString("VideoPlayer", settings.General.VideoPlayer);
|
textWriter.WriteElementString("VideoPlayer", settings.General.VideoPlayer);
|
||||||
textWriter.WriteElementString("VideoPlayerDefaultVolume", settings.General.VideoPlayerDefaultVolume.ToString());
|
textWriter.WriteElementString("VideoPlayerDefaultVolume", settings.General.VideoPlayerDefaultVolume.ToString());
|
||||||
|
@ -710,6 +710,7 @@ Fortsæt?</SubtitleAppendPrompt>
|
|||||||
<BeforeInsertSubtitleAtVideoPosition>Før ny tekst ved aktuel video position</BeforeInsertSubtitleAtVideoPosition>
|
<BeforeInsertSubtitleAtVideoPosition>Før ny tekst ved aktuel video position</BeforeInsertSubtitleAtVideoPosition>
|
||||||
<BeforeSetStartTimeAndOffsetTheRest>Før sæt start tid og juster resten</BeforeSetStartTimeAndOffsetTheRest>
|
<BeforeSetStartTimeAndOffsetTheRest>Før sæt start tid og juster resten</BeforeSetStartTimeAndOffsetTheRest>
|
||||||
<ContinueWithCurrentSpellCheck>Fortsæt med aktuelle stavekontrol?</ContinueWithCurrentSpellCheck>
|
<ContinueWithCurrentSpellCheck>Fortsæt med aktuelle stavekontrol?</ContinueWithCurrentSpellCheck>
|
||||||
|
<CharactersPerSecond>Bogstav/sek: {0:0.00}</CharactersPerSecond>
|
||||||
</Main>
|
</Main>
|
||||||
<MatroskaSubtitleChooser>
|
<MatroskaSubtitleChooser>
|
||||||
<Title>Vælg undertekst fra Matroska fil</Title>
|
<Title>Vælg undertekst fra Matroska fil</Title>
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user