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

Skip to content

Commit 52f1d85

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent d5ea657 commit 52f1d85

22 files changed

+2172
-2153
lines changed

library/ast.po

Lines changed: 119 additions & 137 deletions
Large diffs are not rendered by default.

library/csv.po

Lines changed: 102 additions & 116 deletions
Large diffs are not rendered by default.

library/datetime.po

Lines changed: 209 additions & 213 deletions
Large diffs are not rendered by default.

library/exceptions.po

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.12\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2023-12-15 14:14+0000\n"
20+
"POT-Creation-Date: 2023-12-22 14:13+0000\n"
2121
"PO-Revision-Date: 2021-06-28 01:05+0000\n"
2222
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
2323
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -1536,17 +1536,12 @@ msgstr ""
15361536

15371537
#: ../../library/exceptions.rst:1008
15381538
msgid ""
1539-
"Note that :exc:`BaseExceptionGroup` defines :meth:`__new__`, so subclasses "
1540-
"that need a different constructor signature need to override that rather "
1541-
"than :meth:`__init__`. For example, the following defines an exception group "
1542-
"subclass which accepts an exit_code and and constructs the group's message "
1543-
"from it. ::"
1544-
msgstr ""
1545-
"Observe que :exc:`BaseExceptionGroup` define :meth:`__new__`, então "
1546-
"subclasses que precisam de uma assinatura de construtor diferente precisam "
1547-
"substituir isso ao invés de :meth:`__init__`. Por exemplo, o seguinte define "
1548-
"uma subclasse de grupo de exceções que aceita um exit_code e constrói a "
1549-
"mensagem do grupo a partir dele. ::"
1539+
"Note that :exc:`BaseExceptionGroup` defines :meth:`~object.__new__`, so "
1540+
"subclasses that need a different constructor signature need to override that "
1541+
"rather than :meth:`~object.__init__`. For example, the following defines an "
1542+
"exception group subclass which accepts an exit_code and and constructs the "
1543+
"group's message from it. ::"
1544+
msgstr ""
15501545

15511546
#: ../../library/exceptions.rst:1023
15521547
msgid ""

library/itertools.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ msgid ""
1818
msgstr ""
1919
"Project-Id-Version: Python 3.12\n"
2020
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2023-12-15 14:14+0000\n"
21+
"POT-Creation-Date: 2023-12-22 14:13+0000\n"
2222
"PO-Revision-Date: 2021-06-28 01:08+0000\n"
2323
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
2424
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -1013,6 +1013,6 @@ msgstr ""
10131013
"elementos construtivos \"vetorizados\" em vez do uso de laços for e :term 6D40 :"
10141014
"`generator`\\s que incorrem em sobrecarga do interpretador."
10151015

1016-
#: ../../library/itertools.rst:1024
1016+
#: ../../library/itertools.rst:1025
10171017
msgid "The following recipes have a more mathematical flavor:"
10181018
msgstr ""

library/numbers.po

Lines changed: 27 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Sheila Gomes <sheilagomes1@gmail.com>, 2021
87
# Rafael Fontenelle <rffontenelle@gmail.com>, 2023
98
#
109
#, fuzzy
1110
msgid ""
1211
msgstr ""
1312
"Project-Id-Version: Python 3.12\n"
1413
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-06-09 14:13+0000\n"
14+
"POT-Creation-Date: 2023-12-22 14:13+0000\n"
1615
"PO-Revision-Date: 2021-06-28 01:10+0000\n"
1716
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
1817
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -34,15 +33,11 @@ msgstr "**Código-fonte:** :source:`Lib/numbers.py`"
3433

3534
#: ../../library/numbers.rst:11
3635
msgid ""
37-
"The :mod:`numbers` module (:pep:`3141`) defines a hierarchy of numeric :term:"
38-
"`abstract base classes <abstract base class>` which progressively define "
39-
"more operations. None of the types defined in this module are intended to "
40-
"be instantiated."
36+
"The :mod:`!numbers` module (:pep:`3141`) defines a hierarchy of numeric :"
37+
"term:`abstract base classes <abstract base class>` which progressively "
38+
"define more operations. None of the types defined in this module are "
39+
"intended to be instantiated."
4140
msgstr ""
42-
"O módulo :mod:`numbers` (:pep:`3141`) define uma hierarquia de :term:"
43-
"`classes base abstratas <abstract base class>` que progressivamente definem "
44-
"mais operações. Nenhum dos tipos definidos neste módulo se destina a ser "
45-
"instanciado."
4641

4742
#: ../../library/numbers.rst:18
4843
msgid ""
@@ -89,11 +84,9 @@ msgstr ""
8984

9085
#: ../../library/numbers.rst:48
9186
msgid ""
92-
"To :class:`Complex`, :class:`Real` adds the operations that work on real "
87+
"To :class:`Complex`, :class:`!Real` adds the operations that work on real "
9388
"numbers."
9489
msgstr ""
95-
"Para :class:`Complex`, :class:`Real` adiciona as operações que funcionam em "
96-
"números reais."
9790

9891
#: ../../library/numbers.rst:51
9992
msgid ""
@@ -188,16 +181,11 @@ msgid ""
188181
"We want to implement the arithmetic operations so that mixed-mode operations "
189182
"either call an implementation whose author knew about the types of both "
190183
"arguments, or convert both to the nearest built in type and do the operation "
191-
"there. For subtypes of :class:`Integral`, this means that :meth:`__add__` "
192-
"and :meth:`__radd__` should be defined as::"
184+
"there. For subtypes of :class:`Integral`, this means that :meth:`~object."
185+
"__add__` and :meth:`~object.__radd__` should be defined as::"
193186
msgstr ""
194-
"Queremos implementar as operações aritméticas de forma que as operações de "
195-
"modo misto chamem uma implementação cujo autor conhecia os tipos de ambos os "
196-
"argumentos ou convertam ambos para o tipo embutido mais próximo e façam a "
197-
"operação lá. Para subtipos de :class:`Integral`, isso significa que :meth:"
198-
"`__add__` e :meth:`__radd__` devem ser definidos com::"
199187

200-
#: ../../library/numbers.rst:156
188+
#: ../../library/numbers.rst:157
201189
msgid ""
202190
"There are 5 different cases for a mixed-type operation on subclasses of :"
203191
"class:`Complex`. I'll refer to all of the above code that doesn't refer to "
@@ -211,41 +199,35 @@ msgstr ""
211199
"instância de ``A``, que é um subtipo de :class:`Complex` (``a : A <: "
212200
"Complex``) e ``b : B <: Complex``. Vou considerar ``a + b``:"
213201

214-
#: ../../library/numbers.rst:163
215-
msgid "If ``A`` defines an :meth:`__add__` which accepts ``b``, all is well."
216-
msgstr "Se ``A`` define um :meth:`__add__`, que aceita ``b``, está tudo bem."
202+
#: ../../library/numbers.rst:164
203+
msgid ""
204+
"If ``A`` defines an :meth:`~object.__add__` which accepts ``b``, all is well."
205 10000 +
msgstr ""
217206

218-
#: ../../library/numbers.rst:165
207+
#: ../../library/numbers.rst:166
219208
msgid ""
220209
"If ``A`` falls back to the boilerplate code, and it were to return a value "
221-
"from :meth:`__add__`, we'd miss the possibility that ``B`` defines a more "
222-
"intelligent :meth:`__radd__`, so the boilerplate should return :const:"
223-
"`NotImplemented` from :meth:`__add__`. (Or ``A`` may not implement :meth:"
224-
"`__add__` at all.)"
210+
"from :meth:`~object.__add__`, we'd miss the possibility that ``B`` defines a "
211+
"more intelligent :meth:`~object.__radd__`, so the boilerplate should return :"
212+
"const:`NotImplemented` from :meth:`!__add__`. (Or ``A`` may not implement :"
213+
"meth:`!__add__` at all.)"
225214
msgstr ""
226-
"Se ``A`` voltar ao código padrão e tivesse que retornar um valor de :meth:"
227-
"`__add__`, perderíamos a possibilidade de que ``B`` definisse um :meth:"
228-
"`__radd__` mais inteligente, então o código padrão deve retornar :const:"
229-
"`NotImplemented` de :meth:`__add__`. (Ou ``A`` pode não implementar :meth:"
230-
"`__add__`.)"
231215

232-
#: ../../library/numbers.rst:171
216+
#: ../../library/numbers.rst:172
233217
msgid ""
234-
"Then ``B``'s :meth:`__radd__` gets a chance. If it accepts ``a``, all is "
235-
"well."
218+
"Then ``B``'s :meth:`~object.__radd__` gets a chance. If it accepts ``a``, "
219+
"all is well."
236220
msgstr ""
237-
"Então, :meth:`__radd__` do ``B`` consegue uma chance. Se ele aceitar ``a``, "
238-
"está tudo bem."
239221

240-
#: ../../library/numbers.rst:173
222+
#: ../../library/numbers.rst:174
241223
msgid ""
242224
"If it falls back to the boilerplate, there are no more possible methods to "
243225
"try, so this is where the default implementation should live."
244226
msgstr ""
245227
"Se ele recorrer ao padrão, não há mais métodos possíveis para tentar, então "
246228
"é aqui que a implementação padrão deve residir."
247229

248-
#: ../../library/numbers.rst:176
230+
#: ../../library/numbers.rst:177
249231
msgid ""
250232
"If ``B <: A``, Python tries ``B.__radd__`` before ``A.__add__``. This is ok, "
251233
"because it was implemented with knowledge of ``A``, so it can handle those "
@@ -255,18 +237,15 @@ msgstr ""
255237
"ok, porque foi implementado com conhecimento de ``A``, então ele pode lidar "
256238
"com essas instâncias antes de delegar para :class:`Complex`."
257239

258-
#: ../../library/numbers.rst:181
240+
#: ../../library/numbers.rst:182
259241
msgid ""
260242
"If ``A <: Complex`` and ``B <: Real`` without sharing any other knowledge, "
261243
"then the appropriate shared operation is the one involving the built in :"
262-
"class:`complex`, and both :meth:`__radd__` s land there, so ``a+b == b+a``."
244+
"class:`complex`, and both :meth:`~object.__radd__` s land there, so ``a+b == "
245+
"b+a``."
263246
msgstr ""
264-
"Se ``A <: Complex`` e ``B <: Real`` sem compartilhar nenhum outro "
265-
"conhecimento, então a operação compartilhada apropriada é aquela envolvendo "
266-
"a :class:`complex` embutida, e ambos :meth:`__radd__` s chegam lá, de forma "
267-
"que ``a+b == b+a``."
268247

269-
#: ../../library/numbers.rst:186
248+
#: ../../library/numbers.rst:187
270249
msgid ""
271250
"Because most of the operations on any given type will be very similar, it "
272251
"can be useful to define a helper function which generates the forward and "

0 commit comments

Comments
 (0)
0