mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Add "Engine" translation
This commit is contained in:
parent
f0db9eaa21
commit
4d6fa0bcbf
@ -179,6 +179,7 @@ Note: Do check free disk space.</WaveFileMalformed>
|
||||
<Title>Audio to text</Title>
|
||||
<Info>Generate text from audio via Vosk/Kaldi speech recognition</Info>
|
||||
<WhisperInfo>Generate text from audio via Whisper speech recognition</WhisperInfo>
|
||||
<Engine>Engine</Engine>
|
||||
<VoskWebsite>Vosk website</VoskWebsite>
|
||||
<WhisperWebsite>Whisper website</WhisperWebsite>
|
||||
<WhisperNotFound>Whisper not found.
|
||||
|
@ -99,7 +99,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
labelTime.Text = string.Empty;
|
||||
listViewInputFiles.Visible = false;
|
||||
labelElapsed.Text = string.Empty;
|
||||
|
||||
labelEngine.Text = LanguageSettings.Current.AudioToText.Engine;
|
||||
labelEngine.Left = comboBoxWhisperEngine.Left - labelEngine.Width - 5;
|
||||
|
||||
comboBoxCharsPerSub.BeginUpdate();
|
||||
|
@ -328,6 +328,7 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
Title = "Audio to text",
|
||||
Info = "Generate text from audio via Vosk/Kaldi speech recognition",
|
||||
WhisperInfo = "Generate text from audio via Whisper speech recognition",
|
||||
Engine = "Engine",
|
||||
VoskWebsite = "Vosk website",
|
||||
WhisperWebsite = "Whisper website",
|
||||
WhisperNotFound = "Whisper not found.\r\n\r\nRead more info (web)?",
|
||||
|
@ -484,6 +484,9 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
case "AudioToText/WhisperInfo":
|
||||
language.AudioToText.WhisperInfo = reader.Value;
|
||||
break;
|
||||
case "AudioToText/Engine":
|
||||
language.AudioToText.Engine = reader.Value;
|
||||
break;
|
||||
case "AudioToText/VoskWebsite":
|
||||
language.AudioToText.VoskWebsite = reader.Value;
|
||||
break;
|
||||
|
@ -185,6 +185,7 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
public string Title { get; set; }
|
||||
public string Info { get; set; }
|
||||
public string WhisperInfo { get; set; }
|
||||
public string Engine { get; set; }
|
||||
public string VoskWebsite { get; set; }
|
||||
public string WhisperWebsite { get; set; }
|
||||
public string WhisperNotFound { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user