-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
🌐 Add Portuguese translation for docs/pt/docs/advanced/dataclasses.md
#12475
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/advanced/dataclasses.md
#12475
Conversation
|
📝 Docs preview for commit 3a8de0a at: https://e0d9cafd.fastapitiangolo.pages.dev Modified Pages |
docs/pt/docs/advanced/dataclasses.md
|
@ceb10n and @cassiobotaro, could you do the honours of reviewing this pull request? |
off course \o/ |
ceb10n
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great 🚀
Just a missing translation in the admonition and some other suggestions 😄
docs/pt/docs/advanced/dataclasses.md
Outdated
|
|
||
| Isso funciona da mesma forma que com os modelos Pydantic. E na verdade é alcançado da mesma maneira por baixo dos panos, usando Pydantic. | ||
|
|
||
| /// info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's nice to add translation to info:
/// info | Informação
docs/pt/docs/advanced/dataclasses.md
Outdated
|
|
||
| Novamente, você pode combinar `dataclasses` com anotações de tipo padrão. | ||
|
|
||
| 8. Note que esta *função de operação de caminho* usa `def` regular em vez de `async def`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
função de operação de caminho is right, but the pattern used in the pt translations is função de operação de rota.
It would be nice to keep the pattern 😄
docs/pt/docs/advanced/dataclasses.md
Outdated
|
|
||
| Se você precisar de uma atualização sobre quando usar qual, confira a seção _"Com pressa?"_ na documentação sobre [`async` e `await`](../async.md#in-a-hurry){.internal-link target=_blank}. | ||
|
|
||
| 9. Esta *função de operação de caminho* não está retornando dataclasses (embora pudesse), mas uma lista de dicionários com dados internos. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same here: função de operação de rota
|
Thanks for the feedback, @ceb10n! Will work on these corrections now. |
|
📝 Docs preview for commit f9af1af at: https://3dc24929.fastapitiangolo.pages.dev Modified Pages |
|
Thank you! @leoscarlato 🙌 🚀 And thanks to everyone for the reviews 🔍 |
No description provided.