Add missing translation - thx domddol :)

This commit is contained in:
niksedk 2022-10-08 20:44:26 +02:00
parent 28a2272a1f
commit 38a46ea7e8
5 changed files with 10 additions and 4 deletions

View File

@ -179,6 +179,9 @@ Note: Do check free disk space.</WaveFileMalformed>
<WhisperInfo>Generate text from audio via Whisper speech recognition</WhisperInfo>
<VoskWebsite>Vosk website</VoskWebsite>
<WhisperWebsite>Whisper website</WhisperWebsite>
<WhisperNotFound>Whisper not found.
Read more info (web)?</WhisperNotFound>
<Models>Models</Models>
<LanguagesAndModels>Languages and models</LanguagesAndModels>
<ChooseModel>Choose model</ChooseModel>

View File

@ -34605,13 +34605,11 @@ namespace Nikse.SubtitleEdit.Forms
if (!WhisperHelper.IsWhisperInstalled())
{
if (MessageBox.Show("Whisper not found." + Environment.NewLine +
Environment.NewLine +
"Go to the Whisper website?",
if (MessageBox.Show(LanguageSettings.Current.AudioToText.WhisperNotFound,
"Subtitle Edit",
MessageBoxButtons.YesNoCancel) == DialogResult.Yes)
{
UiUtil.OpenUrl("https://github.com/openai/whisper");
UiUtil.ShowHelp("#audio_to_text");
}
return;

View File

@ -327,6 +327,7 @@ namespace Nikse.SubtitleEdit.Logic
WhisperInfo = "Generate text from audio via Whisper speech recognition",
VoskWebsite = "Vosk website",
WhisperWebsite = "Whisper website",
WhisperNotFound = "Whisper not found.\r\n\r\nRead more info (web)?",
Models = "Models",
LanguagesAndModels = "Languages and models",
ChooseModel = "Choose model",

View File

@ -484,6 +484,9 @@ namespace Nikse.SubtitleEdit.Logic
case "AudioToText/WhisperWebsite":
language.AudioToText.WhisperWebsite = reader.Value;
break;
case "AudioToText/WhisperNotFound":
language.AudioToText.WhisperNotFound = reader.Value;
break;
case "AudioToText/Models":
language.AudioToText.Models = reader.Value;
break;

View File

@ -183,6 +183,7 @@
public string WhisperInfo { get; set; }
public string VoskWebsite { get; set; }
public string WhisperWebsite { get; set; }
public string WhisperNotFound { get; set; }
public string Models { get; set; }
public string LanguagesAndModels { get; set; }
public string ChooseModel { get; set; }