Skip to content

Commit 90313a3

Browse files
Update translation
Co-Authored-By: Gustavo Reis
1 parent f54b590 commit 90313a3

4 files changed

Lines changed: 34 additions & 9 deletions

File tree

c-api/exceptions.po

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Gustavo Reis, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.10\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-22 21:19+0000\n"
15+
"POT-Creation-Date: 2025-10-29 17:34+0000\n"
1516
"PO-Revision-Date: 2025-09-22 15:57+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Gustavo Reis, 2025\n"
1718
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"Language: pt_BR\n"
@@ -189,6 +190,11 @@ msgid ""
189190
"reference` to it (e.g. with :c:func:`Py_INCREF`). The second argument is an "
190191
"error message; it is decoded from ``'utf-8'``."
191192
msgstr ""
193+
"Esse é o modo mais comum de definir o indicador de erro. O primeiro "
194+
"argumento especifica o tipo da exceção; é normalmente uma das exceções "
195+
"padrão, como :c:data:`PyExc_RuntimeError`. Você não precisa criar um novo :"
196+
"term:`strong reference` para ela (como em :c:func:`Py_INCREF`). O segundo "
197+
"argumento é uma mensagem de erro; ela é codificada com ``'utf-8'``."
192198

193199
#: ../../c-api/exceptions.rst:109
194200
msgid ""
@@ -205,6 +211,11 @@ msgid ""
205211
"help format the error message; they have the same meaning and values as in :"
206212
"c:func:`PyUnicode_FromFormat`. *format* is an ASCII-encoded string."
207213
msgstr ""
214+
"Essa função define o indicador de erro e retorna ``NULL``. *exception* deve "
215+
"ser uma classe Python de exceção. O *format* e parâmetros subsequentes "
216+
"ajudam a formatar a mensagem de erro; eles têm o mesmo significado e valores "
217+
"que em :c:func:`PyUnicode_FromFormat`. *format* é uma string codificada em "
218+
"ASCII."
208219

209220
#: ../../c-api/exceptions.rst:124
210221
msgid ""
@@ -224,6 +235,9 @@ msgid ""
224235
"*message* indicates that a built-in operation was invoked with an illegal "
225236
"argument. It is mostly for internal use."
226237
msgstr ""
238+
"Essa é uma abreviação de ``PyErr_SetString(PyExc_TypeError, message)``, na "
239+
"qual *message* indica que uma operação embutida foi invocada com um "
240+
"argumento ilegal. Ela é principalmente para uso interno."
227241

228242
#: ../../c-api/exceptions.rst:144
229243
msgid ""
@@ -263,13 +277,19 @@ msgid ""
263277
"second filename object, for raising errors when a function that takes two "
264278
"filenames fails."
265279
msgstr ""
280+
"Similar à :c:func:`PyErr_SetFromErrnoWithFilenameObject`, mas recebe um "
281+
"segundo objeto filename, para levantar erros quando uma função que recebe "
282+
"dois nomes de arquivos falha."
266283

267284
#: ../../c-api/exceptions.rst:185
268285
msgid ""
269286
"Similar to :c:func:`PyErr_SetFromErrnoWithFilenameObject`, but the filename "
270287
"is given as a C string. *filename* is decoded from the :term:`filesystem "
271288
"encoding and error handler`."
272289
msgstr ""
290+
"Similar à :c:func:`PyErr_SetFromErrnoWithFilenameObject`, mas o nome do "
291+
"arquivo é fornecido como uma string C. *filename* é decodificado do :term:"
292+
"`filesystem encoding and error handler`."
273293

274294
#: ../../c-api/exceptions.rst:192
275295
msgid ""
@@ -295,6 +315,8 @@ msgid ""
295315
"Similar to :c:func:`PyErr_SetFromWindowsErr`, with an additional parameter "
296316
"specifying the exception type to be raised."
297317
msgstr ""
318+
"Semelhante a :c:func:`PyErr_SetFromWindowsErr`, com um parâmetro adicional "
319+
"que especifica o tipo de exceção a ser levantada."
298320

299321
#: ../../c-api/exceptions.rst:214
300322
msgid ""

library/threading.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Gustavo Reis, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.10\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-22 21:19+0000\n"
15+
"POT-Creation-Date: 2025-10-29 17:34+0000\n"
1516
"PO-Revision-Date: 2025-09-22 15:58+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Gustavo Reis, 2025\n"
1718
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"Language: pt_BR\n"
@@ -1001,6 +1002,8 @@ msgid ""
10011002
"The return value is ``True`` unless a given *timeout* expired, in which case "
10021003
"it is ``False``."
10031004
msgstr ""
1005+
"O valor de retorno é ``True`` exceto se um dado *timout* expire, no caso em "
1006+
"que é ``False``."
10041007

10051008
#: ../../library/threading.rst:744 ../../library/threading.rst:963
10061009
msgid "Previously, the method always returned ``None``."

potodo.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55

66

7-
# c-api (48.64% done)
7+
# c-api (48.87% done)
88

99
- allocation.po 8 / 9 ( 88.0% translated).
1010
- arg.po 193 / 195 ( 98.0% translated).
11-
- exceptions.po 198 / 275 ( 72.0% translated).
11+
- exceptions.po 204 / 275 ( 74.0% translated).
1212
- float.po 12 / 13 ( 92.0% translated).
1313
- gcsupport.po 11 / 40 ( 27.0% translated).
1414
- init.po 122 / 310 ( 39.0% translated).
@@ -233,7 +233,7 @@
233233
- tempfile.po 8 / 64 ( 12.0% translated).
234234
- test.po 117 / 295 ( 39.0% translated).
235235
- textwrap.po 41 / 46 ( 89.0% translated).
236-
- threading.po 32 / 210 ( 15.0% translated).
236+
- threading.po 33 / 210 ( 15.0% translated).
237237
- timeit.po 49 / 53 ( 92.0% translated).
238238
- tkinter.font.po 34 / 35 ( 97.0% translated).
239239
- tkinter.po 303 / 304 ( 99.0% translated).
@@ -318,5 +318,5 @@
318318
- 3.7.po 243 / 555 ( 43.0% translated).
319319

320320

321-
# TOTAL (59.38% done)
321+
# TOTAL (59.40% done)
322322

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "59.38%", "translated": 34225, "entries": 51675, "updated_at": "2025-10-28T00:31:17+00:00Z"}
1+
{"completion": "59.4%", "translated": 34232, "entries": 51675, "updated_at": "2025-10-31T00:31:58+00:00Z"}

0 commit comments

Comments
 (0)