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 Portuguese translation for docs/pt/docs/tutorial/request-forms-and-files.md #5579

Conversation

batlopes
Copy link
Contributor

@batlopes batlopes commented Nov 3, 2022

Added translation for pt to docs/pt/docs/tutorial/request-forms-and-files.md.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2022

📝 Docs preview for commit ee3204c at: https://6363a37cbcd7f56be2cbcfa7--fastapi.netlify.app

@codecov
Copy link

codecov bot commented Nov 3, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (ee3204c) compared to base (e92a864).
Patch coverage: 100.00% of modified lines in pull request are covered.

❗ Current head ee3204c differs from pull request most recent head 29afd27. Consider uploading reports for the commit 29afd27 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #5579   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          540       540           
  Lines        13946     13946           
=========================================
  Hits         13946     13946           
Impacted Files Coverage Δ
fastapi/__init__.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@tiangolo tiangolo changed the title 🌐 Add Portuguese translation for docs/pt/docs/tutorial/request-forms-and-files.md 🌐 Add Portuguese translation for docs/pt/docs/tutorial/request-forms-and-files.md Nov 3, 2022
@tiangolo tiangolo added lang-all Translations lang-pt Portuguese translations awaiting-review labels Nov 3, 2022
Copy link
Contributor

@cassiobotaro cassiobotaro left a comment

Choose a reason for hiding this comment

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

LGTM

E você pode declarar alguns dos arquivos como `bytes` e alguns como `UploadFile`.

!!! warning "Aviso"
Você pode declarar vários parâmetros `File` e `Form` em uma *operação de caminho* , mas você também não pode declarar campos `Body` que você espera receber como JSON, pois a solicitação terá o corpo codificado usando `multipart/form-data` ao invés de `application/json`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Você pode declarar vários parâmetros `File` e `Form` em uma *operação de caminho* , mas você também não pode declarar campos `Body` que você espera receber como JSON, pois a solicitação terá o corpo codificado usando `multipart/form-data` ao invés de `application/json`.
Você pode declarar vários parâmetros `File` e `Form` em uma *operação de caminho*, mas não é possível declarar campos `Body` para receber como JSON, pois a solicitação terá o corpo codificado usando `multipart/form-data` ao invés de `application/json`.

I believe it sounds better this way

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2022

📝 Docs preview for commit 29afd27 at: https://6364f774b011410d8fa15f5a--fastapi.netlify.app

@tiangolo
Copy link
Owner

Great, thanks @batlopes! 🍰

And thanks for the reviews @cassiobotaro, @peidrao, @lsglucas 🍪 ☕

@tiangolo tiangolo merged commit c040e36 into tiangolo:master Nov 13, 2022
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-pt Portuguese translations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants