We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
划词翻译版本:8.7.3 浏览器版本:Firefox 98.0.2 操作系统:windows 10
1.打开网站https://diskanalyzer.com/download?ref=upgrade 2.使用申请的标准版百度翻译密钥,选中一段文本翻译
出现报错,我没有登陆所以没有翻译积分
选其他或部分文本翻译都不会出现这个
The text was updated successfully, but these errors were encountered:
重现了,但无法解决。
出现这个问题的原因是百度翻译接口对你划选的这段话(且正好是这段话,少了或者多了都没问题)没有返回任何内容,甚至没有报错信息(如下图),所以划词翻译在尝试读取错误码(也就是error_code)的时候就报错了。
error_code
这是百度翻译的问题,我没法解决,我能做的就是改进一下报错信息,当出现空返回的情况给一个比较人性化的错误信息例如“百度翻译对这段文本没有返回翻译结果”。
Sorry, something went wrong.
No branches or pull requests
基本信息
划词翻译版本:8.7.3
浏览器版本:Firefox 98.0.2
操作系统:windows 10
重现问题的步骤
1.打开网站https://diskanalyzer.com/download?ref=upgrade
2.使用申请的标准版百度翻译密钥,选中一段文本翻译
实际行为
出现报错,我没有登陆所以没有翻译积分
补充信息
选其他或部分文本翻译都不会出现这个
The text was updated successfully, but these errors were encountered: