mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
Add language tag for "AddWaveformAndSpectrogram" in shortcuts
This commit is contained in:
parent
3016c1ad0c
commit
5c5269a65f
@ -2739,6 +2739,7 @@ Keep changes?</KeepChangesMessage>
|
||||
<ErrorUnicodeEncodingOnly>Watermark only works with unicode file encoding.</ErrorUnicodeEncodingOnly>
|
||||
</Watermark>
|
||||
<Waveform>
|
||||
<AddWaveformAndSpectrogram>Add waveform/spectrogram</AddWaveformAndSpectrogram>
|
||||
<ClickToAddWaveform>Click to add waveform</ClickToAddWaveform>
|
||||
<ClickToAddWaveformAndSpectrogram>Click to add waveform/spectrogram</ClickToAddWaveformAndSpectrogram>
|
||||
<Seconds>seconds</Seconds>
|
||||
|
@ -3101,6 +3101,7 @@ Keep changes?",
|
||||
|
||||
Waveform = new LanguageStructure.Waveform
|
||||
{
|
||||
AddWaveformAndSpectrogram = "Add waveform/spectrogram",
|
||||
ClickToAddWaveform = "Click to add waveform",
|
||||
ClickToAddWaveformAndSpectrogram = "Click to add waveform/spectrogram",
|
||||
Seconds = "seconds",
|
||||
|
@ -7459,6 +7459,9 @@ namespace Nikse.SubtitleEdit.Core
|
||||
case "Watermark/ErrorUnicodeEncodingOnly":
|
||||
language.Watermark.ErrorUnicodeEncodingOnly = reader.Value;
|
||||
break;
|
||||
case "Waveform/AddWaveformAndSpectrogram":
|
||||
language.Waveform.AddWaveformAndSpectrogram = reader.Value;
|
||||
break;
|
||||
case "Waveform/ClickToAddWaveform":
|
||||
language.Waveform.ClickToAddWaveform = reader.Value;
|
||||
break;
|
||||
|
@ -2957,6 +2957,7 @@
|
||||
|
||||
public class Waveform
|
||||
{
|
||||
public string AddWaveformAndSpectrogram { get; set; }
|
||||
public string ClickToAddWaveform { get; set; }
|
||||
public string ClickToAddWaveformAndSpectrogram { get; set; }
|
||||
public string Seconds { get; set; }
|
||||
|
@ -1405,7 +1405,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
}
|
||||
|
||||
var audioVisualizerNode = new ShortcutNode(language.WaveformAndSpectrogram);
|
||||
AddNode(audioVisualizerNode, Configuration.Settings.Language.Waveform.ClickToAddWaveformAndSpectrogram, nameof(Configuration.Settings.Shortcuts.WaveformAdd));
|
||||
AddNode(audioVisualizerNode, Configuration.Settings.Language.Waveform.AddWaveformAndSpectrogram, nameof(Configuration.Settings.Shortcuts.WaveformAdd));
|
||||
AddNode(audioVisualizerNode, Configuration.Settings.Language.Waveform.ZoomIn, nameof(Configuration.Settings.Shortcuts.WaveformZoomIn));
|
||||
AddNode(audioVisualizerNode, Configuration.Settings.Language.Waveform.ZoomOut, nameof(Configuration.Settings.Shortcuts.WaveformZoomOut));
|
||||
AddNode(audioVisualizerNode, language.VerticalZoom, nameof(Configuration.Settings.Shortcuts.WaveformVerticalZoom));
|
||||
|
Loading…
Reference in New Issue
Block a user