List errors based on current profile (ctrl+F8)

This commit is contained in:
niksedk 2021-11-17 13:21:09 +01:00
parent b3333c4c38
commit 5127d3eaa6
5 changed files with 10 additions and 5 deletions

View File

@ -62,7 +62,7 @@
this.buttonOK.UseVisualStyleBackColor = true;
this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
//
// listViewBookmarks
// listViewErrors
//
this.listViewErrors.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
@ -75,7 +75,7 @@
this.listViewErrors.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.listViewErrors.HideSelection = false;
this.listViewErrors.Location = new System.Drawing.Point(13, 12);
this.listViewErrors.Name = "listViewBookmarks";
this.listViewErrors.Name = "listViewErrors";
this.listViewErrors.Size = new System.Drawing.Size(768, 576);
this.listViewErrors.TabIndex = 0;
this.listViewErrors.UseCompatibleStateImageBehavior = false;
@ -134,7 +134,7 @@
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "BookmarksGoTo";
this.Text = "Error list";
this.Shown += new System.EventHandler(this.ErrorsGoTo_Shown);
this.ResizeEnd += new System.EventHandler(this.ErrorsGoTo_ResizeEnd);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ErrorsGoTo_KeyDown);

View File

@ -18,13 +18,13 @@ namespace Nikse.SubtitleEdit.Forms
UiUtil.PreInitialize(this);
InitializeComponent();
UiUtil.FixFonts(this);
Text = "Errors";
Text = LanguageSettings.Current.Main.Errors;
buttonExport.Text = LanguageSettings.Current.MultipleReplace.Export;
buttonOK.Text = LanguageSettings.Current.General.Ok;
buttonCancel.Text = LanguageSettings.Current.General.Cancel;
columnHeaderNumber.Text = LanguageSettings.Current.General.NumberSymbol;
columnHeaderStartTime.Text = LanguageSettings.Current.General.StartTime;
columnHeaderText.Text = "Errors";
columnHeaderText.Text = LanguageSettings.Current.Main.Errors;
_subtitle = new Subtitle(subtitle);
foreach (var p in _subtitle.Paragraphs)

View File

@ -1455,6 +1455,7 @@ namespace Nikse.SubtitleEdit.Forms.Options
AddNode(listViewNode, language.ListViewColumnTextUp, nameof(Configuration.Settings.Shortcuts.MainListViewColumnTextUp), true);
AddNode(listViewNode, language.ListViewColumnTextDown, nameof(Configuration.Settings.Shortcuts.MainListViewColumnTextDown), true);
AddNode(listViewNode, language.ListViewGoToNextError, nameof(Configuration.Settings.Shortcuts.MainListViewGoToNextError));
AddNode(listViewNode, language.ListViewListErrors, nameof(Configuration.Settings.Shortcuts.MainListViewListErrors));
_shortcuts.Nodes.Add(listViewNode);
var textBoxNode = new ShortcutNode(language.TextBox);

View File

@ -1608,6 +1608,7 @@ namespace Nikse.SubtitleEdit.Logic
NoChapters = "No chapters found in the video.",
DarkThemeRestart = "Restart Subtitle Edit for dark theme changes to take effect.",
VideoFromUrlRequirements = "Opening video from url requires mpv and youtube-dl - download and continue?",
Errors = "Errors",
Menu = new LanguageStructure.Main.MainMenu
{
@ -2768,6 +2769,7 @@ can edit in same subtitle file (collaboration)",
ListViewColumnTextUp = "Column, text up",
ListViewColumnTextDown = "Column, text down",
ListViewGoToNextError = "Go to next error",
ListViewListErrors = "List errors",
ShowStyleManager = "Show style manager",
MainTextBoxMoveLastWordDown = "Move last word to next subtitle",
MainTextBoxMoveFirstWordFromNextUp = "Fetch first word from next subtitle",

View File

@ -1460,6 +1460,7 @@
public string NoChapters { get; set; }
public string DarkThemeRestart { get; set; }
public string VideoFromUrlRequirements { get; set; }
public string Errors { get; set; }
public class MainMenu
{
@ -2622,6 +2623,7 @@
public string ListViewColumnTextUp { get; set; }
public string ListViewColumnTextDown { get; set; }
public string ListViewGoToNextError { get; set; }
public string ListViewListErrors { get; set; }
public string ShowStyleManager { get; set; }
public string MainTextBoxMoveLastWordDown { get; set; }
public string MainTextBoxMoveFirstWordFromNextUp { get; set; }