8000 Update translations from Transifex · python/python-docs-pt-br@59c8191 · GitHub
[go: up one dir, main page]

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

Appearance settings

Commit 59c8191

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 3fc975c commit 59c8191

File tree

12 files changed

+394
-86
lines changed

12 files changed

+394
-86
lines changed

library/exceptions.po

Lines changed: 49 additions & 4 deletions
67E6
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
# Marco Rougeth <marco@rougeth.com>, 2023
1111
# Patricia Mortada, 2023
1212
# Adorilson Bezerra <adorilson@gmail.com>, 2023
13-
# Rafael Fontenelle <rffontenelle@gmail.com>, 2023
13+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
1414
#
1515
#, fuzzy
1616
msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.12\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2024-02-09 14:13+0000\n"
20+
"POT-Creation-Date: 2024-02-23 14:13+0000\n"
2121
"PO-Revision-Date: 2021-06-28 01:05+0000\n"
22-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
22+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
2323
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2424
"teams/5390/pt_BR/)\n"
2525
"MIME-Version: 1.0\n"
@@ -59,6 +59,12 @@ msgid ""
5959
"and a string explaining the code). The associated value is usually passed "
6060
"as arguments to the exception class's constructor."
6161
msgstr ""
62+
"As exceções embutidas listadas neste capítulo podem ser geradas pelo "
63+
"interpretador ou pelas funções embutidas. Exceto onde mencionado, eles têm "
64+
"um \"valor associado\" indicando a causa detalhada do erro. Pode ser uma "
65+
"string ou uma tupla de vários itens de informação (por exemplo, um código de "
66+
"erro e uma string que explica o código). O valor associado geralmente é "
67+
"passado como argumentos para o construtor da classe de exceção."
6268

6369
#: ../../library/exceptions.rst:26
6470
msgid ""
@@ -97,6 +103,8 @@ msgid ""
97103
"Three attributes on exception objects provide information about the context "
98104
"in which the exception was raised:"
99105
msgstr ""
106+
"Três atributos em objetos exceções fornecem informações sobre o contexto em "
107+
"que a exceção foi levantada."
100108

101109
#: ../../library/exceptions.rst:53
102110
msgid ""
@@ -106,6 +114,11 @@ msgid ""
106114
"`except` or :keyword:`finally` clause, or a :keyword:`with` statement, is "
107115
"used."
108116
msgstr ""
117+
"Ao levantar uma nova exceção enquanto outra exceção já está sendo tratada, o "
118+
"atributo :attr:`!__context__` da nova exceção é automaticamente definido "
119+
"para a exceção tratada. Uma exceção pode ser tratada quando uma cláusula :"
120+
"keyword:`except` ou :keyword:`finally`, ou uma instrução :keyword:`with`, é "
121+
"usada."
109122

110123
#: ../../library/exceptions.rst:59
111124
msgid ""
@@ -126,6 +139,14 @@ msgid ""
126139
"while leaving the old exception available in :attr:`!__context__` for "
127140
"introspection when debugging."
128141
msgstr ""
142+
"A expressão a seguir :keyword:`from<raise>` deve ser uma exceção ou "
143+
"``None``. Ela será definida como :attr:`!__cause__` na exceção levantada. A "
144+
"definição de :attr:`!__cause__` também define implicitamente o atributo :"
145+
"attr:`!__suppress_context__` como ``True``, de modo que o uso de ``raise "
146+
"new_exc from None`` substitui efetivamente a exceção antiga pela nova para "
147+
"fins de exibição (por exemplo, convertendo :exc:`KeyError` para :exc:"
148+
"`AttributeError`), deixando a exceção antiga disponível em :attr:`!"
149+
"__context__` para introspecção durante a depuração."
129150

130151
#: ../../library/exceptions.rst:74
131152
msgid ""
@@ -135,6 +156,11 @@ msgid ""
135156
"chained exception in :attr:`!__context__` is shown only if :attr:`!"
136157
"__cause__` is :const:`None` and :attr:`!__suppress_context__` is false."
137158
msgstr ""
159+
"O código de exibição padrão do traceback mostra essas exceções encadeadas, "
160+
"além do traceback da própria exceção. Uma exceção explicitamente encadeada "
161+
"em :attr:`!__cause__` sempre é mostrada quando presente. Uma exceção "
162+
"implicitamente encadeada em :attr:`!__context__` é mostrada apenas se :attr:"
163+
"`!__cause__` for :const:`None` e :attr:`!__suppress_context__` for falso."
138164

139165
#: ../../library/exceptions.rst:80
140166
msgid ""
@@ -244,6 +270,8 @@ msgid ""
244270
"A writable field that holds the :ref:`traceback object <traceback-objects>` "
245271
"associated with this exception. See also: :ref:`raise`."
246272
msgstr ""
273+
"Um campo gravável que contém o :ref:`objeto traceback <traceback-objects>` "
274+
"associado a esta exceção. Veja também: :ref:`raise`."
247275

248276
#: ../../library/exceptions.rst:149
249277
msgid ""
@@ -707,6 +735,8 @@ msgid ""
707735
"as an argument when constructing the exception, and defaults to :const:"
708736
"`None`."
709737
msgstr ""
738+
"O objeto exceção tem um único atributo :attr:`!value`, que é fornecido como "
739+
"um argumento ao construir a exceção, e o padrão é :const:`None`."
710740

711741
#: ../../library/exceptions.rst:456
712742
msgid ""
@@ -1480,6 +1510,11 @@ msgid ""
14801510
"__context__` and :attr:`~BaseException.__notes__` fields. Empty nested "
14811511
"groups are omitted from the result."
14821512
msgstr ""
1513+
"A estrutura de aninhamento da exceção atual é preservada no resultado, assim "
1514+
"como os valores de seus campos :attr:`message`, :attr:`~BaseException."
1515+
"__traceback__`, :attr:`~BaseException.__cause__`, :attr:`~BaseException."
1516+
"__context__` e :attr:`~BaseException.__notes__`. Grupos aninhados vazios são "
1517+
"omitidos do resultado."
14831518

14841519
#: ../../library/exceptions.rst:955
14851520
msgid ""
@@ -1527,6 +1562,11 @@ msgid ""
15271562
"exception group to the one returned by :meth:`derive`, so these fields do "
15281563
"not need to be updated by :meth:`derive`."
15291564
msgstr ""
1565+
":meth:`subgroup` e :meth:`split` copiam os campos :attr:`~BaseException."
1566+
"__traceback__`, :attr:`~BaseException.__cause__`, :attr:`~BaseException."
1567+
"__context__` e :attr:`~BaseException.__notes__` do grupo de exceções "
1568+
"original para o retornado por :meth:`derive`, então esses campos não "
1569+
"precisam ser atualizados por :meth:`derive`. ::"
15301570

15311571
#: ../../library/exceptions.rst:1008
15321572
msgid ""
@@ -1536,6 +1576,11 @@ msgid ""
15361576
"exception group subclass which accepts an exit_code and and constructs the "
15371577
"group's message from it. ::"
15381578
msgstr ""
1579+
"Observe que :exc:`BaseExceptionGroup` define :meth:`~object.__new__`, então "
1580+
"subclasses que precisam de uma assinatura de construtor diferente precisam "
1581+
"substituir isso ao invés de :meth:`~object.__init__`. Por exemplo, o "
1582+
"seguinte define uma subclasse de grupo de exceções que aceita um exit_code e "
1583+
"constrói a mensagem do grupo a partir dele. ::"
15391584

15401585
#: ../../library/exceptions.rst:1023
15411586
msgid ""
@@ -1590,7 +1635,7 @@ msgstr "__context__ (atributo de exceção)"
15901635

15911636
#: ../../library/exceptions.rst:41
15921637
msgid "__suppress_context__ (exception attribute)"
1593-
msgstr ""
1638+
msgstr "__suppress_context__ (atributo de exceção)"
15941639

15951640
#: ../../library/exceptions.rst:196
15961641
msgid "assert"

library/functions.po

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@
1414
# (Douglas da Silva) <dementikovalev@yandex.ru>, 2021
1515
# Katyanna Moura <amelie.kn@gmail.com>, 2021
1616
# João Porfirio, 2021
17-
# Adorilson Bezerra <adorilson@gmail.com>, 2023
1817
# Vinicius Gubiani Ferreira <vini.g.fer@gmail.com>, 2023
1918
# Marco Rougeth <marco@rougeth.com>, 2023
2019
# Claudio Rogerio Carvalho Filho <excriptbrasil@gmail.com>, 2023
2120
# Rafael Fontenelle <rffontenelle@gmail.com>, 2023
21+
# Adorilson Bezerra <adorilson@gmail.com>, 2024
2222
#
2323
#, fuzzy
2424
msgid ""
2525
msgstr ""
2626
"Project-Id-Version: Python 3.12\n"
2727
"Report-Msgid-Bugs-To: \n"
28-
"POT-Creation-Date: 2024-01-26 14:13+0000\n"
28+
"POT-Creation-Date: 2024-02-23 14:13+0000\n"
2929
"PO-Revision-Date: 2021-06-28 01:06+0000\n"
30-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
30+
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2024\n"
3131
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
3232
"teams/5390/pt_BR/)\n"
3333
"MIME-Version: 1.0\n"
@@ -1458,6 +1458,9 @@ msgid ""
14581458
"Case is not significant, so, for example, \"inf\", \"Inf\", \"INFINITY\", "
14591459
"and \"iNfINity\" are all acceptable spellings for positive infinity."
14601460
msgstr ""
1461+
"O caso não é significativo, então, por exemplo, \"inf\", \"Inf\", "
1462+
"\"INFINITY\" e \"iNfINity\" são todas grafias aceitáveis para o infinito "
1463+
"positivo."
14611464

14621465
#: ../../library/functions.rst:681
14631466
msgid ""
@@ -2089,7 +2092,7 @@ msgstr ""
20892092

20902093
#: ../../library/functions.rst:1076 ../../library/functions.rst:1114
20912094
msgid "Added the *default* keyword-only parameter."
2092-
msgstr ""
2095+
msgstr "Adicionado o parâmetro *default* somente-nomeado."
20932096

20942097
#: ../../library/functions.rst:1079 ../../library/functions.rst:1117
20952098
msgid "The *key* can be ``None``."

0 commit comments

Comments
 (0)
0