Added optional toolbar icon for "Remove text for HI" - thx Whisker72 :)

Fix #1851
This commit is contained in:
Nikolaj Olsson 2016-07-24 08:46:58 +02:00
parent 2dbce2f87a
commit e96f47248f
12 changed files with 318 additions and 201 deletions

View File

@ -1047,6 +1047,7 @@ Note: Do check free disk space.</WaveFileMalformed>
<Find>Find</Find>
<Replace>Replace</Replace>
<FixCommonErrors>Fix common errors</FixCommonErrors>
<RemoveTextForHi>Remove text for hearing impaired</RemoveTextForHi>
<VisualSync>Visual sync</VisualSync>
<SpellCheck>Spell check</SpellCheck>
<Settings>Settings</Settings>
@ -1799,6 +1800,7 @@ can edit in same subtitle file (collaboration)</Information>
<FirstPlusX>First + {0}</FirstPlusX>
<LastMinusX>Last - {0}</LastMinusX>
<FixCommonerrors>Fix common errors</FixCommonerrors>
<RemoveTextForHi>Remove text for HI</RemoveTextForHi>
<MergeLinesShorterThan>Unbreak subtitles shorter than</MergeLinesShorterThan>
<MusicSymbol>Music symbol</MusicSymbol>
<MusicSymbolsToReplace>Music symbols to replace (separate by space)</MusicSymbolsToReplace>

View File

@ -1546,6 +1546,7 @@ namespace Nikse.SubtitleEdit.Core
Find = "Find",
Replace = "Replace",
FixCommonErrors = "Fix common errors",
RemoveTextForHi = "Remove text for hearing impaired",
VisualSync = "Visual sync",
SpellCheck = "Spell check",
Settings = "Settings",
@ -2081,6 +2082,7 @@ can edit in same subtitle file (collaboration)",
FirstPlusX = "First + {0}",
LastMinusX = "Last - {0}",
FixCommonerrors = "Fix common errors",
RemoveTextForHi = "Remove text for HI",
MergeLinesShorterThan = "Unbreak subtitles shorter than",
MusicSymbol = "Music symbol",
MusicSymbolsToReplace = "Music symbols to replace (separate by space)",

View File

@ -3556,6 +3556,9 @@ namespace Nikse.SubtitleEdit.Core
case "Main/Menu/ToolBar/FixCommonErrors":
language.Main.Menu.ToolBar.FixCommonErrors = reader.Value;
break;
case "Main/Menu/ToolBar/RemoveTextForHi":
language.Main.Menu.ToolBar.RemoveTextForHi = reader.Value;
break;
case "Main/Menu/ToolBar/VisualSync":
language.Main.Menu.ToolBar.VisualSync = reader.Value;
break;
@ -4846,6 +4849,9 @@ namespace Nikse.SubtitleEdit.Core
case "Settings/FixCommonerrors":
language.Settings.FixCommonerrors = reader.Value;
break;
case "Settings/RemoveTextForHi":
language.Settings.RemoveTextForHi = reader.Value;
break;
case "Settings/MergeLinesShorterThan":
language.Settings.MergeLinesShorterThan = reader.Value;
break;

View File

@ -1410,6 +1410,7 @@
public string Find { get; set; }
public string Replace { get; set; }
public string FixCommonErrors { get; set; }
public string RemoveTextForHi { get; set; }
public string VisualSync { get; set; }
public string SpellCheck { get; set; }
public string Settings { get; set; }
@ -1961,6 +1962,7 @@
public string FirstPlusX { get; set; }
public string LastMinusX { get; set; }
public string FixCommonerrors { get; set; }
public string RemoveTextForHi { get; set; }
public string MergeLinesShorterThan { get; set; }
public string MusicSymbol { get; set; }
public string MusicSymbolsToReplace { get; set; }

View File

@ -467,6 +467,7 @@ namespace Nikse.SubtitleEdit.Core
public bool ShowToolbarFind { get; set; }
public bool ShowToolbarReplace { get; set; }
public bool ShowToolbarFixCommonErrors { get; set; }
public bool ShowToolbarRemoveTextForHi { get; set; }
public bool ShowToolbarVisualSync { get; set; }
public bool ShowToolbarSpellCheck { get; set; }
public bool ShowToolbarSettings { get; set; }
@ -1272,6 +1273,9 @@ namespace Nikse.SubtitleEdit.Core
subNode = node.SelectSingleNode("ShowToolbarFixCommonErrors");
if (subNode != null)
settings.General.ShowToolbarFixCommonErrors = Convert.ToBoolean(subNode.InnerText);
subNode = node.SelectSingleNode("ShowToolbarRemoveTextForHi");
if (subNode != null)
settings.General.ShowToolbarRemoveTextForHi = Convert.ToBoolean(subNode.InnerText);
subNode = node.SelectSingleNode("ShowToolbarVisualSync");
if (subNode != null)
settings.General.ShowToolbarVisualSync = Convert.ToBoolean(subNode.InnerText);
@ -2863,6 +2867,7 @@ namespace Nikse.SubtitleEdit.Core
textWriter.WriteElementString("ShowToolbarFind", settings.General.ShowToolbarFind.ToString());
textWriter.WriteElementString("ShowToolbarReplace", settings.General.ShowToolbarReplace.ToString());
textWriter.WriteElementString("ShowToolbarFixCommonErrors", settings.General.ShowToolbarFixCommonErrors.ToString());
textWriter.WriteElementString("ShowToolbarRemoveTextForHi", settings.General.ShowToolbarRemoveTextForHi.ToString());
textWriter.WriteElementString("ShowToolbarVisualSync", settings.General.ShowToolbarVisualSync.ToString());
textWriter.WriteElementString("ShowToolbarSpellCheck", settings.General.ShowToolbarSpellCheck.ToString());
textWriter.WriteElementString("ShowToolbarSettings", settings.General.ShowToolbarSettings.ToString());

View File

@ -53,6 +53,7 @@
this.toolStripButtonReplace = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparatorFixSyncSpell = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButtonFixCommonErrors = new System.Windows.Forms.ToolStripButton();
this.toolStripButtonRemoveTextForHi = new System.Windows.Forms.ToolStripButton();
this.toolStripButtonVisualSync = new System.Windows.Forms.ToolStripButton();
this.toolStripButtonSpellCheck = new System.Windows.Forms.ToolStripButton();
this.toolStripButtonSettings = new System.Windows.Forms.ToolStripButton();
@ -297,6 +298,7 @@
this.colorDialog1 = new System.Windows.Forms.ColorDialog();
this.fontDialog1 = new System.Windows.Forms.FontDialog();
this.groupBoxVideo = new System.Windows.Forms.GroupBox();
this.audioVisualizer = new Nikse.SubtitleEdit.Controls.AudioVisualizer();
this.checkBoxSyncListViewWithVideoWhilePlaying = new System.Windows.Forms.CheckBox();
this.labelVideoInfo = new System.Windows.Forms.Label();
this.trackBarWaveformPosition = new System.Windows.Forms.TrackBar();
@ -336,6 +338,7 @@
this.buttonPlayCurrent = new System.Windows.Forms.Button();
this.buttonPlayNext = new System.Windows.Forms.Button();
this.tabPageCreate = new System.Windows.Forms.TabPage();
this.timeUpDownVideoPosition = new Nikse.SubtitleEdit.Controls.TimeUpDown();
this.buttonGotoSub = new System.Windows.Forms.Button();
this.buttonBeforeText = new System.Windows.Forms.Button();
this.buttonSetEnd = new System.Windows.Forms.Button();
@ -372,6 +375,7 @@
this.labelVideoPosition2 = new System.Windows.Forms.Label();
this.buttonAdjustGoToPosAndPause = new System.Windows.Forms.Button();
this.buttonAdjustPlayBefore = new System.Windows.Forms.Button();
this.timeUpDownVideoPositionAdjust = new Nikse.SubtitleEdit.Controls.TimeUpDown();
this.ShowSubtitleTimer = new System.Windows.Forms.Timer(this.components);
this.timerAutoDuration = new System.Windows.Forms.Timer(this.components);
this.timerAutoContinue = new System.Windows.Forms.Timer(this.components);
@ -399,6 +403,7 @@
this.tabControlSubtitle = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.splitContainerListViewAndText = new System.Windows.Forms.SplitContainer();
this.SubtitleListview1 = new Nikse.SubtitleEdit.Controls.SubtitleListView();
this.groupBoxEdit = new System.Windows.Forms.GroupBox();
this.labelSingleLine = new System.Windows.Forms.Label();
this.labelAlternateSingleLine = new System.Windows.Forms.Label();
@ -410,6 +415,7 @@
this.labelTextAlternateLineLengths = new System.Windows.Forms.Label();
this.labelAlternateText = new System.Windows.Forms.Label();
this.labelText = new System.Windows.Forms.Label();
this.textBoxListViewTextAlternate = new Nikse.SubtitleEdit.Controls.SETextBox();
this.contextMenuStripTextBoxListView = new System.Windows.Forms.ContextMenuStrip(this.components);
this.toolStripMenuItemWebVttVoice = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparatorWebVTT = new System.Windows.Forms.ToolStripSeparator();
@ -443,28 +449,23 @@
this.labelTextLineTotal = new System.Windows.Forms.Label();
this.labelCharactersPerSecond = new System.Windows.Forms.Label();
this.buttonUnBreak = new System.Windows.Forms.Button();
this.timeUpDownStartTime = new Nikse.SubtitleEdit.Controls.TimeUpDown();
this.numericUpDownDuration = new System.Windows.Forms.NumericUpDown();
this.buttonPrevious = new System.Windows.Forms.Button();
this.buttonNext = new System.Windows.Forms.Button();
this.labelStartTime = new System.Windows.Forms.Label();
this.textBoxListViewText = new Nikse.SubtitleEdit.Controls.SETextBox();
this.labelDuration = new System.Windows.Forms.Label();
this.labelAutoDuration = new System.Windows.Forms.Label();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.textBoxSource = new System.Windows.Forms.TextBox();
this.panelVideoPlayer = new System.Windows.Forms.Panel();
this.mediaPlayer = new Nikse.SubtitleEdit.Controls.VideoPlayerContainer();
this.contextMenuStripEmpty = new System.Windows.Forms.ContextMenuStrip(this.components);
this.insertLineToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.imageListPlayRate = new System.Windows.Forms.ImageList(this.components);
this.timerTextUndo = new System.Windows.Forms.Timer(this.components);
this.timerAlternateTextUndo = new System.Windows.Forms.Timer(this.components);
this.SubtitleListview1 = new Nikse.SubtitleEdit.Controls.SubtitleListView();
this.textBoxListViewTextAlternate = new Nikse.SubtitleEdit.Controls.SETextBox();
this.timeUpDownStartTime = new Nikse.SubtitleEdit.Controls.TimeUpDown();
this.textBoxListViewText = new Nikse.SubtitleEdit.Controls.SETextBox();
this.mediaPlayer = new Nikse.SubtitleEdit.Controls.VideoPlayerContainer();
this.audioVisualizer = new Nikse.SubtitleEdit.Controls.AudioVisualizer();
this.timeUpDownVideoPosition = new Nikse.SubtitleEdit.Controls.TimeUpDown();
this.timeUpDownVideoPositionAdjust = new Nikse.SubtitleEdit.Controls.TimeUpDown();
this.statusStrip1.SuspendLayout();
this.toolStrip1.SuspendLayout();
this.menuStrip1.SuspendLayout();
@ -571,6 +572,7 @@
this.toolStripButtonReplace,
this.toolStripSeparatorFixSyncSpell,
this.toolStripButtonFixCommonErrors,
this.toolStripButtonRemoveTextForHi,
this.toolStripButtonVisualSync,
this.toolStripButtonSpellCheck,
this.toolStripButtonSettings,
@ -695,6 +697,19 @@
this.toolStripButtonFixCommonErrors.ToolTipText = "Fix common errors";
this.toolStripButtonFixCommonErrors.Click += new System.EventHandler(this.toolStripButtonFixCommonErrors_Click);
//
// toolStripButtonRemoveTextForHi
//
this.toolStripButtonRemoveTextForHi.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButtonRemoveTextForHi.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.toolStripButtonRemoveTextForHi.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonRemoveTextForHi.Image")));
this.toolStripButtonRemoveTextForHi.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.toolStripButtonRemoveTextForHi.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButtonRemoveTextForHi.Name = "toolStripButtonRemoveTextForHi";
this.toolStripButtonRemoveTextForHi.Size = new System.Drawing.Size(36, 37);
this.toolStripButtonRemoveTextForHi.Text = "Remove text for HI";
this.toolStripButtonRemoveTextForHi.ToolTipText = "Fix common errors";
this.toolStripButtonRemoveTextForHi.Click += new System.EventHandler(this.toolStripButtonRemoveTextForHi_Click);
//
// toolStripButtonVisualSync
//
this.toolStripButtonVisualSync.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
@ -827,7 +842,7 @@
"Unicode",
"Unicode (big endian)"});
this.comboBoxEncoding.Name = "comboBoxEncoding";
this.comboBoxEncoding.Size = new System.Drawing.Size(125, 40);
this.comboBoxEncoding.Size = new System.Drawing.Size(125, 23);
this.comboBoxEncoding.DropDown += new System.EventHandler(this.MenuOpened);
this.comboBoxEncoding.DropDownClosed += new System.EventHandler(this.MenuClosed);
//
@ -2293,7 +2308,7 @@
this.changeCasingForSelectedLinesToolStripMenuItem,
this.toolStripMenuItemSaveSelectedLines});
this.contextMenuStripListview.Name = "contextMenuStripListview";
this.contextMenuStripListview.Size = new System.Drawing.Size(285, 826);
this.contextMenuStripListview.Size = new System.Drawing.Size(285, 804);
this.contextMenuStripListview.Closed += new System.Windows.Forms.ToolStripDropDownClosedEventHandler(this.MenuClosed);
this.contextMenuStripListview.Opening += new System.ComponentModel.CancelEventHandler(this.ContextMenuStripListviewOpening);
this.contextMenuStripListview.Opened += new System.EventHandler(this.MenuOpened);
@ -2655,6 +2670,43 @@
this.groupBoxVideo.TabIndex = 1;
this.groupBoxVideo.TabStop = false;
//
// audioVisualizer
//
this.audioVisualizer.AllowDrop = true;
this.audioVisualizer.AllowNewSelection = true;
this.audioVisualizer.AllowOverlap = false;
this.audioVisualizer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.audioVisualizer.BackColor = System.Drawing.Color.Black;
this.audioVisualizer.BackgroundColor = System.Drawing.Color.Black;
this.audioVisualizer.Color = System.Drawing.Color.GreenYellow;
this.audioVisualizer.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(18)))));
this.audioVisualizer.Location = new System.Drawing.Point(472, 32);
this.audioVisualizer.Margin = new System.Windows.Forms.Padding(0);
this.audioVisualizer.Name = "audioVisualizer";
this.audioVisualizer.NewSelectionParagraph = null;
this.audioVisualizer.ParagraphColor = System.Drawing.Color.LimeGreen;
this.audioVisualizer.SceneChanges = ((System.Collections.Generic.List<double>)(resources.GetObject("audioVisualizer.SceneChanges")));
this.audioVisualizer.SelectedColor = System.Drawing.Color.Red;
this.audioVisualizer.ShowGridLines = true;
this.audioVisualizer.ShowSpectrogram = false;
this.audioVisualizer.ShowWaveform = true;
this.audioVisualizer.Size = new System.Drawing.Size(499, 229);
this.audioVisualizer.StartPositionSeconds = 0D;
this.audioVisualizer.TabIndex = 6;
this.audioVisualizer.TextBold = true;
this.audioVisualizer.TextColor = System.Drawing.Color.Gray;
this.audioVisualizer.TextSize = 9F;
this.audioVisualizer.VerticalZoomFactor = 1D;
this.audioVisualizer.WaveformNotLoadedText = "Click to add waveform";
this.audioVisualizer.WavePeaks = null;
this.audioVisualizer.ZoomFactor = 1D;
this.audioVisualizer.Click += new System.EventHandler(this.AudioWaveform_Click);
this.audioVisualizer.DragDrop += new System.Windows.Forms.DragEventHandler(this.AudioWaveformDragDrop);
this.audioVisualizer.DragEnter += new System.Windows.Forms.DragEventHandler(this.AudioWaveformDragEnter);
this.audioVisualizer.MouseEnter += new System.EventHandler(this.audioVisualizer_MouseEnter);
//
// checkBoxSyncListViewWithVideoWhilePlaying
//
this.checkBoxSyncListViewWithVideoWhilePlaying.AutoSize = true;
@ -3115,6 +3167,17 @@
this.tabPageCreate.Text = "Create";
this.tabPageCreate.UseVisualStyleBackColor = true;
//
// timeUpDownVideoPosition
//
this.timeUpDownVideoPosition.AutoSize = true;
this.timeUpDownVideoPosition.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.timeUpDownVideoPosition.Location = new System.Drawing.Point(96, 191);
this.timeUpDownVideoPosition.Margin = new System.Windows.Forms.Padding(4);
this.timeUpDownVideoPosition.Name = "timeUpDownVideoPosition";
this.timeUpDownVideoPosition.Size = new System.Drawing.Size(96, 25);
this.timeUpDownVideoPosition.TabIndex = 12;
this.timeUpDownVideoPosition.UseVideoOffset = false;
//
// buttonGotoSub
//
this.buttonGotoSub.Location = new System.Drawing.Point(6, 58);
@ -3549,6 +3612,17 @@
this.buttonAdjustPlayBefore.UseVisualStyleBackColor = true;
this.buttonAdjustPlayBefore.Click += new System.EventHandler(this.buttonBeforeText_Click);
//
// timeUpDownVideoPositionAdjust
//
this.timeUpDownVideoPositionAdjust.AutoSize = true;
this.timeUpDownVideoPositionAdjust.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.timeUpDownVideoPositionAdjust.Location = new System.Drawing.Point(96, 213);
this.timeUpDownVideoPositionAdjust.Margin = new System.Windows.Forms.Padding(4);
this.timeUpDownVideoPositionAdjust.Name = "timeUpDownVideoPositionAdjust";
this.timeUpDownVideoPositionAdjust.Size = new System.Drawing.Size(96, 25);
this.timeUpDownVideoPositionAdjust.TabIndex = 13;
this.timeUpDownVideoPositionAdjust.UseVideoOffset = false;
//
// ShowSubtitleTimer
//
this.ShowSubtitleTimer.Enabled = true;
@ -3789,6 +3863,35 @@
this.splitContainerListViewAndText.SplitterDistance = 91;
this.splitContainerListViewAndText.TabIndex = 2;
//
// SubtitleListview1
//
this.SubtitleListview1.AllowDrop = true;
this.SubtitleListview1.ContextMenuStrip = this.contextMenuStripListview;
this.SubtitleListview1.DisplayExtraFromExtra = false;
this.SubtitleListview1.Dock = System.Windows.Forms.DockStyle.Fill;
this.SubtitleListview1.FirstVisibleIndex = -1;
this.SubtitleListview1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.SubtitleListview1.FullRowSelect = true;
this.SubtitleListview1.GridLines = true;
this.SubtitleListview1.HideSelection = false;
this.SubtitleListview1.Location = new System.Drawing.Point(0, 0);
this.SubtitleListview1.Name = "SubtitleListview1";
this.SubtitleListview1.OwnerDraw = true;
this.SubtitleListview1.Size = new System.Drawing.Size(724, 91);
this.SubtitleListview1.SubtitleFontBold = false;
this.SubtitleListview1.SubtitleFontName = "Tahoma";
this.SubtitleListview1.SubtitleFontSize = 8;
this.SubtitleListview1.TabIndex = 0;
this.SubtitleListview1.UseCompatibleStateImageBehavior = false;
this.SubtitleListview1.UseSyntaxColoring = true;
this.SubtitleListview1.View = System.Windows.Forms.View.Details;
this.SubtitleListview1.SelectedIndexChanged += new System.EventHandler(this.SubtitleListview1_SelectedIndexChanged);
this.SubtitleListview1.DragDrop += new System.Windows.Forms.DragEventHandler(this.SubtitleListview1_DragDrop);
this.SubtitleListview1.DragEnter += new System.Windows.Forms.DragEventHandler(this.SubtitleListview1_DragEnter);
this.SubtitleListview1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SubtitleListview1KeyDown);
this.SubtitleListview1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.SubtitleListview1_MouseDoubleClick);
this.SubtitleListview1.MouseEnter += new System.EventHandler(this.SubtitleListview1_MouseEnter);
//
// groupBoxEdit
//
this.groupBoxEdit.Controls.Add(this.labelSingleLine);
@ -3924,6 +4027,28 @@
this.labelText.TabIndex = 5;
this.labelText.Text = "Text";
//
// textBoxListViewTextAlternate
//
this.textBoxListViewTextAlternate.AllowDrop = true;
this.textBoxListViewTextAlternate.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textBoxListViewTextAlternate.ContextMenuStrip = this.contextMenuStripTextBoxListView;
this.textBoxListViewTextAlternate.Enabled = false;
this.textBoxListViewTextAlternate.HideSelection = false;
this.textBoxListViewTextAlternate.Location = new System.Drawing.Point(946, 28);
this.textBoxListViewTextAlternate.Multiline = true;
this.textBoxListViewTextAlternate.Name = "textBoxListViewTextAlternate";
this.textBoxListViewTextAlternate.Size = new System.Drawing.Size(0, 63);
this.textBoxListViewTextAlternate.TabIndex = 33;
this.textBoxListViewTextAlternate.Visible = false;
this.textBoxListViewTextAlternate.MouseClick += new System.Windows.Forms.MouseEventHandler(this.TextBoxListViewTextAlternateMouseClick);
this.textBoxListViewTextAlternate.TextChanged += new System.EventHandler(this.textBoxListViewTextAlternate_TextChanged);
this.textBoxListViewTextAlternate.Enter += new System.EventHandler(this.TextBoxListViewTextAlternateEnter);
this.textBoxListViewTextAlternate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TextBoxListViewTextAlternateKeyDown);
this.textBoxListViewTextAlternate.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TextBoxListViewTextAlternateKeyUp);
this.textBoxListViewTextAlternate.MouseMove += new System.Windows.Forms.MouseEventHandler(this.TextBoxListViewTextAlternateMouseMove);
//
// contextMenuStripTextBoxListView
//
this.contextMenuStripTextBoxListView.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
@ -4196,6 +4321,17 @@
this.buttonUnBreak.UseVisualStyleBackColor = true;
this.buttonUnBreak.Click += new System.EventHandler(this.ButtonUnBreakClick);
//
// timeUpDownStartTime
//
this.timeUpDownStartTime.AutoSize = true;
this.timeUpDownStartTime.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.timeUpDownStartTime.Location = new System.Drawing.Point(9, 26);
this.timeUpDownStartTime.Margin = new System.Windows.Forms.Padding(4);
this.timeUpDownStartTime.Name = "timeUpDownStartTime";
this.timeUpDownStartTime.Size = new System.Drawing.Size(96, 25);
this.timeUpDownStartTime.TabIndex = 0;
this.timeUpDownStartTime.UseVideoOffset = false;
//
// numericUpDownDuration
//
this.numericUpDownDuration.DecimalPlaces = 3;
@ -4249,6 +4385,28 @@
this.labelStartTime.TabIndex = 3;
this.labelStartTime.Text = "Start time";
//
// textBoxListViewText
//
this.textBoxListViewText.AllowDrop = true;
this.textBoxListViewText.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textBoxListViewText.ContextMenuStrip = this.contextMenuStripTextBoxListView;
this.textBoxListViewText.Enabled = false;
this.textBoxListViewText.HideSelection = false;
this.textBoxListViewText.Location = new System.Drawing.Point(236, 28);
this.textBoxListViewText.Multiline = true;
this.textBoxListViewText.Name = "textBoxListViewText";
this.textBoxListViewText.Size = new System.Drawing.Size(362, 63);
this.textBoxListViewText.TabIndex = 5;
this.textBoxListViewText.MouseClick += new System.Windows.Forms.MouseEventHandler(this.TextBoxListViewTextMouseClick);
this.textBoxListViewText.TextChanged += new System.EventHandler(this.TextBoxListViewTextTextChanged);
this.textBoxListViewText.Enter += new System.EventHandler(this.TextBoxListViewTextEnter);
this.textBoxListViewText.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TextBoxListViewTextKeyDown);
this.textBoxListViewText.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBoxListViewText_KeyUp);
this.textBoxListViewText.Leave += new System.EventHandler(this.textBoxListViewText_Leave);
this.textBoxListViewText.MouseMove += new System.Windows.Forms.MouseEventHandler(this.textBoxListViewText_MouseMove);
//
// labelDuration
//
this.labelDuration.AutoSize = true;
@ -4310,6 +4468,32 @@
this.panelVideoPlayer.Size = new System.Drawing.Size(220, 246);
this.panelVideoPlayer.TabIndex = 5;
//
// mediaPlayer
//
this.mediaPlayer.AllowDrop = true;
this.mediaPlayer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.mediaPlayer.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
this.mediaPlayer.CurrentPosition = 0D;
this.mediaPlayer.FontSizeFactor = 1F;
this.mediaPlayer.Location = new System.Drawing.Point(0, 0);
this.mediaPlayer.Margin = new System.Windows.Forms.Padding(0);
this.mediaPlayer.Name = "mediaPlayer";
this.mediaPlayer.ShowFullscreenButton = true;
this.mediaPlayer.ShowMuteButton = true;
this.mediaPlayer.ShowStopButton = true;
this.mediaPlayer.Size = new System.Drawing.Size(219, 246);
this.mediaPlayer.SubtitleText = "";
this.mediaPlayer.TabIndex = 5;
this.mediaPlayer.TextRightToLeft = System.Windows.Forms.RightToLeft.No;
this.mediaPlayer.VideoHeight = 0;
this.mediaPlayer.VideoPlayer = null;
this.mediaPlayer.VideoWidth = 0;
this.mediaPlayer.Volume = 0D;
this.mediaPlayer.DragDrop += new System.Windows.Forms.DragEventHandler(this.mediaPlayer_DragDrop);
this.mediaPlayer.DragEnter += new System.Windows.Forms.DragEventHandler(this.mediaPlayer_DragEnter);
//
// contextMenuStripEmpty
//
this.contextMenuStripEmpty.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
@ -4341,175 +4525,6 @@
this.timerAlternateTextUndo.Interval = 700;
this.timerAlternateTextUndo.Tick += new System.EventHandler(this.TimerAlternateTextUndoTick);
//
// SubtitleListview1
//
this.SubtitleListview1.AllowDrop = true;
this.SubtitleListview1.ContextMenuStrip = this.contextMenuStripListview;
this.SubtitleListview1.DisplayExtraFromExtra = false;
this.SubtitleListview1.Dock = System.Windows.Forms.DockStyle.Fill;
this.SubtitleListview1.FirstVisibleIndex = -1;
this.SubtitleListview1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.SubtitleListview1.FullRowSelect = true;
this.SubtitleListview1.GridLines = true;
this.SubtitleListview1.HideSelection = false;
this.SubtitleListview1.Location = new System.Drawing.Point(0, 0);
this.SubtitleListview1.Name = "SubtitleListview1";
this.SubtitleListview1.OwnerDraw = true;
this.SubtitleListview1.Size = new System.Drawing.Size(724, 91);
this.SubtitleListview1.SubtitleFontBold = false;
this.SubtitleListview1.SubtitleFontName = "Tahoma";
this.SubtitleListview1.SubtitleFontSize = 8;
this.SubtitleListview1.TabIndex = 0;
this.SubtitleListview1.UseCompatibleStateImageBehavior = false;
this.SubtitleListview1.UseSyntaxColoring = true;
this.SubtitleListview1.View = System.Windows.Forms.View.Details;
this.SubtitleListview1.SelectedIndexChanged += new System.EventHandler(this.SubtitleListview1_SelectedIndexChanged);
this.SubtitleListview1.DragDrop += new System.Windows.Forms.DragEventHandler(this.SubtitleListview1_DragDrop);
this.SubtitleListview1.DragEnter += new System.Windows.Forms.DragEventHandler(this.SubtitleListview1_DragEnter);
this.SubtitleListview1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SubtitleListview1KeyDown);
this.SubtitleListview1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.SubtitleListview1_MouseDoubleClick);
this.SubtitleListview1.MouseEnter += new System.EventHandler(this.SubtitleListview1_MouseEnter);
//
// textBoxListViewTextAlternate
//
this.textBoxListViewTextAlternate.AllowDrop = true;
this.textBoxListViewTextAlternate.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textBoxListViewTextAlternate.ContextMenuStrip = this.contextMenuStripTextBoxListView;
this.textBoxListViewTextAlternate.Enabled = false;
this.textBoxListViewTextAlternate.HideSelection = false;
this.textBoxListViewTextAlternate.Location = new System.Drawing.Point(946, 28);
this.textBoxListViewTextAlternate.Multiline = true;
this.textBoxListViewTextAlternate.Name = "textBoxListViewTextAlternate";
this.textBoxListViewTextAlternate.Size = new System.Drawing.Size(0, 63);
this.textBoxListViewTextAlternate.TabIndex = 33;
this.textBoxListViewTextAlternate.Visible = false;
this.textBoxListViewTextAlternate.MouseClick += new System.Windows.Forms.MouseEventHandler(this.TextBoxListViewTextAlternateMouseClick);
this.textBoxListViewTextAlternate.TextChanged += new System.EventHandler(this.textBoxListViewTextAlternate_TextChanged);
this.textBoxListViewTextAlternate.Enter += new System.EventHandler(this.TextBoxListViewTextAlternateEnter);
this.textBoxListViewTextAlternate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TextBoxListViewTextAlternateKeyDown);
this.textBoxListViewTextAlternate.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TextBoxListViewTextAlternateKeyUp);
this.textBoxListViewTextAlternate.MouseMove += new System.Windows.Forms.MouseEventHandler(this.TextBoxListViewTextAlternateMouseMove);
//
// timeUpDownStartTime
//
this.timeUpDownStartTime.AutoSize = true;
this.timeUpDownStartTime.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.timeUpDownStartTime.Location = new System.Drawing.Point(9, 26);
this.timeUpDownStartTime.Margin = new System.Windows.Forms.Padding(4);
this.timeUpDownStartTime.Name = "timeUpDownStartTime";
this.timeUpDownStartTime.Size = new System.Drawing.Size(96, 25);
this.timeUpDownStartTime.TabIndex = 0;
this.timeUpDownStartTime.UseVideoOffset = false;
//
// textBoxListViewText
//
this.textBoxListViewText.AllowDrop = true;
this.textBoxListViewText.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textBoxListViewText.ContextMenuStrip = this.contextMenuStripTextBoxListView;
this.textBoxListViewText.Enabled = false;
this.textBoxListViewText.HideSelection = false;
this.textBoxListViewText.Location = new System.Drawing.Point(236, 28);
this.textBoxListViewText.Multiline = true;
this.textBoxListViewText.Name = "textBoxListViewText";
this.textBoxListViewText.Size = new System.Drawing.Size(362, 63);
this.textBoxListViewText.TabIndex = 5;
this.textBoxListViewText.MouseClick += new System.Windows.Forms.MouseEventHandler(this.TextBoxListViewTextMouseClick);
this.textBoxListViewText.TextChanged += new System.EventHandler(this.TextBoxListViewTextTextChanged);
this.textBoxListViewText.Enter += new System.EventHandler(this.TextBoxListViewTextEnter);
this.textBoxListViewText.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TextBoxListViewTextKeyDown);
this.textBoxListViewText.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBoxListViewText_KeyUp);
this.textBoxListViewText.Leave += new System.EventHandler(this.textBoxListViewText_Leave);
this.textBoxListViewText.MouseMove += new System.Windows.Forms.MouseEventHandler(this.textBoxListViewText_MouseMove);
//
// mediaPlayer
//
this.mediaPlayer.AllowDrop = true;
this.mediaPlayer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.mediaPlayer.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
this.mediaPlayer.CurrentPosition = 0D;
this.mediaPlayer.FontSizeFactor = 1F;
this.mediaPlayer.Location = new System.Drawing.Point(0, 0);
this.mediaPlayer.Margin = new System.Windows.Forms.Padding(0);
this.mediaPlayer.Name = "mediaPlayer";
this.mediaPlayer.ShowFullscreenButton = true;
this.mediaPlayer.ShowMuteButton = true;
this.mediaPlayer.ShowStopButton = true;
this.mediaPlayer.Size = new System.Drawing.Size(219, 246);
this.mediaPlayer.SubtitleText = "";
this.mediaPlayer.TabIndex = 5;
this.mediaPlayer.TextRightToLeft = System.Windows.Forms.RightToLeft.No;
this.mediaPlayer.VideoHeight = 0;
this.mediaPlayer.VideoPlayer = null;
this.mediaPlayer.VideoWidth = 0;
this.mediaPlayer.Volume = 0D;
this.mediaPlayer.DragDrop += new System.Windows.Forms.DragEventHandler(this.mediaPlayer_DragDrop);
this.mediaPlayer.DragEnter += new System.Windows.Forms.DragEventHandler(this.mediaPlayer_DragEnter);
//
// audioVisualizer
//
this.audioVisualizer.AllowDrop = true;
this.audioVisualizer.AllowNewSelection = true;
this.audioVisualizer.AllowOverlap = false;
this.audioVisualizer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.audioVisualizer.BackColor = System.Drawing.Color.Black;
this.audioVisualizer.BackgroundColor = System.Drawing.Color.Black;
this.audioVisualizer.Color = System.Drawing.Color.GreenYellow;
this.audioVisualizer.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(18)))));
this.audioVisualizer.Location = new System.Drawing.Point(472, 32);
this.audioVisualizer.Margin = new System.Windows.Forms.Padding(0);
this.audioVisualizer.Name = "audioVisualizer";
this.audioVisualizer.NewSelectionParagraph = null;
this.audioVisualizer.ParagraphColor = System.Drawing.Color.LimeGreen;
this.audioVisualizer.SceneChanges = ((System.Collections.Generic.List<double>)(resources.GetObject("audioVisualizer.SceneChanges")));
this.audioVisualizer.SelectedColor = System.Drawing.Color.Red;
this.audioVisualizer.ShowGridLines = true;
this.audioVisualizer.ShowSpectrogram = false;
this.audioVisualizer.ShowWaveform = true;
this.audioVisualizer.Size = new System.Drawing.Size(499, 229);
this.audioVisualizer.StartPositionSeconds = 0D;
this.audioVisualizer.TabIndex = 6;
this.audioVisualizer.TextBold = true;
this.audioVisualizer.TextColor = System.Drawing.Color.Gray;
this.audioVisualizer.TextSize = 9F;
this.audioVisualizer.VerticalZoomFactor = 1D;
this.audioVisualizer.WaveformNotLoadedText = "Click to add waveform";
this.audioVisualizer.WavePeaks = null;
this.audioVisualizer.ZoomFactor = 1D;
this.audioVisualizer.Click += new System.EventHandler(this.AudioWaveform_Click);
this.audioVisualizer.DragDrop += new System.Windows.Forms.DragEventHandler(this.AudioWaveformDragDrop);
this.audioVisualizer.DragEnter += new System.Windows.Forms.DragEventHandler(this.AudioWaveformDragEnter);
this.audioVisualizer.MouseEnter += new System.EventHandler(this.audioVisualizer_MouseEnter);
//
// timeUpDownVideoPosition
//
this.timeUpDownVideoPosition.AutoSize = true;
this.timeUpDownVideoPosition.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.timeUpDownVideoPosition.Location = new System.Drawing.Point(96, 191);
this.timeUpDownVideoPosition.Margin = new System.Windows.Forms.Padding(4);
this.timeUpDownVideoPosition.Name = "timeUpDownVideoPosition";
this.timeUpDownVideoPosition.Size = new System.Drawing.Size(96, 25);
this.timeUpDownVideoPosition.TabIndex = 12;
this.timeUpDownVideoPosition.UseVideoOffset = false;
//
// timeUpDownVideoPositionAdjust
//
this.timeUpDownVideoPositionAdjust.AutoSize = true;
this.timeUpDownVideoPositionAdjust.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.timeUpDownVideoPositionAdjust.Location = new System.Drawing.Point(96, 213);
this.timeUpDownVideoPositionAdjust.Margin = new System.Windows.Forms.Padding(4);
this.timeUpDownVideoPositionAdjust.Name = "timeUpDownVideoPositionAdjust";
this.timeUpDownVideoPositionAdjust.Size = new System.Drawing.Size(96, 25);
this.timeUpDownVideoPositionAdjust.TabIndex = 13;
this.timeUpDownVideoPositionAdjust.UseVideoOffset = false;
//
// Main
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -5006,7 +5021,7 @@
private System.Windows.Forms.ToolStripMenuItem startOfRighttoleftOverrideRLOToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemRtlUnicodeControlChars;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemImportImages;
private System.Windows.Forms.ToolStripButton toolStripButtonFixCommonErrors;
private System.Windows.Forms.ToolStripButton toolStripButtonRemoveTextForHi;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemExportDcinemaInterop;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemMergeLinesWithSameTimeCodes;
private System.Windows.Forms.ToolStripMenuItem checkForUpdatesToolStripMenuItem;
@ -5019,5 +5034,6 @@
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelProgress;
private System.Windows.Forms.ToolStripMenuItem uniPacExportToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemExportAyato;
private System.Windows.Forms.ToolStripButton toolStripButtonFixCommonErrors;
}
}

View File

@ -1173,6 +1173,7 @@ namespace Nikse.SubtitleEdit.Forms
toolStripButtonFind.ToolTipText = _language.Menu.ToolBar.Find;
toolStripButtonReplace.ToolTipText = _language.Menu.ToolBar.Replace;
toolStripButtonFixCommonErrors.ToolTipText = _language.Menu.ToolBar.FixCommonErrors;
toolStripButtonRemoveTextForHi.ToolTipText = _language.Menu.ToolBar.RemoveTextForHi;
toolStripButtonVisualSync.ToolTipText = _language.Menu.ToolBar.VisualSync;
toolStripButtonSpellCheck.ToolTipText = _language.Menu.ToolBar.SpellCheck;
toolStripButtonSettings.ToolTipText = _language.Menu.ToolBar.Settings;
@ -3674,8 +3675,9 @@ namespace Nikse.SubtitleEdit.Forms
var oldAllowEditOfOriginalSubtitle = Configuration.Settings.General.AllowEditOfOriginalSubtitle;
using (var settings = new Settings())
{
settings.Initialize(this.Icon, toolStripButtonFileNew.Image, toolStripButtonFileOpen.Image, toolStripButtonSave.Image, toolStripButtonSaveAs.Image,
toolStripButtonFind.Image, toolStripButtonReplace.Image, toolStripButtonFixCommonErrors.Image, toolStripButtonVisualSync.Image, toolStripButtonSpellCheck.Image, toolStripButtonSettings.Image, toolStripButtonHelp.Image);
settings.Initialize(Icon, toolStripButtonFileNew.Image, toolStripButtonFileOpen.Image, toolStripButtonSave.Image, toolStripButtonSaveAs.Image, toolStripButtonFind.Image,
toolStripButtonReplace.Image, toolStripButtonFixCommonErrors.Image, toolStripButtonRemoveTextForHi.Image, toolStripButtonVisualSync.Image,
toolStripButtonSpellCheck.Image, toolStripButtonSettings.Image, toolStripButtonHelp.Image);
settings.ShowDialog(this);
}
@ -3889,6 +3891,7 @@ namespace Nikse.SubtitleEdit.Forms
TryLoadIcon(toolStripButtonFind, "Find");
TryLoadIcon(toolStripButtonReplace, "Replace");
TryLoadIcon(toolStripButtonFixCommonErrors, "FixCommonErrors");
TryLoadIcon(toolStripButtonRemoveTextForHi, "RemoveTextForHi");
TryLoadIcon(toolStripButtonVisualSync, "VisualSync");
TryLoadIcon(toolStripButtonSpellCheck, "SpellCheck");
TryLoadIcon(toolStripButtonSettings, "Settings");
@ -3904,6 +3907,8 @@ namespace Nikse.SubtitleEdit.Forms
toolStripButtonFind.Visible = gs.ShowToolbarFind;
toolStripButtonReplace.Visible = gs.ShowToolbarReplace;
toolStripButtonFixCommonErrors.Visible = gs.ShowToolbarFixCommonErrors;
toolStripButtonRemoveTextForHi.Visible = gs.ShowToolbarRemoveTextForHi;
toolStripButtonVisualSync.Visible = gs.ShowToolbarVisualSync;
toolStripButtonSpellCheck.Visible = gs.ShowToolbarSpellCheck;
toolStripButtonSettings.Visible = gs.ShowToolbarSettings;
@ -19844,6 +19849,11 @@ namespace Nikse.SubtitleEdit.Forms
FixCommonErrors(false);
}
private void toolStripButtonRemoveTextForHi_Click(object sender, EventArgs e)
{
RemoveTextForHearImpairedToolStripMenuItemClick(sender, e);
}
private void toolStripMenuItemExportDcinemaInteropClick(object sender, EventArgs e)
{
using (var exportBdnXmlPng = new ExportPngXml())
@ -19994,7 +20004,7 @@ namespace Nikse.SubtitleEdit.Forms
private void MenuClosed(object sender, EventArgs e)
{
IsMenuOpen = false;
}
}
}
}

View File

@ -365,6 +365,36 @@
DKS9vZ3+YWkbD6C39y4URUqJPzcWHhqZNk4i1jY65FOz2fzaK6aXf/LfvM572Qh7yqA4pHwPf9PpdBKS
CacijhlTx72cB0bf+MR6//598Yip4++szM67yuvvhoO99ynfz+FkW16z42VsEo1V7+e35H3fApOgoL8B
cfixJwlGaR8AAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButtonRemoveTextForHi.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAWZSURBVFhHrVZ7TJNXFCfZlpmYkCUzy7LJnE6zuJBsy8TN
B2/l0fJoqTwm0AIDKyBQKFBkwEelyEp5TKgPFKm0RdRJIo/EZZ2LG/j4b5lzy0bM5pL9IdKHMaI4HXf9
fbu3fKhIi/6Sk/ace+45557vnHOvn7fgOIv/jsLOdcnprfq4BN0cggxr0KHqzw871QdeyyvoqI1N0Ng3
hheSoM15T6QNoQUEOjt2HTrd1jayim5/NtRqLcGSbTV/fxyinOMsOLJkDgnXQBEitcNsHW2lZhYH64lL
jZGxao9RnD5KXH2xqKyrOSOjY6WQClRGHdY2RxZ59BGYsmRfT2go9yI16T0qag6uCY9W3WPGtsaXT7Ub
zxo4bn5jWHMHt1GR23KH7UPmtLrj3VTFe6gqTZPMSLp877TN9usGnKSk/HBWSnrjxJaY3fcjoit5wn/I
sAYdjjMtycjaO8L2B0cWT3GN5kBqemG0dZwVs1Qi7bVaazjk2UpDvbAI3ad78EnITiFPyjQ9f+Tn7w9A
IFnK9ttsLU3e0Mcb9wby3OYBtjExhfsGsoNdtlIWlEi6eyp+m1aFAsWpE5J1xeKk6hssGBStZeDycpya
BexTFkSShr9YAOWVvWVqg3kpHIBHXVj6R8OoqgdqtWGprun0IAsiv7jrOOT4NODRomkZX27llRdCtKiG
D8D9fQlSiQGDk8D4F62DR6naY8C3j5fVjmMvsgReltpSDR57Y6Va3wLYIqoi4DHlwIdvVd3WcKa3eaV5
kJTSKIGzsCg1USi4JdW1FimbIe7uuEjVno5HA5DK9E3g46S6K+DN5ovp0m3NSkZarSUIciA1vSMY6WYB
IINsULH9C4IFwIw0Gc7s2RKreVBZ1fcjhpBw2IDgoNt0/gj2Is3CAEoqejRMT5Hb3Mk7WAiJstkihEMq
5iFKrP8JcvR/TNznE+x0rMrluW2/gGc1oCo3jYL3qQjR7zglCF1AxTxQ6XCCwQQe8x7GQXnKI6VsdMs/
6+jHJRYapZoBvyli1z+YkryRhWC/PO6/XXHgI1Q/viEVz4uouGo+AHm2sRT/xZJaYrWOfYChBOegtMzG
C1T9+WL/4XNFLANIMaYgOgV1w6ofE5NN0+eKXstYF1ILJ8JJhwCEF5mqwjTKb3gW6PRDx9AJddyp8zzf
PCBnYxa/B7u/88z6Ju1JMVoYgywzu4V8f+F6BF1aPKSpeguciRMbxlDdktS6W+Bx0j17v9JQNQ9QR6CZ
8fGXqejZIE2ZDUCR25rHvi+ealTFD85cBkOYPTrR6ogRPQQ5QyKuOurqj97t7w+gaosDCwDjWJbWMM0H
46521iWkq+slZ1lVv2PFu8Tx+krieHP1LC1bQRzrQ6dvm8wS3thiUFhyeA+cCondeICzUd86x+mTCEGM
jKylW3zD0NBvy4pKD/FXKwh3PgYN1uwc5z8ZtH76iU6F5M6Ms7zqa96gLygo7rTFJ9VPW6znbuYX9xhz
lEYjcw64hod19lffmHWEz8Donfdm/7vXJhU511CcdKt3QEvh1PPdZq6KmibHK8uJKyWT/PvwISEzM3MI
suk/r5PJ1YFkMiSc+FyQLABcRFQ0B67Wdj4A+7pgcvfUALl3ZthDd34YJVO2b4mrfR+fDXvuTuK02d6i
W70Dqh0BoAPwXKdiD1zdvR960o+KF5Lwc7hrYFJZeNXn2SCW1JhZ8ck+1V7DKwd3PR6leID8fOn3tU5Z
8o3H2u9RQj0oC0TUrPfoO3Epm12rIFw8m8KKJjCC8R/dMb6/N9S+5v2JeYPA6ROkJzEvqFnfUFNn1sQk
/F8LjxKCKC4/lnGL41bZpSkOviPcNcHIHhB437k9q5kkJ79AzS0OuOXkOUZ9XFL1IO59aSp3BQ9WDCnh
uwHDBoPppjxHf8vSp3+6Yz+//wCu5y/CCIEQxAAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripButtonVisualSync.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@ -722,7 +752,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD2
CAAAAk1TRnQBSQFMAgEBAgEAARgBIwEYASMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
CAAAAk1TRnQBSQFMAgEBAgEAASgBIwEoASMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA

View File

@ -87,6 +87,9 @@
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.checkBoxShowFrameRate = new System.Windows.Forms.CheckBox();
this.groupBoxShowToolBarButtons = new System.Windows.Forms.GroupBox();
this.labelTBRemoveTextForHi = new System.Windows.Forms.Label();
this.pictureBoxTBRemoveTextForHi = new System.Windows.Forms.PictureBox();
this.checkBoxTBRemoveTextForHi = new System.Windows.Forms.CheckBox();
this.labelTBFixCommonErrors = new System.Windows.Forms.Label();
this.pictureBoxTBFixCommonErrors = new System.Windows.Forms.PictureBox();
this.checkBoxTBFixCommonErrors = new System.Windows.Forms.CheckBox();
@ -327,6 +330,7 @@
this.tabPageToolBar.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBoxShowToolBarButtons.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxTBRemoveTextForHi)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxTBFixCommonErrors)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxHelp)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxSettings)).BeginInit();
@ -1102,6 +1106,9 @@
//
this.groupBoxShowToolBarButtons.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBoxShowToolBarButtons.Controls.Add(this.labelTBRemoveTextForHi);
this.groupBoxShowToolBarButtons.Controls.Add(this.pictureBoxTBRemoveTextForHi);
this.groupBoxShowToolBarButtons.Controls.Add(this.checkBoxTBRemoveTextForHi);
this.groupBoxShowToolBarButtons.Controls.Add(this.labelTBFixCommonErrors);
this.groupBoxShowToolBarButtons.Controls.Add(this.pictureBoxTBFixCommonErrors);
this.groupBoxShowToolBarButtons.Controls.Add(this.checkBoxTBFixCommonErrors);
@ -1142,6 +1149,33 @@
this.groupBoxShowToolBarButtons.TabStop = false;
this.groupBoxShowToolBarButtons.Text = "Show toolbar buttons";
//
// labelTBRemoveTextForHi
//
this.labelTBRemoveTextForHi.AutoSize = true;
this.labelTBRemoveTextForHi.Location = new System.Drawing.Point(124, 136);
this.labelTBRemoveTextForHi.Name = "labelTBRemoveTextForHi";
this.labelTBRemoveTextForHi.Size = new System.Drawing.Size(100, 13);
this.labelTBRemoveTextForHi.TabIndex = 39;
this.labelTBRemoveTextForHi.Text = "Remove text for HI";
//
// pictureBoxTBRemoveTextForHi
//
this.pictureBoxTBRemoveTextForHi.Location = new System.Drawing.Point(137, 155);
this.pictureBoxTBRemoveTextForHi.Name = "pictureBoxTBRemoveTextForHi";
this.pictureBoxTBRemoveTextForHi.Size = new System.Drawing.Size(32, 32);
this.pictureBoxTBRemoveTextForHi.TabIndex = 38;
this.pictureBoxTBRemoveTextForHi.TabStop = false;
//
// checkBoxTBRemoveTextForHi
//
this.checkBoxTBRemoveTextForHi.AutoSize = true;
this.checkBoxTBRemoveTextForHi.Location = new System.Drawing.Point(140, 195);
this.checkBoxTBRemoveTextForHi.Name = "checkBoxTBRemoveTextForHi";
this.checkBoxTBRemoveTextForHi.Size = new System.Drawing.Size(55, 17);
this.checkBoxTBRemoveTextForHi.TabIndex = 18;
this.checkBoxTBRemoveTextForHi.Text = "Visible";
this.checkBoxTBRemoveTextForHi.UseVisualStyleBackColor = true;
//
// labelTBFixCommonErrors
//
this.labelTBFixCommonErrors.AutoSize = true;
@ -1172,7 +1206,7 @@
// labelTBHelp
//
this.labelTBHelp.AutoSize = true;
this.labelTBHelp.Location = new System.Drawing.Point(424, 136);
this.labelTBHelp.Location = new System.Drawing.Point(561, 136);
this.labelTBHelp.Name = "labelTBHelp";
this.labelTBHelp.Size = new System.Drawing.Size(28, 13);
this.labelTBHelp.TabIndex = 33;
@ -1180,7 +1214,7 @@
//
// pictureBoxHelp
//
this.pictureBoxHelp.Location = new System.Drawing.Point(423, 155);
this.pictureBoxHelp.Location = new System.Drawing.Point(560, 155);
this.pictureBoxHelp.Name = "pictureBoxHelp";
this.pictureBoxHelp.Size = new System.Drawing.Size(32, 32);
this.pictureBoxHelp.TabIndex = 32;
@ -1189,17 +1223,17 @@
// checkBoxHelp
//
this.checkBoxHelp.AutoSize = true;
this.checkBoxHelp.Location = new System.Drawing.Point(426, 195);
this.checkBoxHelp.Location = new System.Drawing.Point(563, 195);
this.checkBoxHelp.Name = "checkBoxHelp";
this.checkBoxHelp.Size = new System.Drawing.Size(55, 17);
this.checkBoxHelp.TabIndex = 21;
this.checkBoxHelp.TabIndex = 22;
this.checkBoxHelp.Text = "Visible";
this.checkBoxHelp.UseVisualStyleBackColor = true;
//
// labelTBSettings
//
this.labelTBSettings.AutoSize = true;
this.labelTBSettings.Location = new System.Drawing.Point(319, 136);
this.labelTBSettings.Location = new System.Drawing.Point(456, 136);
this.labelTBSettings.Name = "labelTBSettings";
this.labelTBSettings.Size = new System.Drawing.Size(46, 13);
this.labelTBSettings.TabIndex = 30;
@ -1207,7 +1241,7 @@
//
// pictureBoxSettings
//
this.pictureBoxSettings.Location = new System.Drawing.Point(322, 155);
this.pictureBoxSettings.Location = new System.Drawing.Point(459, 155);
this.pictureBoxSettings.Name = "pictureBoxSettings";
this.pictureBoxSettings.Size = new System.Drawing.Size(32, 32);
this.pictureBoxSettings.TabIndex = 29;
@ -1216,17 +1250,17 @@
// checkBoxSettings
//
this.checkBoxSettings.AutoSize = true;
this.checkBoxSettings.Location = new System.Drawing.Point(325, 195);
this.checkBoxSettings.Location = new System.Drawing.Point(462, 195);
this.checkBoxSettings.Name = "checkBoxSettings";
this.checkBoxSettings.Size = new System.Drawing.Size(55, 17);
this.checkBoxSettings.TabIndex = 20;
this.checkBoxSettings.TabIndex = 21;
this.checkBoxSettings.Text = "Visible";
this.checkBoxSettings.UseVisualStyleBackColor = true;
//
// labelTBSpellCheck
//
this.labelTBSpellCheck.AutoSize = true;
this.labelTBSpellCheck.Location = new System.Drawing.Point(220, 136);
this.labelTBSpellCheck.Location = new System.Drawing.Point(357, 136);
this.labelTBSpellCheck.Name = "labelTBSpellCheck";
this.labelTBSpellCheck.Size = new System.Drawing.Size(59, 13);
this.labelTBSpellCheck.TabIndex = 27;
@ -1234,7 +1268,7 @@
//
// pictureBoxSpellCheck
//
this.pictureBoxSpellCheck.Location = new System.Drawing.Point(224, 155);
this.pictureBoxSpellCheck.Location = new System.Drawing.Point(361, 155);
this.pictureBoxSpellCheck.Name = "pictureBoxSpellCheck";
this.pictureBoxSpellCheck.Size = new System.Drawing.Size(32, 32);
this.pictureBoxSpellCheck.TabIndex = 26;
@ -1243,17 +1277,17 @@
// checkBoxSpellCheck
//
this.checkBoxSpellCheck.AutoSize = true;
this.checkBoxSpellCheck.Location = new System.Drawing.Point(225, 195);
this.checkBoxSpellCheck.Location = new System.Drawing.Point(362, 195);
this.checkBoxSpellCheck.Name = "checkBoxSpellCheck";
this.checkBoxSpellCheck.Size = new System.Drawing.Size(55, 17);
this.checkBoxSpellCheck.TabIndex = 19;
this.checkBoxSpellCheck.TabIndex = 20;
this.checkBoxSpellCheck.Text = "Visible";
this.checkBoxSpellCheck.UseVisualStyleBackColor = true;
//
// labelTBVisualSync
//
this.labelTBVisualSync.AutoSize = true;
this.labelTBVisualSync.Location = new System.Drawing.Point(110, 136);
this.labelTBVisualSync.Location = new System.Drawing.Point(247, 136);
this.labelTBVisualSync.Name = "labelTBVisualSync";
this.labelTBVisualSync.Size = new System.Drawing.Size(59, 13);
this.labelTBVisualSync.TabIndex = 21;
@ -1261,7 +1295,7 @@
//
// pictureBoxVisualSync
//
this.pictureBoxVisualSync.Location = new System.Drawing.Point(123, 155);
this.pictureBoxVisualSync.Location = new System.Drawing.Point(260, 155);
this.pictureBoxVisualSync.Name = "pictureBoxVisualSync";
this.pictureBoxVisualSync.Size = new System.Drawing.Size(32, 32);
this.pictureBoxVisualSync.TabIndex = 20;
@ -1270,10 +1304,10 @@
// checkBoxVisualSync
//
this.checkBoxVisualSync.AutoSize = true;
this.checkBoxVisualSync.Location = new System.Drawing.Point(126, 195);
this.checkBoxVisualSync.Location = new System.Drawing.Point(263, 195);
this.checkBoxVisualSync.Name = "checkBoxVisualSync";
this.checkBoxVisualSync.Size = new System.Drawing.Size(55, 17);
this.checkBoxVisualSync.TabIndex = 18;
this.checkBoxVisualSync.TabIndex = 19;
this.checkBoxVisualSync.Text = "Visible";
this.checkBoxVisualSync.UseVisualStyleBackColor = true;
//
@ -3798,6 +3832,7 @@
this.groupBox2.PerformLayout();
this.groupBoxShowToolBarButtons.ResumeLayout(false);
this.groupBoxShowToolBarButtons.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxTBRemoveTextForHi)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxTBFixCommonErrors)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxHelp)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxSettings)).EndInit();
@ -4173,5 +4208,8 @@
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox comboBoxAutoBackupDeleteAfter;
private System.Windows.Forms.Label labelAutoBackupDeleteAfter;
private System.Windows.Forms.Label labelTBRemoveTextForHi;
private System.Windows.Forms.PictureBox pictureBoxTBRemoveTextForHi;
private System.Windows.Forms.CheckBox checkBoxTBRemoveTextForHi;
}
}

View File

@ -82,6 +82,7 @@ namespace Nikse.SubtitleEdit.Forms
checkBoxToolbarFind.Checked = gs.ShowToolbarFind;
checkBoxReplace.Checked = gs.ShowToolbarReplace;
checkBoxTBFixCommonErrors.Checked = gs.ShowToolbarFixCommonErrors;
checkBoxTBRemoveTextForHi.Checked = gs.ShowToolbarRemoveTextForHi;
checkBoxVisualSync.Checked = gs.ShowToolbarVisualSync;
checkBoxSettings.Checked = gs.ShowToolbarSettings;
checkBoxSpellCheck.Checked = gs.ShowToolbarSpellCheck;
@ -246,6 +247,7 @@ namespace Nikse.SubtitleEdit.Forms
labelTBFind.Text = language.Find;
labelTBReplace.Text = language.Replace;
labelTBFixCommonErrors.Text = language.FixCommonerrors;
labelTBRemoveTextForHi.Text = language.RemoveTextForHi;
labelTBVisualSync.Text = language.VisualSync;
labelTBSpellCheck.Text = language.SpellCheck;
labelTBSettings.Text = language.SettingsName;
@ -257,6 +259,7 @@ namespace Nikse.SubtitleEdit.Forms
checkBoxToolbarFind.Text = Configuration.Settings.Language.General.Visible;
checkBoxReplace.Text = Configuration.Settings.Language.General.Visible;
checkBoxTBFixCommonErrors.Text = Configuration.Settings.Language.General.Visible;
checkBoxTBRemoveTextForHi.Text = Configuration.Settings.Language.General.Visible;
checkBoxVisualSync.Text = Configuration.Settings.Language.General.Visible;
checkBoxSpellCheck.Text = Configuration.Settings.Language.General.Visible;
checkBoxSettings.Text = Configuration.Settings.Language.General.Visible;
@ -923,7 +926,7 @@ namespace Nikse.SubtitleEdit.Forms
}
}
public void Initialize(Icon icon, Image newFile, Image openFile, Image saveFile, Image saveFileAs, Image find, Image replace, Image fixCommonErrors,
public void Initialize(Icon icon, Image newFile, Image openFile, Image saveFile, Image saveFileAs, Image find, Image replace, Image fixCommonErrors, Image removeTextForHi,
Image visualSync, Image spellCheck, Image settings, Image help)
{
Icon = (Icon)icon.Clone();
@ -934,6 +937,7 @@ namespace Nikse.SubtitleEdit.Forms
pictureBoxFind.Image = (Image)find.Clone();
pictureBoxReplace.Image = (Image)replace.Clone();
pictureBoxTBFixCommonErrors.Image = (Image)fixCommonErrors.Clone();
pictureBoxTBRemoveTextForHi.Image = (Image)removeTextForHi.Clone();
pictureBoxVisualSync.Image = (Image)visualSync.Clone();
pictureBoxSpellCheck.Image = (Image)spellCheck.Clone();
pictureBoxSettings.Image = (Image)settings.Clone();
@ -1059,6 +1063,7 @@ namespace Nikse.SubtitleEdit.Forms
gs.ShowToolbarFind = checkBoxToolbarFind.Checked;
gs.ShowToolbarReplace = checkBoxReplace.Checked;
gs.ShowToolbarFixCommonErrors = checkBoxTBFixCommonErrors.Checked;
gs.ShowToolbarRemoveTextForHi = checkBoxTBRemoveTextForHi.Checked;
gs.ShowToolbarVisualSync = checkBoxVisualSync.Checked;
gs.ShowToolbarSettings = checkBoxSettings.Checked;
gs.ShowToolbarSpellCheck = checkBoxSpellCheck.Checked;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -1357,6 +1357,7 @@
<None Include="Resources\Transparent Background.png" />
<Content Include="DLLs\Voikkox64.dll" />
<Content Include="DLLs\Voikkox86.dll" />
<Content Include="Icons\RemoveTextForHI.png" />
<Content Include="Languages\ar-EG.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>