Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🌐 Add Chinese translation fordocs/zh/docs/tutorial/cookie-param-models.md#13038

Merged
alejsdev merged 4 commits intofastapi:masterfrom
Zhongheng-Cheng:translate/cookie_param_models
Dec 10, 2024
Merged

🌐 Add Chinese translation fordocs/zh/docs/tutorial/cookie-param-models.md#13038
alejsdev merged 4 commits intofastapi:masterfrom
Zhongheng-Cheng:translate/cookie_param_models

Conversation

@Zhongheng-Cheng
Copy link
Contributor

Add Chinese translation fordocs/zh/docs/tutorial/cookie-param-models.md
docs/zh/docs/tutorial/cookie-param-models.md增加了中文翻译

@github-actionsgithub-actionsbot added the lang-allTranslations labelDec 5, 2024
@github-actions
Copy link
Contributor

@alejsdevalejsdev added lang-zhChinese translations awaiting-review labelsDec 9, 2024
Copy link
Contributor

@Vincy1230Vincy1230 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM.

顺带一提,我个人认为将英文翻译为中文时可以不保留英文中的复数习惯,你可以将cookiecookies 统一写作cookie,防止混乱的同时更契合中文的表述逻辑。
By the way, I personally think that when translating English into Chinese, it's okay to drop the plural forms in English. You could write bothcookie andcookies ascookie in Chinese to avoid confusion and better align with the logic of Chinese expression.

当然这只是一个无关痛痒的建议,决定权在你😎
Of course, this is just a trivial suggestion—the decision is yours 😎.

Zhongheng-Cheng reacted with heart emoji
@logan2d5
Copy link
Contributor

If you have a group of cookies that are related, you can create a Pydantic model to declare them. 🍪

This would allow you to re-use the model in multiple places and also to declare validations and metadata for all the parameters at once. 😎

如果有一组相关的 cookies,可以创建一个 Pydantic 模型来声明它们。🍪

这将允许在多个地方能够重用模型,并且可以一次性声明所有参数的验证和元数据。😎

"I think the word 'you' in this article should be consistently translated as either '你' or '您'."

Zhongheng-Cheng reacted with heart emoji

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@Zhongheng-Cheng
Copy link
ContributorAuthor

@logan2d5@Vincy1230
感谢你们的回复!我已经根据你们的建议做了相应的改动。
Thank you for your feedback! I have made the corresponding changes based on your suggestions.

@alejsdev
Copy link
Member

Thanks for the help!@Zhongheng-Cheng@Vincy1230@logan2d5 🚀 🙌

Zhongheng-Cheng reacted with hooray emoji

@alejsdevalejsdev merged commit9802b90 intofastapi:masterDec 10, 2024
@Zhongheng-ChengZhongheng-Cheng deleted the translate/cookie_param_models branchDecember 10, 2024 22:07
s-rigaud pushed a commit to s-rigaud/fastapi that referenced this pull requestJan 23, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

2 more reviewers

@Vincy1230Vincy1230Vincy1230 approved these changes

@logan2d5logan2d5logan2d5 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

approved-2lang-allTranslationslang-zhChinese translations

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@Zhongheng-Cheng@logan2d5@alejsdev@Vincy1230

Comments


[8]ページ先頭

©2009-2026 Movatter.jp