diff --git a/LanguageBaseEnglish.xml b/LanguageBaseEnglish.xml index 7032d7ea2..92b9b78f6 100644 --- a/LanguageBaseEnglish.xml +++ b/LanguageBaseEnglish.xml @@ -179,6 +179,7 @@ Note: Do check free disk space. Audio to text Generate text from audio via Vosk/Kaldi speech recognition Generate text from audio via Whisper speech recognition + Engine Vosk website Whisper website Whisper not found. diff --git a/src/ui/Forms/AudioToText/WhisperAudioToText.cs b/src/ui/Forms/AudioToText/WhisperAudioToText.cs index 3b0270574..86cc63ced 100644 --- a/src/ui/Forms/AudioToText/WhisperAudioToText.cs +++ b/src/ui/Forms/AudioToText/WhisperAudioToText.cs @@ -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(); diff --git a/src/ui/Logic/Language.cs b/src/ui/Logic/Language.cs index ad408690f..f0de1d54e 100644 --- a/src/ui/Logic/Language.cs +++ b/src/ui/Logic/Language.cs @@ -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)?", diff --git a/src/ui/Logic/LanguageDeserializer.cs b/src/ui/Logic/LanguageDeserializer.cs index e8f56b5a6..ea358c5bf 100644 --- a/src/ui/Logic/LanguageDeserializer.cs +++ b/src/ui/Logic/LanguageDeserializer.cs @@ -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; diff --git a/src/ui/Logic/LanguageStructure.cs b/src/ui/Logic/LanguageStructure.cs index cac0d9cb4..8bbe36450 100644 --- a/src/ui/Logic/LanguageStructure.cs +++ b/src/ui/Logic/LanguageStructure.cs @@ -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; }