mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Work on Gemini translate
This commit is contained in:
parent
c961c0bd3b
commit
fe514c9c9a
@ -69,7 +69,7 @@ namespace Nikse.SubtitleEdit.Core.AutoTranslate
|
||||
result.EnsureSuccessStatusCode();
|
||||
|
||||
var parser = new SeJsonParser();
|
||||
var resultText = parser.GetFirstObject(json, "content");
|
||||
var resultText = parser.GetFirstObject(json, "text");
|
||||
if (resultText == null)
|
||||
{
|
||||
return string.Empty;
|
||||
|
Loading…
Reference in New Issue
Block a user