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

🌐 Update Chinese translation for docs/zh/docs/reference/* #11601

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

binaryYuki
Copy link

Apologise for any inconvenient

This is the fixed version of #11597

@tiangolo
Copy link
Owner

📝 Docs preview for commit b9c5310 at: https://6fb13866.fastapitiangolo.pages.dev

Signed-off-by: binaryYuki <60097976+binaryYuki@users.noreply.github.com>
@tiangolo
Copy link
Owner

📝 Docs preview for commit 06e4631 at: https://f0aa103a.fastapitiangolo.pages.dev

@alejsdev alejsdev changed the title Update Chinese translation for docs/zh/docs/reference/* 🌐 Update Chinese translation for docs/zh/docs/reference/* May 19, 2024
@alejsdev alejsdev added lang-all Translations lang-zh Chinese translations awaiting-review labels May 19, 2024
@tiangolo
Copy link
Owner

📝 Docs preview for commit 7d31bea at: https://724b70b7.fastapitiangolo.pages.dev

Copy link
Contributor

@wdh99 wdh99 left a 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。

HTTPConnection 类一节,“您可以从 fastapi.requests 中导入该参数:”表述不准确, “该参数”需要去掉。
Response 类一节,“您可以将路径操作函数或依赖关系中的参数声明为 Response 类型,然后为响应设置数据,如标题或 cookie。”
@binaryYuki
Copy link
Author

感谢 @wdh99 的指正
已修改

@tiangolo
Copy link
Owner

📝 Docs preview for commit 57ac416 at: https://a8087cec.fastapitiangolo.pages.dev

@tiangolo
Copy link
Owner

📝 Docs preview for commit c21dbb1 at: https://a0336d6c.fastapitiangolo.pages.dev

@binaryYuki
Copy link
Author

binaryYuki commented May 31, 2024

Hi @alejsdev,

Hope everything goes well.

If possible, would you like to review this pr so we can help more Mandarin speaking developers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved-1 lang-all Translations lang-zh Chinese translations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants