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

🌐 Add Chinese translation for Tutorial - Extra Data Types #2410

Merged
merged 7 commits into from
Feb 7, 2021

Conversation

maoyibo
Copy link
Contributor

@maoyibo maoyibo commented Nov 25, 2020

Chinese translation add tutorial/extra-data-types

@codecov
Copy link

codecov bot commented Nov 25, 2020

Codecov Report

Merging #2410 (bed549e) into master (08cbc6c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #2410   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          243       243           
  Lines         7419      7419           
=========================================
  Hits          7419      7419           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a2199c5...bed549e. Read the comment docs.

@github-actions
Copy link
Contributor


但是您也可以使用更复杂的数据类型。

And you will still have the same features as seen up to now:
Copy link
Contributor

Choose a reason for hiding this comment

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

This line should be deleted.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed, thanks.

* Python `datetime.date`.
* 在请求和响应中将表示为 ISO 8601 格式的 `str` ,比如: `2008-09-15`.
* `datetime.time`:
* A Python `datetime.time`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Untranslated “A”

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed, thanks.

* A Python `datetime.time`.
* 在请求和响应中将表示为 ISO 8601 格式的 `str` ,比如: `14:23:55.003`.
* `datetime.timedelta`:
* A Python `datetime.timedelta`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Untranslated “A”

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed, thanks.

@tiangolo tiangolo changed the title Chinese translation add tutorial/extra-data-types 🌐 Add Chinese translation for Tutorial - Extra Data Types Nov 25, 2020
@tiangolo tiangolo added awaiting-review lang-all Translations lang-zh Chinese translations labels Nov 25, 2020
@github-actions
Copy link
Contributor

{!../../../docs_src/extra_data_types/tutorial001.py!}
```

注意,函数内的参数有其天然的数据类型,你可以,例如,执行正常的日期操作,如:
Copy link
Contributor

Choose a reason for hiding this comment

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

natural -》 原生 Would be better to understand?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, "原生" is more appropriate, fixed, Thanks.

@tiangolo
Copy link
Member

tiangolo commented Feb 7, 2021

Thanks for your contribution @maoyibo ! 🍰 🤓

And thanks @waynerv and @Laineyzhang55 for your reviews. 🙇 🚀

@tiangolo tiangolo merged commit 6d06e13 into fastapi:master Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved-2 lang-all Translations lang-zh Chinese translations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants