🌐 Add Portuguese translation for docs/pt/docs/tutorial/request-forms.md#4934
Conversation
Codecov ReportBase: 100.00% // Head: 100.00% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #4934 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 540 540
Lines 13946 13946
=========================================
Hits 13946 13946 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. |
|
📝 Docs preview for commit bd73f01 at: https://6287e200ecc826181f9ccd65--fastapi.netlify.app |
fcrozetta
left a comment
There was a problem hiding this comment.
I added a few suggestions in the text.
The last one is the most important, since the meaning of the phrase changes with the word também
| @@ -0,0 +1,58 @@ | |||
| # Dados do formulário | |||
|
|
|||
| Quando você precisa receber campos de formulário em vez de JSON, você pode usar `Form`. | |||
There was a problem hiding this comment.
Quando você precisa receber campos de formulário ao invés de JSON, você pode usar Form.
| !!! info "Informação" | ||
| Para usar formulários, primeiro instale <a href="https://andrew-d.github.io/python-multipart/" class="external-link" target="_blank">`python-multipart`</a>. | ||
|
|
||
| E.g. `pip install python-multipart`. |
There was a problem hiding this comment.
I may be wrong, but Isn't Ex. the Portuguese version of E.g. ?
| {!../../../docs_src/request_forms/tutorial001.py!} | ||
| ``` | ||
|
|
||
| Por exemplo, em uma das maneiras que a especificação OAuth2 pode ser usada (chamada "fluxo de senha"), é necessário enviar um `username` e uma `password` como campos de formulário. |
There was a problem hiding this comment.
"como campos do formulário"
we are referring to a specific form passed in the request
| Se você quiser ler mais sobre essas codificações e campos de formulário, vá para o <a href="https://developer.mozilla.org/pt-BR/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr> web docs para <code>POST</code></a>. | ||
|
|
||
| !!! warning "Aviso" | ||
| Você pode declarar vários parâmetros `Form` em uma *operação de caminho*, mas também não pode declarar campos `Body` que espera receber como JSON, pois a solicitação terá o corpo codificado usando `application/x-www- form-urlencoded` em vez de `application/json`. |
There was a problem hiding this comment.
"Você pode declarar vários parâmetros Form em uma operação de caminho, mas não pode ... "
removing the word também because it changes the meaning of the phrase.
| @@ -0,0 +1,58 @@ | |||
| # Dados do formulário | |||
|
|
|||
| Quando você precisa receber campos de formulário ao invés de JSON, você pode usar `Form`. | |||
There was a problem hiding this comment.
I think Quando você precisar... in the infinitive sounds better
There was a problem hiding this comment.
You can remove the first você, and add an r at the end of precisa. This way, you will avoid repeating words and keeping the infinitive in the phrase
|
📝 Docs preview for commit 7cdebc2 at: https://63600d6914a48b0e862e9d25--fastapi.netlify.app |
Added translation for pt to
docs/pt/docs/tutorial/request-forms.md.