mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Use ChatGPT url from translate window
This commit is contained in:
parent
a3fc34c681
commit
6965b05f0b
@ -4,7 +4,7 @@
|
|||||||
* NEW:
|
* NEW:
|
||||||
* Add "Open video" toolbar button/image - thx jmaraujouy/Cyberyoda1411
|
* 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 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 quick setting buttons for Purfview's Faster Whisper Advanced
|
||||||
* Add a few animation templates for ASSA tool "Apply custom override tags"
|
* Add a few animation templates for ASSA tool "Apply custom override tags"
|
||||||
* Add French interjections
|
* Add French interjections
|
||||||
@ -27,6 +27,7 @@
|
|||||||
* Fix issue with Combobox and ContextMenuStrip - thx ivandrofly
|
* Fix issue with Combobox and ContextMenuStrip - thx ivandrofly
|
||||||
* Fix ChatGTP translate - thx longhoang1993
|
* Fix ChatGTP translate - thx longhoang1993
|
||||||
* Fix "Batch convert" crash on Linux - thx ivandrofly/aggravatedanteater
|
* 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)
|
4.0.4 (17th March 2024)
|
||||||
|
@ -932,9 +932,10 @@ namespace Nikse.SubtitleEdit.Forms.Translate
|
|||||||
Configuration.Settings.Tools.AutoTranslateMyMemoryApiKey = nikseTextBoxApiKey.Text.Trim();
|
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.ChatGptApiKey = nikseTextBoxApiKey.Text.Trim();
|
||||||
|
Configuration.Settings.Tools.ChatGptUrl = nikseComboBoxUrl.Text.Trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (engineType == typeof(AnthropicTranslate) && !string.IsNullOrWhiteSpace(nikseTextBoxApiKey.Text))
|
if (engineType == typeof(AnthropicTranslate) && !string.IsNullOrWhiteSpace(nikseTextBoxApiKey.Text))
|
||||||
|
Loading…
Reference in New Issue
Block a user