diff --git a/Changelog.txt b/Changelog.txt index 920178e63..9abe430e7 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -4,7 +4,7 @@ * NEW: * Add "Open video" toolbar button/image - thx jmaraujouy/Cyberyoda1411 * Add support for S_HDMV/TEXTST in MKV in batch/cmd-line - thx ipsi - * Add support for Bluray .sup (PGS) embedding in Matroska (.mks) file + * Add support for Bluray .sup (PGS) embedding in Matroska (.mkv) file * Add a few quick setting buttons for Purfview's Faster Whisper Advanced * Add a few animation templates for ASSA tool "Apply custom override tags" * Add French interjections @@ -27,6 +27,7 @@ * Fix issue with Combobox and ContextMenuStrip - thx ivandrofly * Fix ChatGTP translate - thx longhoang1993 * Fix "Batch convert" crash on Linux - thx ivandrofly/aggravatedanteater + * Fix for missing lines when embedding soft subs in .mp4 files - thx Joe 4.0.4 (17th March 2024) diff --git a/src/ui/Forms/Translate/AutoTranslate.cs b/src/ui/Forms/Translate/AutoTranslate.cs index 3d0f513e3..0b2d8fe61 100644 --- a/src/ui/Forms/Translate/AutoTranslate.cs +++ b/src/ui/Forms/Translate/AutoTranslate.cs @@ -932,9 +932,10 @@ namespace Nikse.SubtitleEdit.Forms.Translate Configuration.Settings.Tools.AutoTranslateMyMemoryApiKey = nikseTextBoxApiKey.Text.Trim(); } - if (engineType == typeof(ChatGptTranslate) && !string.IsNullOrWhiteSpace(nikseTextBoxApiKey.Text)) + if (engineType == typeof(ChatGptTranslate)) { Configuration.Settings.Tools.ChatGptApiKey = nikseTextBoxApiKey.Text.Trim(); + Configuration.Settings.Tools.ChatGptUrl = nikseComboBoxUrl.Text.Trim(); } if (engineType == typeof(AnthropicTranslate) && !string.IsNullOrWhiteSpace(nikseTextBoxApiKey.Text))