mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Make video contrast/brightness shortcuts available in UI (mpv only)
This commit is contained in:
parent
147659be12
commit
6bd5b09604
@ -2299,6 +2299,8 @@ can edit in same subtitle file (collaboration)</Information>
|
||||
<PlayRateFaster>Play rate faster</PlayRateFaster>
|
||||
<VideoResetSpeedAndZoom>Reset speed/zoom</VideoResetSpeedAndZoom>
|
||||
<MainToggleVideoControls>Toggle video controls</MainToggleVideoControls>
|
||||
<VideoToggleContrast>Toggle contrast (mpv only)</VideoToggleContrast>
|
||||
<VideoToggleBrightness>Toggle brightness (mpv only)</VideoToggleBrightness>
|
||||
<CustomSearch1>Translate, custom search 1</CustomSearch1>
|
||||
<CustomSearch2>Translate, custom search 2</CustomSearch2>
|
||||
<CustomSearch3>Translate, custom search 3</CustomSearch3>
|
||||
|
@ -1376,6 +1376,8 @@ namespace Nikse.SubtitleEdit.Forms.Options
|
||||
AddNode(videoNode, language.PlayRateFaster, nameof(Configuration.Settings.Shortcuts.MainVideoFaster));
|
||||
AddNode(videoNode, language.VideoResetSpeedAndZoom, nameof(Configuration.Settings.Shortcuts.MainVideoReset));
|
||||
AddNode(videoNode, language.MainToggleVideoControls, nameof(Configuration.Settings.Shortcuts.MainToggleVideoControls));
|
||||
AddNode(videoNode, language.VideoToggleContrast, nameof(Configuration.Settings.Shortcuts.MainVideoToggleContrast));
|
||||
AddNode(videoNode, language.VideoToggleBrightness, nameof(Configuration.Settings.Shortcuts.MainVideoToggleBrightness));
|
||||
if (videoNode.Nodes.Count > 0)
|
||||
{
|
||||
_shortcuts.Nodes.Add(videoNode);
|
||||
|
@ -2610,6 +2610,8 @@ can edit in same subtitle file (collaboration)",
|
||||
PlayRateFaster = "Play rate faster",
|
||||
VideoResetSpeedAndZoom = "Reset speed/zoom",
|
||||
MainToggleVideoControls = "Toggle video controls",
|
||||
VideoToggleContrast = "Toggle contrast (mpv only)",
|
||||
VideoToggleBrightness = "Toggle brightness (mpv only)",
|
||||
CustomSearch1 = "Translate, custom search 1",
|
||||
CustomSearch2 = "Translate, custom search 2",
|
||||
CustomSearch3 = "Translate, custom search 3",
|
||||
|
@ -6307,6 +6307,12 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
case "Settings/MainToggleVideoControls":
|
||||
language.Settings.MainToggleVideoControls = reader.Value;
|
||||
break;
|
||||
case "Settings/VideoToggleContrast":
|
||||
language.Settings.VideoToggleContrast = reader.Value;
|
||||
break;
|
||||
case "Settings/VideoToggleBrightness":
|
||||
language.Settings.VideoToggleBrightness = reader.Value;
|
||||
break;
|
||||
case "Settings/CustomSearch1":
|
||||
language.Settings.CustomSearch1 = reader.Value;
|
||||
break;
|
||||
|
@ -2472,6 +2472,8 @@
|
||||
public string PlayRateFaster { get; set; }
|
||||
public string VideoResetSpeedAndZoom { get; set; }
|
||||
public string MainToggleVideoControls { get; set; }
|
||||
public string VideoToggleContrast { get; set; }
|
||||
public string VideoToggleBrightness { get; set; }
|
||||
public string CustomSearch1 { get; set; }
|
||||
public string CustomSearch2 { get; set; }
|
||||
public string CustomSearch3 { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user