diff --git a/LanguageBaseEnglish.xml b/LanguageBaseEnglish.xml
index a54d84ca9..e66c358aa 100644
--- a/LanguageBaseEnglish.xml
+++ b/LanguageBaseEnglish.xml
@@ -203,6 +203,7 @@ Read more info (web)?
Max. chars per subtitle line
Remove temporary files
Set CPP/Const-me models folder...
+ Run only post-processing/adjust timings
Advanced Sub Station Alpha attachments
diff --git a/src/ui/Forms/AudioToText/WhisperAudioToText.cs b/src/ui/Forms/AudioToText/WhisperAudioToText.cs
index 0c0475e2e..89c288337 100644
--- a/src/ui/Forms/AudioToText/WhisperAudioToText.cs
+++ b/src/ui/Forms/AudioToText/WhisperAudioToText.cs
@@ -1534,8 +1534,12 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
_subtitle = WhisperTimingFixer.ShortenLongTexts(_subtitle);
_subtitle = WhisperTimingFixer.ShortenViaWavePeaks(_subtitle, wavePeaks);
}
+ else if (!checkBoxUsePostProcessing.Checked)
+ {
+ return;
+ }
- TranscribedSubtitle = postProcessor.Fix(AudioToTextPostProcessor.Engine.Whisper, _subtitle, true, true, true, true, true, true);
+ TranscribedSubtitle = postProcessor.Fix(AudioToTextPostProcessor.Engine.Whisper, _subtitle, checkBoxUsePostProcessing.Checked, true, true, true, true, true);
DialogResult = DialogResult.OK;
}
finally
diff --git a/src/ui/Logic/Language.cs b/src/ui/Logic/Language.cs
index 92e204dbe..e03016e5c 100644
--- a/src/ui/Logic/Language.cs
+++ b/src/ui/Logic/Language.cs
@@ -350,7 +350,7 @@ namespace Nikse.SubtitleEdit.Logic
MaxCharsPerSubtitle = "Max. chars per subtitle line",
RemoveTemporaryFiles = "Remove temporary files",
SetCppConstMeFolder = "Set CPP/Const-me models folder...",
- OnlyRunPostProcessing = "",
+ OnlyRunPostProcessing = "Run only post-processing/adjust timings",
};
AssaAttachments = new LanguageStructure.AssaAttachments
diff --git a/src/ui/Logic/LanguageDeserializer.cs b/src/ui/Logic/LanguageDeserializer.cs
index bc37e439c..07f04ee28 100644
--- a/src/ui/Logic/LanguageDeserializer.cs
+++ b/src/ui/Logic/LanguageDeserializer.cs
@@ -550,6 +550,9 @@ namespace Nikse.SubtitleEdit.Logic
case "AudioToText/SetCppConstMeFolder":
language.AudioToText.SetCppConstMeFolder = reader.Value;
break;
+ case "AudioToText/OnlyRunPostProcessing":
+ language.AudioToText.OnlyRunPostProcessing = reader.Value;
+ break;
case "AssaAttachments/Title":
language.AssaAttachments.Title = reader.Value;
break;