mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Work on #8192
This commit is contained in:
parent
b70f6ed2e4
commit
3a68c56174
@ -74,8 +74,10 @@ namespace Nikse.SubtitleEdit.Core.AutoTranslate
|
|||||||
|
|
||||||
result.EnsureSuccessStatusCode();
|
result.EnsureSuccessStatusCode();
|
||||||
|
|
||||||
|
SeLogger.Error($"{StaticName}: debug json: " + json);
|
||||||
|
|
||||||
var parser = new SeJsonParser();
|
var parser = new SeJsonParser();
|
||||||
var resultText = parser.GetFirstObject(json, "content");
|
var resultText = parser.GetFirstObject(json, "text");
|
||||||
if (resultText == null)
|
if (resultText == null)
|
||||||
{
|
{
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
|
Loading…
Reference in New Issue
Block a user