Skip to content

Commit 01b7c3a

Browse files
Update translation
Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com>
1 parent fffc9a0 commit 01b7c3a

4 files changed

Lines changed: 42 additions & 9 deletions

File tree

c-api/exceptions.po

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ msgstr ""
2828

2929
#: ../../c-api/exceptions.rst:8
3030
msgid "Exception Handling"
31-
msgstr "Tratamento de Exceções"
31+
msgstr "Tratamento de exceções"
3232

3333
#: ../../c-api/exceptions.rst:10
3434
msgid ""
@@ -225,7 +225,7 @@ msgstr ""
225225

226226
#: ../../c-api/exceptions.rst:123
227227
msgid "Raising exceptions"
228-
msgstr "Lançando exceções"
228+
msgstr "Levantando exceções"
229229

230230
#: ../../c-api/exceptions.rst:125
231231
msgid ""
@@ -478,6 +478,8 @@ msgid ""
478478
"Similar to :c:func:`PyErr_SyntaxLocationObject`, but also sets the "
479479
"*end_lineno* and *end_col_offset* information for the current exception."
480480
msgstr ""
481+
"Similar a :c:func:`PyErr_SyntaxLocationObject`, mas também define as "
482+
"informações *end_lineno* e *end_col_offset* para a exceção atual."
481483

482484
#: ../../c-api/exceptions.rst:322
483485
msgid ""
@@ -513,23 +515,32 @@ msgid ""
513515
"Get the source line in *filename* at line *lineno*. *filename* should be a "
514516
"Python :class:`str` object."
515517
msgstr ""
518+
"Obtém a linha de código-fonte em *filename* na linha *lineno*. *filename* "
519+
"deve ser um objeto :class:`str` Python."
516520

517521
#: ../../c-api/exceptions.rst:347
518522
msgid ""
519523
"On success, this function returns a Python string object with the found "
520524
"line. On failure, this function returns ``NULL`` without an exception set."
521525
msgstr ""
526+
"Em caso de sucesso, esta função retorna um objeto string do Python com a "
527+
"linha encontrada. Em caso de falha, esta função retorna ``NULL`` sem definir "
528+
"uma exceção."
522529

523530
#: ../../c-api/exceptions.rst:353
524531
msgid ""
525532
"Similar to :c:func:`PyErr_ProgramTextObject`, but *filename* is a :c:expr:"
526533
"`const char *`, which is decoded with the :term:`filesystem encoding and "
527534
"error handler`, instead of a Python object reference."
528535
msgstr ""
536+
"Semelhante a :c:func:`PyErr_ProgramTextObject`, mas *filename* é um :c:expr:"
537+
"`const char *`, que é decodificado com :term:`tratador de erros e "
538+
"codificação do sistema de arquivos`, em vez de uma referência de objeto "
539+
"Python."
529540

530541
#: ../../c-api/exceptions.rst:360
531542
msgid "Issuing warnings"
532-
msgstr "Emitindo advertências"
543+
msgstr "Emitindo avisos"
533544

534545
#: ../../c-api/exceptions.rst:362
535546
msgid ""
@@ -569,6 +580,12 @@ msgid ""
569580
"stack frame. A *stack_level* of 1 is the function calling :c:func:"
570581
"`PyErr_WarnEx`, 2 is the function above that, and so forth."
571582
msgstr ""
583+
"Emite uma mensagem de aviso. O argumento *category* é uma categoria de aviso "
584+
"(veja abaixo) ou ``NULL``; o argumento *message* é uma string codificada em "
585+
"UTF-8. *stack_level* é um número positivo que indica o número de quadros da "
586+
"pilha; o aviso será emitido a partir da linha de código atualmente em "
587+
"execução nesse quadro da pilha. Um *stack_level* de 1 é a função que chama :"
588+
"c:func:`PyErr_WarnEx`, 2 é a função acima dessa e assim por diante."
572589

573590
#: ../../c-api/exceptions.rst:384
574591
msgid ""
@@ -578,13 +595,21 @@ msgid ""
578595
"warning categories are available as global variables whose names are "
579596
"enumerated at :ref:`standardwarningcategories`."
580597
msgstr ""
598+
"As categorias de aviso devem ser subclasses de :c:data:`PyExc_Warning`; :c:"
599+
"data:`PyExc_Warning` é uma subclasse de :c:data:`PyExc_Exception`; a "
600+
"categoria de aviso padrão é :c:data:`PyExc_RuntimeWarning`. As categorias de "
601+
"aviso padrão do Python estão disponíveis como variáveis globais cujos nomes "
602+
"estão enumerados em :ref:`standardwarningcategories`."
581603

582604
#: ../../c-api/exceptions.rst:390
583605
msgid ""
584606
"For information about warning control, see the documentation for the :mod:"
585607
"`warnings` module and the :option:`-W` option in the command line "
586608
"documentation. There is no C API for warning control."
587609
msgstr ""
610+
"Para obter informações sobre o controle de avisos, consulte a documentação "
611+
"do módulo :mod:`warnings` e a opção :option:`-W` na documentação da linha de "
612+
"comando. Não existe uma API C para o controle de avisos."
588613

589614
#: ../../c-api/exceptions.rst:397
590615
msgid ""
@@ -593,13 +618,21 @@ msgid ""
593618
"warn_explicit`; see there for more information. The *module* and *registry* "
594619
"arguments may be set to ``NULL`` to get the default effect described there."
595620
msgstr ""
621+
"Emite uma mensagem de aviso com controle explícito sobre todos os atributos "
622+
"de aviso. Trata-se de um invólucro simples em torno da função Python :func:"
623+
"`warnings.warn_explicit`; consulte-a para obter mais informações. Os "
624+
"argumentos *module* e *registry* podem ser definidos como ``NULL`` para "
625+
"obter o efeito padrão descrito nessa função."
596626

597627
#: ../../c-api/exceptions.rst:408
598628
msgid ""
599629
"Similar to :c:func:`PyErr_WarnExplicitObject` except that *message* and "
600630
"*module* are UTF-8 encoded strings, and *filename* is decoded from the :term:"
601631
"`filesystem encoding and error handler`."
602632
msgstr ""
633+
"Semelhante a :c:func:`PyErr_WarnExplicitObject`, exceto que *message* e "
634+
"*module* são strings codificadas em UTF-8 e *filename* é decodificado a "
635+
"partir do :term:`tratador de erros e codificação do sistema de arquivos`."
603636

604637
#: ../../c-api/exceptions.rst:415
605638
msgid ""

potodo.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
1 directory 61.14% done
2-
└── 3.14/ 61.14% done
1+
1 directory 61.15% done
2+
└── 3.14/ 61.15% done
33
├── installing/ 100.00% done
44
├── distributing/ 100.00% done
55
├── faq/ 100.00% done
@@ -138,11 +138,11 @@
138138
│ ├── 3.7.po 249 / 568 ( 43.0% translated)
139139
│ └── changelog.po 3422 / 13662 ( 25.0% translated)
140140
├── deprecations/ 100.00% done
141-
└── c-api/ 50.13% done
141+
└── c-api/ 50.40% done
142142
├── bytes.po 66 / 74 ( 89.0% translated)
143143
├── conversion.po 29 / 45 ( 64.0% translated)
144144
├── descriptor.po 4 / 12 ( 33.0% translated)
145-
├── exceptions.po 165 / 261 ( 63.0% translated)
145+
├── exceptions.po 174 / 261 ( 66.0% translated)
146146
├── file.po 21 / 25 ( 84.0% translated)
147147
├── float.po 35 / 50 ( 70.0% translated)
148148
├── frame.po 21 / 51 ( 41.0% translated)

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "61.14%", "translated": 52848, "entries": 81685, "updated_at": "2025-11-14T00:23:18+00:00Z"}
1+
{"completion": "61.15%", "translated": 52857, "entries": 81685, "updated_at": "2025-11-14T23:09:10+00:00Z"}

whatsnew/changelog.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ msgid ""
331331
"Kumar Aditya."
332332
msgstr ""
333333
":gh:`103847`: Corrigido o travamento que ocorria ao cancelar um processo "
334-
"criado por `:func:`asyncio.create_subprocess_exec` ou `:func:`asyncio."
334+
"criado por :func:`asyncio.create_subprocess_exec` ou :func:`asyncio."
335335
"create_subprocess_shell`. Patch por Kumar Aditya."
336336

337337
#: ../NEWS:99

0 commit comments

Comments
 (0)