-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Update Brazilian Portuguese translations #9828
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
base: main
Are you sure you want to change the base?
Conversation
Updated various Portuguese translations for clarity and correctness.
| #, python-brace-format | ||
| msgid "Unsupported media type \"{media_type}\" in request." | ||
| msgstr "Tipo de mídia \"{media_type}\" no pedido não é suportado." | ||
| msgstr "Tipo de mídia no pedido \"{media_type}\" não é suportado." |
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.
I believe that reversing the order of these words may sound strange, since it would imply that the request is {media_type}.
(I'm also native brazilian)
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.
Ao meu ver, vai parecer que o nome do pedido é "{media_type}". Talvez, se você usar um aposto para informar {media_type}, pondo "Tipo de mídia no pedido, "{media_type}", não é suportado", vai ficar perfeito. Aliás, seu ponto é válido, meu texto tinha ficado bem estranho.
OBS: Sorry for use just portuguese here, it's because I can't say that in english
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.
How about Tipo de mídia \"{media_type}\" não é suportado.? The "request" is omitted from the French translations and I don't miss it ((I'm French and speak Portuguese):
django-rest-framework/rest_framework/locale/fr/LC_MESSAGES/django.po
Lines 139 to 142 in 442444f
| #: exceptions.py:212 | |
| #, python-brace-format | |
| msgid "Unsupported media type \"{media_type}\" in request." | |
| msgstr "Type de média « {media_type} » non supporté." |
PS: this message is coming from the 415 HTTP error code. Perhaps the Brazilian Portuguese MDN docs for the error code have some useful terms?
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.
Your way, @browniebroke, is good enough for me.
Updated various Brazilian Portuguese translations for clarity and correctness.
Description
I am a native Brazilian Portuguese speaker and I just rewrote some sentences to be more precise and consistent with Brazilian Portuguese and English version.