Work on Gemini translate

This commit is contained in:
Nikolaj Olsson 2024-01-28 17:59:15 +01:00
parent c961c0bd3b
commit fe514c9c9a

View File

@ -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;