Skip to content
New issue

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

返回值更改 #20

Closed
Zzz233 opened this issue Apr 19, 2022 · 5 comments
Closed

返回值更改 #20

Zzz233 opened this issue Apr 19, 2022 · 5 comments

Comments

@Zzz233
Copy link

Zzz233 commented Apr 19, 2022

text = client.translate('请多多指教', target='ja')
assert text.translatedText == 'お知らせ下さい'

现在应该是了:
text = client.translate('请多多指教', target='ja')
assert text.translatedText == ['お知らせ下さい', 'zh-CN']

@lemisky
Copy link
Member

lemisky commented Apr 19, 2022

为什么呢? 你再试试。。

@Zzz233
Copy link
Author

Zzz233 commented Apr 19, 2022

为什么呢? 你再试试。。

这应该是google方面把api的返回值改掉了

@lemisky
Copy link
Member

lemisky commented Apr 19, 2022

哎呀, 还真是

@lemisky
Copy link
Member

lemisky commented Apr 19, 2022

已更新

@lemisky lemisky closed this as completed Apr 19, 2022
@lemisky lemisky reopened this Apr 19, 2022
@lemisky
Copy link
Member

lemisky commented Apr 19, 2022

感谢反馈 @Zzz233

@lemisky lemisky closed this as completed Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants