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 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

peidrao
peidrao approved these changes Nov 7, 2022
@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
9 checks passed
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