Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc3a8f5e

Browse files
github-actions[bot]rffontenellefofoni
committed
Update translation
Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com>Co-Authored-By: Pedro Fonini <fonini@protonmail.ch>Co-Authored-By: Gustavo Reis
1 parent03a3fb0 commitc3a8f5e

File tree

9 files changed

+280
-76
lines changed

9 files changed

+280
-76
lines changed

‎c-api/exceptions.po‎

Lines changed: 78 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ msgstr ""
145145

146146
#:../../c-api/exceptions.rst:69
147147
msgid"The setting of :data:`sys.last_exc` was added."
148-
msgstr""
148+
msgstr"A configuração de :data:`sys.last_exc` foi adicionada."
149149

150150
#:../../c-api/exceptions.rst:75
151151
msgid"Alias for ``PyErr_PrintEx(1)``."
@@ -204,12 +204,20 @@ msgid ""
204204
"is roughly equivalent to ``PyErr_FormatUnraisable(\"Exception ignored in: "
205205
"%R\", obj)``. If *format* is ``NULL``, only the traceback is printed."
206206
msgstr""
207+
"Similar a :c:func:`PyErr_WriteUnraisable`, mas *format* e parâmetros "
208+
"subsequentes ajudam a formatar a mensagem de aviso; eles têm o mesmo "
209+
"significado e valores que em :c:func:`PyUnicode_FromFormat`. "
210+
"``PyErr_WriteUnraisable(obj)`` é aproximadamente equivalente à "
211+
"``PyErr_FormatUnraisable(\"Exception ignored in: %R\", obj)``. Se *format* é "
212+
"``NULL``, somente o rastreamento é impresso."
207213

208214
#:../../c-api/exceptions.rst:116
209215
msgid""
210216
"Print the standard traceback display of ``exc`` to ``sys.stderr``, including "
211217
"chained exceptions and notes."
212218
msgstr""
219+
"Imprime a exibição padrão do traceback de ``exc`` em ``sys.stderr``, "
220+
"incluindo as exceções encadeadas e notas."
213221

214222
#:../../c-api/exceptions.rst:123
215223
msgid"Raising exceptions"
@@ -233,6 +241,11 @@ msgid ""
233241
"reference` to it (e.g. with :c:func:`Py_INCREF`). The second argument is an "
234242
"error message; it is decoded from ``'utf-8'``."
235243
msgstr""
244+
"Esse é o modo mais comum de definir o indicador de erro. O primeiro "
245+
"argumento especifica o tipo da exceção; é normalmente uma das exceções "
246+
"padrão, como :c:data:`PyExc_RuntimeError`. Você não precisa criar um novo :"
247+
"term:`strong reference` para ela (como em :c:func:`Py_INCREF`). O segundo "
248+
"argumento é uma mensagem de erro; ela é codificada com ``'utf-8'``."
236249

237250
#:../../c-api/exceptions.rst:141
238251
msgid""
@@ -249,6 +262,11 @@ msgid ""
249262
"help format the error message; they have the same meaning and values as in :"
250263
"c:func:`PyUnicode_FromFormat`. *format* is an ASCII-encoded string."
251264
msgstr""
265+
"Essa função define o indicador de erro e retorna ``NULL``. *exception* deve "
266+
"ser uma classe Python de exceção. O *format* e parâmetros subsequentes "
267+
"ajudam a formatar a mensagem de erro; eles têm o mesmo significado e valores "
268+
"que em :c:func:`PyUnicode_FromFormat`. *format* é uma string codificada em "
269+
"ASCII."
252270

253271
#:../../c-api/exceptions.rst:156
254272
msgid""
@@ -268,6 +286,9 @@ msgid ""
268286
"*message* indicates that a built-in operation was invoked with an illegal "
269287
"argument. It is mostly for internal use."
270288
msgstr""
289+
"Essa é uma abreviação de ``PyErr_SetString(PyExc_TypeError, message)``, na "
290+
"qual *message* indica que uma operação embutida foi invocada com um "
291+
"argumento ilegal. Ela é principalmente para uso interno."
271292

272293
#:../../c-api/exceptions.rst:176
273294
msgid""
@@ -292,6 +313,17 @@ msgid ""
292313
"returns ``NULL``, so a wrapper function around a system call can write "
293314
"``return PyErr_SetFromErrno(type);`` when the system call returns an error."
294315
msgstr""
316+
"Esta é uma função conveniente para levantar uma exceção quando uma função da "
317+
"biblioteca C retornou um erro e definir a variável C :c:data:`errno`. Ela "
318+
"constrói um objeto tupla cujo primeiro item é o valor inteiro :c:data:"
319+
"`errno` e cujo segundo item é a mensagem de erro correspondente (obtida de :"
320+
"c:func:`!strerror`), e então chama ``PyErr_SetObject(type, object)``. No "
321+
"Unix, quando o valor :c:data:`errno` é :c:macro:`!EINTR`, indicando uma "
322+
"chamada de sistema interrompida, isso chama :c:func:`PyErr_CheckSignals`, e "
323+
"se isso definir o indicador de erro, deixa-o definido como tal. A função "
324+
"retorna sempre ``NULL``, de forma que uma função que envolve uma chamada de "
325+
"sistema pode retornar ``return PyErr_SetFromErrno(type);`` quando a chamada "
326+
"de sistema retornar um erro."
295327

296328
#:../../c-api/exceptions.rst:199
297329
msgid""
@@ -300,20 +332,30 @@ msgid ""
300332
"*type* as a third parameter. In the case of :exc:`OSError` exception, this "
301333
"is used to define the :attr:`!filename` attribute of the exception instance."
302334
msgstr""
335+
"Similar à :c:func:`PyErr_SetFromErrno`, com o comportamento adicional de "
336+
"que, se *filenameObject* não é ``NULL``, ele é passado para o construtor de "
337+
"*type* como um terceiro parâmetro. No caso da exceção :exc:`OSError`, isso é "
338+
"usado para definir o atributo :attr:`!filename` da instância da exceção."
303339

304340
#:../../c-api/exceptions.rst:208
305341
msgid""
306342
"Similar to :c:func:`PyErr_SetFromErrnoWithFilenameObject`, but takes a "
307343
"second filename object, for raising errors when a function that takes two "
308344
"filenames fails."
309345
msgstr""
346+
"Similar à :c:func:`PyErr_SetFromErrnoWithFilenameObject`, mas recebe um "
347+
"segundo objeto filename, para levantar erros quando uma função que recebe "
348+
"dois nomes de arquivos falha."
310349

311350
#:../../c-api/exceptions.rst:217
312351
msgid""
313352
"Similar to :c:func:`PyErr_SetFromErrnoWithFilenameObject`, but the filename "
314353
"is given as a C string. *filename* is decoded from the :term:`filesystem "
315354
"encoding and error handler`."
316355
msgstr""
356+
"Similar à :c:func:`PyErr_SetFromErrnoWithFilenameObject`, mas o nome do "
357+
"arquivo é fornecido como uma string C. *filename* é decodificado do :term:"
358+
"`filesystem encoding and error handler`."
317359

318360
#:../../c-api/exceptions.rst:224
319361
msgid""
@@ -328,6 +370,16 @@ msgid ""
328370
"``PyErr_SetObject(PyExc_OSError, object)``. This function always returns "
329371
"``NULL``."
330372
msgstr""
373+
"Essa é uma função conveniente para levantar :exc:`OSError`. Se chamada com "
374+
"*ierr* de ``0``, o código de erro retornado por uma chamada para :c:func:`!"
375+
"GetLastError` é usado instantaneamente. Ela chama a função Win32 :c:func:`!"
376+
"FormatMessage` para retornar a descrição Windows do código de erro dado por "
377+
"*ierr* ou :c:func:`!GetLastError`, e então constrói um objeto :exc:`OSError` "
378+
"com o atributo :attr:`~OSError.winerror` definido para o código de erro, o "
379+
"atributo :attr:`~OSError.strerror` definido para a mensagem de erro "
380+
"correspondente (lida de :c:func:`!FormatMessage`), e então chama "
381+
"``PyErr_SetObject(PyExc_OSError, object)``. Essa função sempre retorna "
382+
"``NULL``."
331383

332384
#:../../c-api/exceptions.rst:234../../c-api/exceptions.rst:242
333385
#:../../c-api/exceptions.rst:253../../c-api/exceptions.rst:263
@@ -340,6 +392,8 @@ msgid ""
340392
"Similar to :c:func:`PyErr_SetFromWindowsErr`, with an additional parameter "
341393
"specifying the exception type to be raised."
342394
msgstr""
395+
"Semelhante a :c:func:`PyErr_SetFromWindowsErr`, com um parâmetro adicional "
396+
"que especifica o tipo de exceção a ser levantada."
343397

344398
#:../../c-api/exceptions.rst:247
345399
msgid""
@@ -578,7 +632,7 @@ msgstr ""
578632

579633
#:../../c-api/exceptions.rst:481
580634
msgid"Use :c:func:`PyErr_GetRaisedException` instead."
581-
msgstr""
635+
msgstr"Use :c:func:`PyErr_GetRaisedException` em vez disso."
582636

583637
#:../../c-api/exceptions.rst:483
584638
msgid""
@@ -609,7 +663,7 @@ msgstr ""
609663

610664
#:../../c-api/exceptions.rst:509
611665
msgid"Use :c:func:`PyErr_SetRaisedException` instead."
612-
msgstr""
666+
msgstr"Use :c:func:`PyErr_SetRaisedException` em vez disso."
613667

614668
#:../../c-api/exceptions.rst:511
615669
msgid""
@@ -636,6 +690,8 @@ msgid ""
636690
"Use :c:func:`PyErr_GetRaisedException` instead, to avoid any possible de-"
637691
"normalization."
638692
msgstr""
693+
"Use :c:func:`PyErr_GetRaisedException` em vez disso, para evitar qualquer "
694+
"possível desnormalização."
639695

640696
#:../../c-api/exceptions.rst:537
641697
msgid""
@@ -660,6 +716,9 @@ msgid ""
660716
" PyException_SetTraceback(val, tb);\n"
661717
"}"
662718
msgstr""
719+
"if (tb != NULL) {\n"
720+
"PyException_SetTraceback(val, tb);\n"
721+
"}"
663722

664723
#:../../c-api/exceptions.rst:557
665724
msgid""
@@ -783,6 +842,8 @@ msgid ""
783842
"Simulate the effect of a :c:macro:`!SIGINT` signal arriving. This is "
784843
"equivalent to ``PyErr_SetInterruptEx(SIGINT)``."
785844
msgstr""
845+
"Simula o efeito de um sinal :c:macro:`!SIGINT` chegando. Isto é equivalente "
846+
"a ``PyErr_SetInterruptEx(SIGINT)``."
786847

787848
#:../../c-api/exceptions.rst:677../../c-api/exceptions.rst:704
788849
msgid""
@@ -879,7 +940,7 @@ msgstr ""
879940

880941
#:../../c-api/exceptions.rst:759
881942
msgid"Return :c:member:`~PyTypeObject.tp_name` of the exception class *ob*."
882-
msgstr""
943+
msgstr"Retorna :c:member:`~PyTypeObject.tp_name` da classe de exceção *ob*."
883944

884945
#:../../c-api/exceptions.rst:763
885946
msgid"Exception Objects"
@@ -938,7 +999,7 @@ msgstr ""
938999

9391000
#:../../c-api/exceptions.rst:814
9401001
msgid"Return :attr:`~BaseException.args` of exception *ex*."
941-
msgstr""
1002+
msgstr"Retorna :attr:`~BaseException.args` da exceção *ex*."
9421003

9431004
#:../../c-api/exceptions.rst:819
9441005
msgid"Set :attr:`~BaseException.args` of exception *ex* to *args*."
@@ -1000,7 +1061,7 @@ msgstr ""
10001061

10011062
#:../../c-api/exceptions.rst:869
10021063
msgid":attr:`UnicodeError.start`"
1003-
msgstr""
1064+
msgstr":attr:`UnicodeError.start`"
10041065

10051066
#:../../c-api/exceptions.rst:875
10061067
msgid""
@@ -1038,7 +1099,7 @@ msgstr ""
10381099

10391100
#:../../c-api/exceptions.rst:902
10401101
msgid":attr:`UnicodeError.end`"
1041-
msgstr""
1102+
msgstr":attr:`UnicodeError.end`"
10421103

10431104
#:../../c-api/exceptions.rst:908
10441105
msgid"Return the *reason* attribute of the given exception object."
@@ -1088,7 +1149,7 @@ msgstr ""
10881149
msgid""
10891150
"This function is now also available in the :ref:`limited API <limited-c-"
10901151
"api>`."
1091-
msgstr""
1152+
msgstr"Esta função agora também está disponível na :ref:`limited API `."
10921153

10931154
#:../../c-api/exceptions.rst:947
10941155
msgid""
@@ -1164,25 +1225,25 @@ msgstr ""
11641225

11651226
#:../../c-api/exceptions.rst:995
11661227
msgid"Exception types"
1167-
msgstr""
1228+
msgstr"Tipos de exceção"
11681229

11691230
#:../../c-api/exceptions.rst:1002../../c-api/exceptions.rst:1148
11701231
#:../../c-api/exceptions.rst:1178
11711232
msgid"C name"
1172-
msgstr""
1233+
msgstr"Nome C"
11731234

11741235
#:../../c-api/exceptions.rst:1003../../c-api/exceptions.rst:1149
11751236
#:../../c-api/exceptions.rst:1179
11761237
msgid"Python name"
1177-
msgstr""
1238+
msgstr"Nome Python"
11781239

11791240
#:../../c-api/exceptions.rst:1005
11801241
msgid":exc:`BaseException`"
11811242
msgstr":exc:`BaseException`"
11821243

11831244
#:../../c-api/exceptions.rst:1007
11841245
msgid":exc:`BaseExceptionGroup`"
1185-
msgstr""
1246+
msgstr":exc:`BaseExceptionGroup`"
11861247

11871248
#:../../c-api/exceptions.rst:1009
11881249
msgid":exc:`Exception`"
@@ -1323,7 +1384,7 @@ msgstr ":exc:`ProcessLookupError`"
13231384

13241385
#:../../c-api/exceptions.rst:1077
13251386
msgid":exc:`PythonFinalizationError`"
1326-
msgstr""
1387+
msgstr":exc:`PythonFinalizationError`"
13271388

13281389
#:../../c-api/exceptions.rst:1079
13291390
msgid":exc:`RecursionError`"
@@ -1427,7 +1488,7 @@ msgstr ":c:data:`PyExc_ModuleNotFoundError`."
14271488

14281489
#:../../c-api/exceptions.rst:1131
14291490
msgid":c:data:`PyExc_BaseExceptionGroup`."
1430-
msgstr""
1491+
msgstr":c:data:`PyExc_BaseExceptionGroup`."
14311492

14321493
#:../../c-api/exceptions.rst:1136
14331494
msgid"OSError aliases"
@@ -1447,7 +1508,7 @@ msgstr "Notas"
14471508

14481509
#:../../c-api/exceptions.rst:1159
14491510
msgid"[win]_"
1450-
msgstr""
1511+
msgstr"[win]_"
14511512

14521513
#:../../c-api/exceptions.rst:1161
14531514
msgid"Notes:"
@@ -1477,7 +1538,7 @@ msgstr ":exc:`DeprecationWarning`"
14771538

14781539
#:../../c-api/exceptions.rst:1187
14791540
msgid":exc:`EncodingWarning`"
1480-
msgstr""
1541+
msgstr":exc:`EncodingWarning`"
14811542

14821543
#:../../c-api/exceptions.rst:1189
14831544
msgid":exc:`FutureWarning`"
@@ -1517,7 +1578,7 @@ msgstr ":c:data:`PyExc_ResourceWarning`."
15171578

15181579
#:../../c-api/exceptions.rst:1208
15191580
msgid":c:data:`PyExc_EncodingWarning`."
1520-
msgstr""
1581+
msgstr":c:data:`PyExc_EncodingWarning`."
15211582

15221583
#:../../c-api/exceptions.rst:183
15231584
msgid"strerror (C function)"

‎c-api/gcsupport.po‎

Lines changed: 6 additions & 5 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.14\n"
1314
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-05-23 14:20+0000\n"
15+
"POT-Creation-Date:2025-10-29 14:15+0000\n"
1516
"PO-Revision-Date:2025-09-16 00:00+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
"MIME-Version:1.0\n"
@@ -155,11 +156,11 @@ msgstr ""
155156

156157
#:../../c-api/gcsupport.rst:73../../c-api/gcsupport.rst:97
157158
msgid":c:func:`PyObject_GC_Del`"
158-
msgstr""
159+
msgstr":c:func:`PyObject_GC_Del`"
159160

160161
#:../../c-api/gcsupport.rst:74
161162
msgid":c:macro:`PyObject_New`"
162-
msgstr""
163+
msgstr":c:macro:`PyObject_New`"
163164

164165
#:../../c-api/gcsupport.rst:75../../c-api/gcsupport.rst:99
165166
#:../../c-api/gcsupport.rst:193
@@ -178,7 +179,7 @@ msgstr ""
178179

179180
#:../../c-api/gcsupport.rst:98
180181
msgid":c:macro:`PyObject_NewVar`"
181-
msgstr""
182+
msgstr":c:macro:`PyObject_NewVar`"
182183

183184
#:../../c-api/gcsupport.rst:105
184185
msgid""

‎c-api/memory.po‎

Lines changed: 5 additions & 4 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.14\n"
1314
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-07-25 14:21+0000\n"
15+
"POT-Creation-Date:2025-10-29 14:15+0000\n"
1516
"PO-Revision-Date:2025-09-16 00:00+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
"MIME-Version:1.0\n"
@@ -525,11 +526,11 @@ msgstr ":c:func:`PyObject_Calloc`"
525526

526527
#:../../c-api/memory.rst:392
527528
msgid":c:macro:`PyObject_New`"
528-
msgstr""
529+
msgstr":c:macro:`PyObject_New`"
529530

530531
#:../../c-api/memory.rst:393
531532
msgid":c:macro:`PyObject_NewVar`"
532-
msgstr""
533+
msgstr":c:macro:`PyObject_NewVar`"
533534

534535
#:../../c-api/memory.rst:394
535536
msgid":c:func:`PyType_GenericAlloc`"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp