-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
🌐 Update Chinese translation for docs/zh/docs/reference/*
#11601
Conversation
📝 Docs preview for commit b9c5310 at: https://6fb13866.fastapitiangolo.pages.dev |
Signed-off-by: binaryYuki <60097976+binaryYuki@users.noreply.github.com>
📝 Docs preview for commit 06e4631 at: https://f0aa103a.fastapitiangolo.pages.dev |
docs/zh/docs/reference/*
📝 Docs preview for commit 7d31bea at: https://724b70b7.fastapitiangolo.pages.dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
后台任务这一节,“您可以直接从 fastapi 中导入该参数:”表述不准确, “该参数”需要去掉, 因为导入的是一个类。
HTTPConnection 类一节,“您可以从 fastapi.requests 中导入该参数:”表述不准确, “该参数”需要去掉。
Response 类一节,“您可以将路径操作函数或依赖关系中的参数声明为 Response 类型,然后为响应设置数据,如标题或 cookie。” headers中文一般翻译作“请求头”,也可以直接保留headers不翻译;cookie少了一个s。
Response 类一节,“您可以将路径操作函数或依赖关系中的参数声明为 Response 类型,然后为响应设置数据,如标题或 cookie。”
感谢 @wdh99 的指正 |
📝 Docs preview for commit 57ac416 at: https://a8087cec.fastapitiangolo.pages.dev |
📝 Docs preview for commit c21dbb1 at: https://a0336d6c.fastapitiangolo.pages.dev |
Thank you! But as the reference includes the content of the docstrings from the internal code, translating it would mean that only some bits would really be translated, the rest would be included in English. But it would still require synchronizing it when there are updates in the original. So I prefer not having translations of the reference, only the rest of the docs. Given that, I'll pass on this one, but thanks for the effort! 🍰 |
Apologise for any inconvenient
This is the fixed version of #11597