8000 馃寪 Add Ukrainian translation for `docs/uk/docs/tutorial/body.md` by ss-o-furda 路 Pull Request #4574 路 fastapi/fastapi 路 GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃寪 Add Ukrainian translation for docs/uk/docs/tutorial/body.md #4574

Merged
merged 9 commits into from
Jul 27, 2023

Conversation

ss-o-furda
Copy link
Contributor

related: #1748

Copy link
@khlopko khlopko left a comment

Choose a reason for hiding this comment

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

Translated text exactly matches the content in English documentation and correct in Ukranian language.

@tiangolo tiangolo added lang-all Translations awaiting-review lang-uk Ukrainian translations labels May 10, 2022
@github-actions github-actions bot mentioned this pull request May 10, 2022
@codecov
Copy link
codecov bot commented May 10, 2022

Codecov Report

Patch and project coverage have no change.

Comparison is base (cf73051) 100.00% compared to head (6c8f4d0) 100.00%.
Report is 572 commits behind head on master.

鉂 Current head 6c8f4d0 differs from pull request most recent head c28f0c2. Consider uploading reports for the commit c28f0c2 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##            master     #4574    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files          540       532     -8     
  Lines        13969     13672   -297     
==========================================
- Hits         13969     13672   -297     

see 36 files with indirect coverage changes

鈽 View full report in Codecov by Sentry.
馃摙 Have feedback on the report? Share it here.

@github-actions
Copy link
Contributor

馃摑 Docs preview for commit 01a59a8 at: https://6279e6b1ba249d2fb4f74151--fastapi.netlify.app

@github-actions
Copy link
Contributor
github-actions bot commented Jul 4, 2022

馃摑 Docs preview for commit 6c8f4d0 at: https://62c2bb3b16537f5082af1040--fastapi.netlify.app

@tiangolo
Copy link
Member

馃摑 Docs preview for commit 8bcc265 at: https://649a13994baeac0f81ee7234--fastapi.netlify.app

Copy link
@romashevchenko romashevchenko left a comment

Choose a reason for hiding this comment

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

Hi there! I'm a native speaker. I've reviewed the translation and made several suggestions to improve it.


袧邪写褋懈谢邪薪薪褟 褌褨谢邪 褨蟹 蟹邪锌懈褌芯屑 `GET` 屑邪褦 薪械胁懈蟹薪邪褔械薪褍 锌芯胁械写褨薪泻褍 胁 褋锌械褑懈褎褨泻邪褑褨褟褏, 锌褉芯褌械 胁芯薪芯 锌褨写褌褉懈屑褍褦褌褜褋褟 FastAPI 谢懈褕械 写谢褟 写褍卸械 褋泻谢邪写薪懈褏/械泻褋褌褉械屑邪谢褜薪懈褏 胁懈锌邪写泻褨胁 胁懈泻芯褉懈褋褌邪薪薪褟.

袨褋泻褨谢褜泻懈 褑械 薪械 褉械泻芯屑械薪写褍褦褌褜褋褟, 褨薪褌械褉邪泻褌懈胁薪邪 写芯泻褍屑械薪褌邪褑褨褟 蟹 Swagger UI 薪械 胁褨写芯斜褉邪卸邪褌懈屑械 写芯泻褍屑械薪褌邪褑褨褞 写谢褟 褌褨谢邪 蟹邪锌懈褌褍 锌褨写 褔邪褋 胁懈泻芯褉懈褋褌邪薪薪褟 `GET`, 褨 锌褉芯泻褋褨-褋械褉胁械褉懈 胁 褋械褉械写懈薪褨 屑芯卸褍褌褜 薪械 锌褨写褌褉懈屑褍胁邪褌懈 褩褩.

Choose a reason for hiding this comment

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

Suggested change
袨褋泻褨谢褜泻懈 褑械 薪械 褉械泻芯屑械薪写褍褦褌褜褋褟, 褨薪褌械褉邪泻褌懈胁薪邪 写芯泻褍屑械薪褌邪褑褨褟 蟹 Swagger UI 薪械 胁褨写芯斜褉邪卸邪褌懈屑械 写芯泻褍屑械薪褌邪褑褨褞 写谢褟 褌褨谢邪 蟹邪锌懈褌褍 锌褨写 褔邪褋 胁懈泻芯褉懈褋褌邪薪薪褟 `GET`, 褨 锌褉芯泻褋褨-褋械褉胁械褉懈 胁 褋械褉械写懈薪褨 屑芯卸褍褌褜 薪械 锌褨写褌褉懈屑褍胁邪褌懈 褩褩.
袨褋泻褨谢褜泻懈 褑械 薪械 褉械泻芯屑械薪写褍褦褌褜褋褟, 褨薪褌械褉邪泻褌懈胁薪邪 写芯泻褍屑械薪褌邪褑褨褟 蟹 Swagger UI 薪械 胁褨写芯斜褉邪卸邪褌懈屑械 写芯泻褍屑械薪褌邪褑褨褞 写谢褟 褌褨谢邪 蟹邪锌懈褌褍 锌褨写 褔邪褋 胁懈泻芯褉懈褋褌邪薪薪褟 `GET`, 褨 锌褉芯泻褋褨-褋械褉胁械褉懈 胁c械褉械写懈薪褨 屑芯卸褍褌褜 薪械 锌褨写褌褉懈屑褍胁邪褌懈 褩褩.

{!> ../../../docs_src/body/tutorial001_py310.py!}
```

孝邪泻 褋邪屑芯, 褟泻 褨 锌褉懈 芯谐芯谢芯褕械薪薪褨 锌邪褉邪屑械褌褉褨胁 蟹邪锌懈褌褍, 泻芯谢懈 邪褌褉懈斜褍褌 屑芯写械谢褨 屑邪褦 蟹薪邪褔械薪薪褟 蟹邪 蟹邪屑芯胁褔褍胁邪薪薪褟屑, 胁褨薪 薪械 褦 芯斜芯胁鈥櫻徯沸盒拘残感. 袙 褨薪褕芯屑褍 胁懈锌邪写泻褍 褑械 锌芯褌褉褨斜薪芯. 袙懈泻芯褉懈褋褌芯胁褍泄褌械 `None`, 褖芯斜 蟹褉芯斜懈褌懈 泄芯谐芯 薪械芯斜芯胁'褟蟹泻芯胁懈屑.

Choose a reason for hiding this comment

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

Suggested change
孝邪泻 褋邪屑芯, 褟泻 褨 锌褉懈 芯谐芯谢芯褕械薪薪褨 锌邪褉邪屑械褌褉褨胁 蟹邪锌懈褌褍, 泻芯谢懈 邪褌褉懈斜褍褌 屑芯写械谢褨 屑邪褦 蟹薪邪褔械薪薪褟 蟹邪 蟹邪屑芯胁褔褍胁邪薪薪褟屑, 胁褨薪 薪械 褦 芯斜芯胁鈥櫻徯沸盒拘残感. 袙 褨薪褕芯屑褍 胁懈锌邪写泻褍 褑械 锌芯褌褉褨斜薪芯. 袙懈泻芯褉懈褋褌芯胁褍泄褌械 `None`, 褖芯斜 蟹褉芯斜懈褌懈 泄芯谐芯 薪械芯斜芯胁'褟蟹泻芯胁懈屑.
孝邪泻 褋邪屑芯, 褟泻 褨 锌褉懈 芯谐芯谢芯褕械薪薪褨 锌邪褉邪屑械褌褉褨胁 蟹邪锌懈褌褍, 泻芯谢懈 邪褌褉懈斜褍褌 屑芯写械谢褨 屑邪褦 蟹薪邪褔械薪薪褟 蟹邪 蟹邪屑芯胁褔褍胁邪薪薪褟屑, 胁褨薪 薪械 褦 芯斜芯胁鈥櫻徯沸盒拘残感. 袙 褨薪褕芯屑褍 胁懈锌邪写泻褍 - 胁褨薪 锌芯褌褉褨斜械薪. 袙懈泻芯褉懈褋褌芯胁褍泄褌械 `None`, 褖芯斜 蟹褉芯斜懈褌懈 泄芯谐芯 薪械芯斜芯胁'褟蟹泻芯胁懈屑.

}
```

## 袨谐芯谢芯褋懈 褩褩 褟泻 锌邪褉邪屑械褌褉

Choose a reason for hiding this comment

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

Suggested change
## 袨谐芯谢芯褋懈 褩褩 褟泻 锌邪褉邪屑械褌褉
## 袨谐芯谢芯褋褨褌褜 褩褩 褟泻 锌邪褉邪屑械褌褉


## 袗胁褌芯屑邪褌懈褔薪邪 写芯泻褍屑械薪褌邪褑褨褟

小褏械屑懈 JSON 胁邪褕懈褏 屑芯写械谢械泄 斜褍写褍褌褜 褔邪褋褌懈薪芯褞 胁邪褕芯褩 褋褏械屑懈, 蟹谐械薪械褉芯胁邪薪芯褩 OpenAPI, 褨 斜褍写褍褌褜 锌芯泻邪蟹邪薪褨 胁 褨薪褌械褉邪泻褌懈胁薪褨泄 API 写芯泻褍屑械薪褌邪褑褨褩:

Choose a reason for hiding this comment

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

Suggested change
小褏械屑懈 JSON 胁邪褕懈褏 屑芯写械谢械泄 斜褍写褍褌褜 褔邪褋褌懈薪芯褞 胁邪褕芯褩 褋褏械屑懈, 蟹谐械薪械褉芯胁邪薪芯褩 OpenAPI, 褨 斜褍写褍褌褜 锌芯泻邪蟹邪薪褨 胁 褨薪褌械褉邪泻褌懈胁薪褨泄 API 写芯泻褍屑械薪褌邪褑褨褩:
小褏械屑懈 JSON 胁邪褕懈褏 屑芯写械谢械泄 斜褍写褍褌褜 褔邪褋褌懈薪芯褞 胁邪褕芯褩 褋褏械屑懈, 蟹谐械薪械褉芯胁邪薪芯褩 OpenAPI, 褨 胁褨写芯斜褉邪卸邪褌懈屑褍褌褜褋褟 胁 褨薪褌械褉邪泻褌懈胁薪褨泄 API 写芯泻褍屑械薪褌邪褑褨褩:


## 袩褨写褌褉懈屑泻邪 褉械写邪泻褌芯褉邪

校 胁邪褕芯屑褍 褉械写邪泻褌芯褉褨, 胁褋械褉械写懈薪褨 胁邪褕芯褩 褎褍薪泻褑褨褩, 胁懈 斜褍写械褌械 芯褌褉懈屑褍胁邪褌懈 锌褨写泻邪蟹泻懈 褌懈锌褍 褌邪 蟹邪胁械褉褕械薪薪褟 褋泻褉褨蟹褜 (褑械 斜 薪械 褋褌邪谢芯褋褟, 褟泻斜懈 胁懈 芯褌褉懈屑邪谢懈 `dict` 蟹邪屑褨褋褌褜 屑芯写械谢褨 Pydantic):

Choose a reason for hiding this comment

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

Suggested change
校 胁邪褕芯屑褍 褉械写邪泻褌芯褉褨, 胁褋械褉械写懈薪褨 胁邪褕芯褩 褎褍薪泻褑褨褩, 胁懈 斜褍写械褌械 芯褌褉懈屑褍胁邪褌懈 锌褨写泻邪蟹泻懈 褌懈锌褍 褌邪 蟹邪胁械褉褕械薪薪褟 褋泻褉褨蟹褜 (褑械 斜 薪械 褋褌邪谢芯褋褟, 褟泻斜懈 胁懈 芯褌褉懈屑邪谢懈 `dict` 蟹邪屑褨褋褌褜 屑芯写械谢褨 Pydantic):
校 胁邪褕芯屑褍 褉械写邪泻褌芯褉褨, 胁褋械褉械写懈薪褨 胁邪褕芯褩 褎褍薪泻褑褨褩, 胁懈 斜褍写械褌械 芯褌褉懈屑褍胁邪褌懈 锌褨写泻邪蟹泻懈 褌懈锌褍 褌邪 蟹邪胁械褉褕械薪薪褟 褋泻褉褨蟹褜 (褑褜芯谐芯 薪械 褋褌邪谢芯褋褟, 褟泻斜懈 胁懈 芯褌褉懈屑邪谢懈 `dict` 蟹邪屑褨褋褌褜 屑芯写械谢褨 Pydantic):


<img src="/img/tutorial/body/image05.png">

!!! tip

Choose a reason for hiding this comment

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

Suggested change
!!! tip
!!! 锌褨写泻邪蟹泻邪

* 携泻褖芯 锌邪褉邪屑械褌褉 屑邪褦 **褋懈薪谐褍谢褟褉薪懈泄 褌懈锌** (薪邪锌褉懈泻谢邪写, `int`, `float`, `str`, `bool` 褌芯褖芯), 胁褨薪 斜褍写械 褨薪褌械褉锌褉械褌褍胁邪褌懈褋褟 褟泻 锌邪褉邪屑械褌褉 **蟹邪锌懈褌褍**.
* 携泻褖芯 锌邪褉邪屑械褌褉 芯谐芯谢芯褕褍褦褌褜褋褟 褟泻 褌懈锌 **Pydantic 屑芯写械谢褨**, 胁褨薪 褨薪褌械褉锌褉械褌褍褦褌褜褋褟 褟泻 **褌褨谢芯** 蟹邪锌懈褌褍.

!!! note

Choose a reason for hiding this comment

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

Suggested change
!!! note
!!! 锌褉懈屑褨褌泻邪


## 袘械蟹 Pydantic

携泻褖芯 胁懈 薪械 褏芯褔械褌械 胁懈泻芯褉懈褋褌芯胁褍胁邪褌懈 屑芯写械谢褨 Pydantic, 胁懈 褌邪泻芯卸 屑芯卸械褌械 胁懈泻芯褉懈褋褌芯胁褍胁邪褌懈 锌邪褉邪屑械褌褉懈 **Body**. 袩械褉械谐谢褟薪褜褌械 写芯泻褍屑械薪褌邪褑褨褞 写谢褟 [孝褨谢芯 鈥 袣褨谢褜泻邪 锌邪褉邪屑械褌褉褨胁: 褋懈薪谐褍谢褟褉薪褨 蟹薪邪褔械薪薪褟 胁 褌褨谢褨](body-multiple-params.md#singular-values-in-body){.internal-link target=_blank}.

Choose a reason for hiding this comment

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

Suggested change
携泻褖芯 胁懈 薪械 褏芯褔械褌械 胁懈泻芯褉懈褋褌芯胁褍胁邪褌懈 屑芯写械谢褨 Pydantic, 胁懈 褌邪泻芯卸 屑芯卸械褌械 胁懈泻芯褉懈褋褌芯胁褍胁邪褌懈 锌邪褉邪屑械褌褉懈 **Body**. 袩械褉械谐谢褟薪褜褌械 写芯泻褍屑械薪褌邪褑褨褞 写谢褟 [孝褨谢芯 鈥 袣褨谢褜泻邪 锌邪褉邪屑械褌褉褨胁: 褋懈薪谐褍谢褟褉薪褨 蟹薪邪褔械薪薪褟 胁 褌褨谢褨](body-multiple-params.md#singular-values-in-body){.internal-link target=_blank}.
携泻褖芯 胁懈 薪械 褏芯褔械褌械 胁懈泻芯褉懈褋褌芯胁褍胁邪褌懈 屑芯写械谢褨 Pydantic, 胁懈 褌邪泻芯卸 屑芯卸械褌械 胁懈泻芯褉懈褋褌芯胁褍胁邪褌懈 锌邪褉邪屑械褌褉懈 **孝褨谢邪**. 袩械褉械谐谢褟薪褜褌械 写芯泻褍屑械薪褌邪褑褨褞 写谢褟 [孝褨谢芯 鈥 袣褨谢褜泻邪 锌邪褉邪屑械褌褉褨胁: 褋懈薪谐褍谢褟褉薪褨 蟹薪邪褔械薪薪褟 胁 褌褨谢褨](body-multiple-params.md#singular-values-in-body){.internal-link target=_blank}.

@tiangolo
Copy link
Member

Great, thanks @ss-o-furda! 馃嵃

And thanks for the reviews @khlopko and @romashevchenko 馃檱

@tiangolo tiangolo merged commit 7b3d770 into fastapi:master Jul 27, 2023
erosennin pushed a commit to erosennin/fastapi that referenced this pull request Jul 31, 2023
鈥pi#4574)

Co-authored-by: Sebasti谩n Ram铆rez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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-uk Ukrainian translations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0