Add some missing translation for gen video w sub - thx domdoll :)

This commit is contained in:
niksedk 2022-01-01 12:08:48 +01:00
parent 895a553ce3
commit 18ddd50e34
5 changed files with 13 additions and 0 deletions

View File

@ -813,6 +813,7 @@ Note: Do check free disk space.</WaveFileMalformed>
<Encoding>Encoding</Encoding>
<BitRate>Bit rate</BitRate>
<SampleRate>Sample rate</SampleRate>
<Audio>Audio</Audio>
<Stereo>Stereo</Stereo>
<Preset>Preset</Preset>
<Crf>CRF</Crf>

View File

@ -70,6 +70,13 @@ namespace Nikse.SubtitleEdit.Forms
comboBoxTune.SelectedIndex = 0;
comboBoxAudioBitRate.Text = "128k";
checkBoxTargetFileSize_CheckedChanged(null, null);
checkBoxTargetFileSize.Text = LanguageSettings.Current.GenerateVideoWithBurnedInSubs.TargetFileSize;
labelFileSize.Text = LanguageSettings.Current.GenerateVideoWithBurnedInSubs.FileSizeMb;
numericUpDownTargetFileSize.Left = labelFileSize.Left + labelFileSize.Width + 5;
linkLabelHelp.Text = LanguageSettings.Current.Main.Menu.Help.Title;
groupBoxSettings.Text = LanguageSettings.Current.Settings.Title;
groupBoxVideo.Text = LanguageSettings.Current.Main.Menu.Video.Title;
groupBoxAudio.Text = LanguageSettings.Current.GenerateVideoWithBurnedInSubs.Audio;
comboBoxPreset.Text = Configuration.Settings.Tools.GenVideoPreset;
comboBoxVideoEncoding.Text = Configuration.Settings.Tools.GenVideoEncoding;

View File

@ -1033,6 +1033,7 @@ namespace Nikse.SubtitleEdit.Logic
Encoding = "Encoding",
BitRate = "Bit rate",
SampleRate = "Sample rate",
Audio = "Audio",
Stereo = "Stereo",
Preset = "Preset",
Crf = "CRF",

View File

@ -2158,6 +2158,9 @@ namespace Nikse.SubtitleEdit.Logic
case "GenerateVideoWithBurnedInSubs/SampleRate":
language.GenerateVideoWithBurnedInSubs.SampleRate = reader.Value;
break;
case "GenerateVideoWithBurnedInSubs/Audio":
language.GenerateVideoWithBurnedInSubs.Audio = reader.Value;
break;
case "GenerateVideoWithBurnedInSubs/Stereo":
language.GenerateVideoWithBurnedInSubs.Stereo = reader.Value;
break;

View File

@ -894,6 +894,7 @@
public string Encoding { get; set; }
public string BitRate { get; set; }
public string SampleRate { get; set; }
public string Audio { get; set; }
public string Stereo { get; set; }
public string Preset { get; set; }
public string Crf { get; set; }