Skip to content

Commit 305d3ba

Browse files
Update translation
Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com>
1 parent f4dea70 commit 305d3ba

5 files changed

Lines changed: 30 additions & 22 deletions

File tree

c-api/exceptions.po

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-01-03 14:53+0000\n"
14+
"POT-Creation-Date: 2025-09-17 04:24+0000\n"
1515
"PO-Revision-Date: 2025-07-18 19:57+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -25,7 +25,7 @@ msgstr ""
2525

2626
#: ../../c-api/exceptions.rst:8
2727
msgid "Exception Handling"
28-
msgstr "Manipulando Exceções"
28+
msgstr "Tratamento de Exceções"
2929

3030
#: ../../c-api/exceptions.rst:10
3131
msgid ""
@@ -39,15 +39,15 @@ msgid ""
3939
"pointer, or ``-1`` if they return an integer (exception: the ``PyArg_*`` "
4040
"functions return ``1`` for success and ``0`` for failure)."
4141
msgstr ""
42-
"As funções descritas nesse capítulo permitem você tratar e gerar exceções em "
43-
"Python. É importante entender alguns princípios básicos no tratamento de "
44-
"exceção no Python. Funciona de forma parecida com a variável POSIX :c:data:"
45-
"`errno`: existe um indicador global (por thread) do último erro ocorrido. A "
46-
"maioria das funções da API C não limpa isso com êxito, mas indica a causa do "
47-
"erro na falha. A maioria das funções da API retorna um indicador de erro, "
48-
"geralmente, ``NULL`` se eles devem retornar um ponteiro, ou ``-1`` se "
49-
"retornarem um inteiro (exceção: as funções ``PyArg_*`` retornam ``1`` para "
50-
"sucesso e ``0`` para falha)."
42+
":c:data:`errno`As funções descritas nesse capítulo permitem você tratar e "
43+
"gerar exceções em Python. É importante entender alguns princípios básicos no "
44+
"tratamento de exceção no Python. Funciona de forma parecida com a variável "
45+
"POSIX : existe um indicador global (por thread) do último erro ocorrido. A "
46+
"maioria das funções da API C não o zera ao obter sucesso, mas o define para "
47+
"indicar a causa do erro ao falhar. A maioria das funções da API retorna um "
48+
"indicador de erro, geralmente, ``NULL`` se eles devem retornar um ponteiro, "
49+
"ou ``-1`` se retornarem um inteiro (exceção: as funções ``PyArg_*`` retornam "
50+
"``1`` para sucesso e ``0`` para falha)."
5151

5252
#: ../../c-api/exceptions.rst:20
5353
msgid ""
@@ -57,8 +57,8 @@ msgid ""
5757
"forbidden, for example you can't have a non-``NULL`` traceback if the "
5858
"exception type is ``NULL``)."
5959
msgstr ""
60-
"Concretamente, o indicador de erro consiste em três ponteiros de objeto: o "
61-
"tipo da exceção, o valor da exceção e o objeto de traceback. Qualquer um "
60+
"De forma concreta, o indicador de erro consiste em três ponteiros de objeto: "
61+
"o tipo da exceção, o valor da exceção e o objeto de traceback. Qualquer um "
6262
"desses ponteiros pode ser ``NULL`` se não definido (embora algumas "
6363
"combinações sejam proibidas, por exemplo, você não pode ter um retorno não "
6464
"``NULL`` se o tipo de exceção for ``NULL``)."
@@ -161,6 +161,10 @@ msgid ""
161161
"raise the exception. It is used, for example, when an exception occurs in "
162162
"an :meth:`~object.__del__` method."
163163
msgstr ""
164+
"Esta função utilitária imprime uma mensagem de aviso para ``sys.stderr`` "
165+
"quando uma exceção foi definida, mas é impossível para o interpretador "
166+
"realmente gerar a exceção. É usada, por exemplo, quando ocorre uma exceção "
167+
"em um método :meth:`~object.__del__`."
164168

165169
#: ../../c-api/exceptions.rst:88
166170
msgid ""
@@ -169,6 +173,10 @@ msgid ""
169173
"*obj* will be printed in the warning message. If *obj* is ``NULL``, only the "
170174
"traceback is printed."
171175
msgstr ""
176+
"A função é chamada com um único argumento *obj* que identifica o contexto em "
177+
"que ocorreu a exceção não gerável. Se possível, o repr de *obj* será "
178+
"impresso na mensagem de aviso. Se *obj* for ``NULL``, apenas o traceback "
179+
"será impresso."
172180

173181
#: ../../c-api/exceptions.rst:93
174182
msgid "An exception must be set when calling this function."

library/decimal.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-02-07 14:52+0000\n"
14+
"POT-Creation-Date: 2025-09-17 15:41+0000\n"
1515
"PO-Revision-Date: 2025-07-18 19:58+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -3349,7 +3349,7 @@ msgid ""
33493349
msgstr ""
33503350
"def moneyfmt(value, places=2, curr='', sep=',', dp='.',\n"
33513351
" pos='', neg='-', trailneg=''):\n"
3352-
" \"\"\"Converte Decimal para uma string formatada de moead.\n"
3352+
" \"\"\"Converte Decimal para uma string formatada de moeda.\n"
33533353
"\n"
33543354
" places: número obrigatório de casas após o ponto decimal\n"
33553355
" curr: símbolo de moeda opcional antes do sinal (pode estar em "
@@ -3404,7 +3404,7 @@ msgstr ""
34043404
" return ''.join(reversed(result))\n"
34053405
"\n"
34063406
"def pi():\n"
3407-
" \"\"\"Compute Pi to the current precision.\n"
3407+
" \"\"\"Calcula Pi com a precisão atual.\n"
34083408
"\n"
34093409
" >>> print(pi())\n"
34103410
" 3.141592653589793238462643383\n"

library/msvcrt.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-01-03 14:53+0000\n"
14+
"POT-Creation-Date: 2025-09-17 15:41+0000\n"
1515
"PO-Revision-Date: 2025-07-18 19:58+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -25,7 +25,7 @@ msgstr ""
2525

2626
#: ../../library/msvcrt.rst:2
2727
msgid ":mod:`!msvcrt` --- Useful routines from the MS VC++ runtime"
28-
msgstr ":mod:`!msvcrt` --- Rotinas úteis do tempo de execução do MS VC++"
28+
msgstr ":mod:`!msvcrt` --- Rotinas úteis do runtime MS VC++"
2929

3030
#: ../../library/msvcrt.rst:12
3131
msgid ""

potodo.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
- license.po 116 / 125 ( 92.0% translated).
66

77

8-
# c-api (56.16% done)
8+
# c-api (56.21% done)
99

10-
- exceptions.po 196 / 366 ( 53.0% translated).
10+
- exceptions.po 198 / 366 ( 54.0% translated).
1111
- float.po 29 / 35 ( 82.0% translated).
1212
- frame.po 20 / 36 ( 55.0% translated).
1313
- gcsupport.po 9 / 52 ( 17.0% translated).
@@ -247,5 +247,5 @@
247247
- 3.7.po 252 / 568 ( 44.0% translated).
248248

249249

250-
# TOTAL (70.01% done)
250+
# TOTAL (70.02% done)
251251

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "70.01%", "translated": 43416, "entries": 62011, "updated_at": "2025-09-17T23:41:32+00:00Z"}
1+
{"completion": "70.02%", "translated": 43418, "entries": 62011, "updated_at": "2025-09-18T23:40:23+00:00Z"}

0 commit comments

Comments
 (0)