mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Add shortcut for "open bd sup for edit"
This commit is contained in:
parent
2ac42176ca
commit
1813170d65
@ -1011,6 +1011,7 @@ Go to "Options -> Settings -> Tools" to enter your Google translate API ke
|
||||
<ImportText>Plain text...</ImportText>
|
||||
<ImportImages>Images...</ImportImages>
|
||||
<ImportTimecodes>Time codes...</ImportTimecodes>
|
||||
<Import>Import</Import>
|
||||
<Export>Export</Export>
|
||||
<ExportBdnXml>BDN xml/png...</ExportBdnXml>
|
||||
<ExportBluRaySup>Blu-ray sup...</ExportBluRaySup>
|
||||
|
@ -1805,6 +1805,7 @@ $HorzAlign = Center
|
||||
public string MainFileCloseOriginal { get; set; }
|
||||
public string MainFileCompare { get; set; }
|
||||
public string MainFileImportPlainText { get; set; }
|
||||
public string MainFileImportBdSupForEdit { get; set; }
|
||||
public string MainFileImportTimeCodes { get; set; }
|
||||
public string MainFileExportEbu { get; set; }
|
||||
public string MainFileExportPac { get; set; }
|
||||
@ -6369,6 +6370,12 @@ $HorzAlign = Center
|
||||
shortcuts.MainFileImportPlainText = subNode.InnerText;
|
||||
}
|
||||
|
||||
subNode = node.SelectSingleNode("MainFileImportBdSupForEdit");
|
||||
if (subNode != null)
|
||||
{
|
||||
shortcuts.MainFileImportBdSupForEdit = subNode.InnerText;
|
||||
}
|
||||
|
||||
subNode = node.SelectSingleNode("MainFileImportTimeCodes");
|
||||
if (subNode != null)
|
||||
{
|
||||
@ -8427,6 +8434,7 @@ $HorzAlign = Center
|
||||
textWriter.WriteElementString("MainFileOpenOriginal", shortcuts.MainFileOpenOriginal);
|
||||
textWriter.WriteElementString("MainFileSaveAll", shortcuts.MainFileSaveAll);
|
||||
textWriter.WriteElementString("MainFileImportPlainText", shortcuts.MainFileImportPlainText);
|
||||
textWriter.WriteElementString("MainFileImportBdSupForEdit", shortcuts.MainFileImportBdSupForEdit);
|
||||
textWriter.WriteElementString("MainFileImportTimeCodes", shortcuts.MainFileImportTimeCodes);
|
||||
textWriter.WriteElementString("MainFileExportPlainText", shortcuts.MainFileExportPlainText);
|
||||
textWriter.WriteElementString("MainFileExportEbu", shortcuts.MainFileExportEbu);
|
||||
|
@ -1504,6 +1504,7 @@ namespace Nikse.SubtitleEdit.Core
|
||||
ImportText = "Plain text...",
|
||||
ImportImages = "Images...",
|
||||
ImportTimecodes = "Time codes...",
|
||||
Import = "Import",
|
||||
Export = "Export",
|
||||
ExportBdnXml = "BDN xml/png...",
|
||||
ExportBluRaySup = "Blu-ray sup...",
|
||||
|
@ -3487,6 +3487,9 @@ namespace Nikse.SubtitleEdit.Core
|
||||
case "Main/Menu/File/ImportTimecodes":
|
||||
language.Main.Menu.File.ImportTimecodes = reader.Value;
|
||||
break;
|
||||
case "Main/Menu/File/Import":
|
||||
language.Main.Menu.File.Import = reader.Value;
|
||||
break;
|
||||
case "Main/Menu/File/Export":
|
||||
language.Main.Menu.File.Export = reader.Value;
|
||||
break;
|
||||
|
@ -1365,6 +1365,7 @@
|
||||
public string ImportText { get; set; }
|
||||
public string ImportImages { get; set; }
|
||||
public string ImportTimecodes { get; set; }
|
||||
public string Import { get; set; }
|
||||
public string Export { get; set; }
|
||||
public string ExportBdnXml { get; set; }
|
||||
public string ExportBluRaySup { get; set; }
|
||||
|
@ -1410,6 +1410,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
toolStripMenuItemImportText.Text = _language.Menu.File.ImportText;
|
||||
toolStripMenuItemImportImages.Text = _language.Menu.File.ImportImages;
|
||||
toolStripMenuItemImportTimeCodes.Text = _language.Menu.File.ImportTimecodes;
|
||||
toolStripMenuItemImport.Text = _language.Menu.File.Import;
|
||||
toolStripMenuItemExport.Text = _language.Menu.File.Export;
|
||||
toolStripMenuItemExportPngXml.Text = _language.Menu.File.ExportBdnXml;
|
||||
toolStripMenuItemExportBluraySup.Text = _language.Menu.File.ExportBluRaySup;
|
||||
@ -21029,6 +21030,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
removeOriginalToolStripMenuItem.ShortcutKeys = UiUtil.GetKeys(Configuration.Settings.Shortcuts.MainFileCloseOriginal);
|
||||
toolStripMenuItemCompare.ShortcutKeys = UiUtil.GetKeys(Configuration.Settings.Shortcuts.MainFileCompare);
|
||||
toolStripMenuItemImportText.ShortcutKeys = UiUtil.GetKeys(Configuration.Settings.Shortcuts.MainFileImportPlainText);
|
||||
toolStripMenuItemImportBluraySupFileForEdit.ShortcutKeys = UiUtil.GetKeys(Configuration.Settings.Shortcuts.MainFileImportBdSupForEdit);
|
||||
toolStripMenuItemImportTimeCodes.ShortcutKeys = UiUtil.GetKeys(Configuration.Settings.Shortcuts.MainFileImportTimeCodes);
|
||||
toolStripMenuItemExportEBUSTL.ShortcutKeys = UiUtil.GetKeys(Configuration.Settings.Shortcuts.MainFileExportEbu);
|
||||
toolStripMenuItemExportPACScreenElectronics.ShortcutKeys = UiUtil.GetKeys(Configuration.Settings.Shortcuts.MainFileExportPac);
|
||||
@ -27207,7 +27209,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
openFileDialog1.Title = _language.OpenSubtitleVideoFile;
|
||||
openFileDialog1.FileName = string.Empty;
|
||||
openFileDialog1.Filter = _language.VideoFiles + "|*.mkv;*.mks;*.mp4;*.ts;*.m2ts;*.mpeg;*.divx;*.avi";
|
||||
openFileDialog1.Filter = _language.VideoFiles + "|*.mkv;*.mks;*.mp4;*.ts;*.m2ts;*.mpeg;*.divx;*.avi";
|
||||
if (openFileDialog1.ShowDialog(this) == DialogResult.OK)
|
||||
{
|
||||
openFileDialog1.InitialDirectory = Path.GetDirectoryName(openFileDialog1.FileName);
|
||||
|
@ -1149,8 +1149,9 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
AddNode(fileNode, Configuration.Settings.Language.Main.Menu.File.CloseOriginal, nameof(Configuration.Settings.Shortcuts.MainFileCloseOriginal), true);
|
||||
AddNode(fileNode, language.MainFileSaveAll, nameof(Configuration.Settings.Shortcuts.MainFileSaveAll));
|
||||
AddNode(fileNode, Configuration.Settings.Language.Main.Menu.File.Compare, nameof(Configuration.Settings.Shortcuts.MainFileCompare), true);
|
||||
AddNode(fileNode, Configuration.Settings.Language.Main.Menu.File.ImportText, nameof(Configuration.Settings.Shortcuts.MainFileImportPlainText), true);
|
||||
AddNode(fileNode, Configuration.Settings.Language.Main.Menu.File.ImportTimecodes, nameof(Configuration.Settings.Shortcuts.MainFileImportTimeCodes), true);
|
||||
AddNode(fileNode, Configuration.Settings.Language.Main.Menu.File.Import + " -> " + Configuration.Settings.Language.Main.Menu.File.ImportText, nameof(Configuration.Settings.Shortcuts.MainFileImportPlainText), true);
|
||||
AddNode(fileNode, Configuration.Settings.Language.Main.Menu.File.Import + " -> " + Configuration.Settings.Language.Main.Menu.File.ImportBluRaySupFileEdit, nameof(Configuration.Settings.Shortcuts.MainFileImportBdSupForEdit), true);
|
||||
AddNode(fileNode, Configuration.Settings.Language.Main.Menu.File.Import + " -> " + Configuration.Settings.Language.Main.Menu.File.ImportTimecodes, nameof(Configuration.Settings.Shortcuts.MainFileImportTimeCodes), true);
|
||||
AddNode(fileNode, Configuration.Settings.Language.Main.Menu.File.Export + " -> " + Configuration.Settings.Language.Main.Menu.File.ExportEbu, nameof(Configuration.Settings.Shortcuts.MainFileExportEbu), true);
|
||||
AddNode(fileNode, Configuration.Settings.Language.Main.Menu.File.Export + " -> " + Configuration.Settings.Language.Main.Menu.File.ExportPac, nameof(Configuration.Settings.Shortcuts.MainFileExportPac), true);
|
||||
AddNode(fileNode, Configuration.Settings.Language.Main.Menu.File.Export + " -> " + Configuration.Settings.Language.Main.Menu.File.ExportPlainText, nameof(Configuration.Settings.Shortcuts.MainFileExportPlainText), true);
|
||||
|
Loading…
Reference in New Issue
Block a user