Skip to content

Commit 92ade18

Browse files
Update translations from Transifex
1 parent f62d05e commit 92ade18

1 file changed

Lines changed: 49 additions & 12 deletions

File tree

library/numbers.po

Lines changed: 49 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
#
66
# Translators:
77
# Sheila Gomes <sheilagomes1@gmail.com>, 2019
8-
# Rafael Fontenelle <rffontenelle@gmail.com>, 2019
9-
# Marco Rougeth <marco@rougeth.com>, 2020
8+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2021
109
#
1110
#, fuzzy
1211
msgid ""
@@ -15,7 +14,7 @@ msgstr ""
1514
"Report-Msgid-Bugs-To: \n"
1615
"POT-Creation-Date: 2021-05-16 06:22+0000\n"
1716
"PO-Revision-Date: 2017-02-16 23:20+0000\n"
18-
"Last-Translator: Marco Rougeth <marco@rougeth.com>, 2020\n"
17+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2021\n"
1918
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/python-doc/"
2019
"teams/5390/pt_BR/)\n"
2120
"MIME-Version: 1.0\n"
@@ -26,7 +25,7 @@ msgstr ""
2625

2726
#: ../../library/numbers.rst:2
2827
msgid ":mod:`numbers` --- Numeric abstract base classes"
29-
msgstr ""
28+
msgstr ":mod:`numbers` --- Classes base abstratas numéricas"
3029

3130
#: ../../library/numbers.rst:7
3231
msgid "**Source code:** :source:`Lib/numbers.py`"
@@ -39,16 +38,23 @@ msgid ""
3938
"more operations. None of the types defined in this module are intended to "
4039
"be instantiated."
4140
msgstr ""
41+
"O módulo :mod:`numbers` (:pep:`3141`) define uma hierarquia de :term:"
42+
"`classes base abstratas <abstract base class>` que progressivamente definem "
43+
"mais operações. Nenhum dos tipos definidos neste módulo se destina a ser "
44+
"instanciado."
4245

4346
#: ../../library/numbers.rst:18
4447
msgid ""
4548
"The root of the numeric hierarchy. If you just want to check if an argument "
4649
"*x* is a number, without caring what kind, use ``isinstance(x, Number)``."
4750
msgstr ""
51+
"A raiz da hierarquia numérica. Se você quiser apenas verificar se um "
52+
"argumento *x* é um número, sem se importar com o tipo, use ``isinstance(x, "
53+
"Number)``."
4854

4955
#: ../../library/numbers.rst:23
5056
msgid "The numeric tower"
51-
msgstr ""
57+
msgstr "A torre numérica"
5258

5359
#: ../../library/numbers.rst:27
5460
msgid ""
@@ -58,39 +64,53 @@ msgid ""
5864
"``, ``*``, ``/``, ``**``, :func:`abs`, :meth:`conjugate`, ``==``, and ``!"
5965
"=``. All except ``-`` and ``!=`` are abstract."
6066
msgstr ""
67+
"As subclasses deste tipo descrevem números complexos e incluem as operações "
68+
"que funcionam no tipo embutido :class:`complex`. Elas são: conversões para :"
69+
"class:`complex` e :class:`bool`, :attr:`.real`, :attr:`.imag`, ``+``, ``-``, "
70+
"``*``, ``/``, ``**``, :func:`abs`, :meth:`conjugate`, ``==`` e ``!=``. Todos "
71+
"exceto ``-`` e ``!=`` são abstratos."
6172

6273
#: ../../library/numbers.rst:35
6374
msgid "Abstract. Retrieves the real component of this number."
64-
msgstr ""
75+
msgstr "Abstrata. Obtém o componente real deste número."
6576

6677
#: ../../library/numbers.rst:39
6778
msgid "Abstract. Retrieves the imaginary component of this number."
68-
msgstr ""
79+
msgstr "Abstrata. Obtém o componente imaginário deste número."
6980

7081
#: ../../library/numbers.rst:43
7182
msgid ""
7283
"Abstract. Returns the complex conjugate. For example, ``(1+3j).conjugate() "
7384
"== (1-3j)``."
7485
msgstr ""
86+
"Abstrata. Retorna o conjugado complexo. Por exemplo, ``(1+3j).conjugate() == "
87+
"(1-3j)``."
7588

7689
#: ../../library/numbers.rst:48
7790
msgid ""
7891
"To :class:`Complex`, :class:`Real` adds the operations that work on real "
7992
"numbers."
8093
msgstr ""
94+
"Para :class:`Complex`, :class:`Real` adiciona as operações que funcionam em "
95+
"números reais."
8196

8297
#: ../../library/numbers.rst:51
8398
msgid ""
8499
"In short, those are: a conversion to :class:`float`, :func:`math.trunc`, :"
85100
"func:`round`, :func:`math.floor`, :func:`math.ceil`, :func:`divmod`, ``//``, "
86101
"``%``, ``<``, ``<=``, ``>``, and ``>=``."
87102
msgstr ""
103+
"Em suma, são: uma conversão para :class:`float`, :func:`math.trunc`, :func:"
104+
"`round`, :func:`math.floor`, :func:`math.ceil`, :func:`divmod`, ``//``, ``"
105+
"%``, ``<``, ``<=``, ``>`` e ``>=``."
88106

89107
#: ../../library/numbers.rst:55
90108
msgid ""
91109
"Real also provides defaults for :func:`complex`, :attr:`~Complex.real`, :"
92110
"attr:`~Complex.imag`, and :meth:`~Complex.conjugate`."
93111
msgstr ""
112+
"Real também fornece padrão para :func:`complex`, :attr:`~Complex.real`, :"
113+
"attr:`~Complex.imag` e :meth:`~Complex.conjugate`."
94114

95115
#: ../../library/numbers.rst:61
96116
msgid ""
@@ -101,7 +121,7 @@ msgstr ""
101121

102122
#: ../../library/numbers.rst:68 ../../library/numbers.rst:72
103123
msgid "Abstract."
104-
msgstr "Abstrato."
124+
msgstr "Abstrata."
105125

106126
#: ../../library/numbers.rst:77
107127
msgid ""
@@ -113,7 +133,7 @@ msgstr ""
113133

114134
#: ../../library/numbers.rst:85
115135
msgid "Notes for type implementors"
116-
msgstr ""
136+
msgstr "Nota para implementadores de tipos"
117137

118138
#: ../../library/numbers.rst:87
119139
msgid ""
@@ -122,21 +142,28 @@ msgid ""
122142
"the real numbers. For example, :class:`fractions.Fraction` implements :func:"
123143
"`hash` as follows::"
124144
msgstr ""
145+
"Os implementadores devem ter o cuidado de tornar iguais números iguais e "
146+
"fazer hash deles com os mesmos valores. Isso pode ser sutil se houver duas "
147+
"extensões diferentes dos números reais. Por exemplo, :class:`fractions."
148+
"Fraction` implementa :func:`hash` desta forma::"
125149

126150
#: ../../library/numbers.rst:106
127151
msgid "Adding More Numeric ABCs"
128-
msgstr ""
152+
msgstr "Adicionando mais ABCs numéricas"
129153

130154
#: ../../library/numbers.rst:108
131155
msgid ""
132156
"There are, of course, more possible ABCs for numbers, and this would be a "
133157
"poor hierarchy if it precluded the possibility of adding those. You can add "
134158
"``MyFoo`` between :class:`Complex` and :class:`Real` with::"
135159
msgstr ""
160+
"Existem, é claro, mais ABCs possíveis para números, e isso seria uma "
161+
"hierarquia pobre se excluísse a possibilidade de adicioná-los. Você pode "
162+
"adicionar ``MyFoo`` entre :class:`Complex` e :class:`Real` com::"
136163

137164
#: ../../library/numbers.rst:120
138165
msgid "Implementing the arithmetic operations"
139-
msgstr ""
166+
msgstr "Implementando as operações aritméticas"
140167

141168
#: ../../library/numbers.rst:122
142169
msgid ""
@@ -146,6 +173,11 @@ msgid ""
146173
"there. For subtypes of :class:`Integral`, this means that :meth:`__add__` "
147174
"and :meth:`__radd__` should be defined as::"
148175
msgstr ""
176+
"Queremos implementar as operações aritméticas de forma que as operações de "
177+
"modo misto chamem uma implementação cujo autor conhecia os tipos de ambos os "
178+
"argumentos ou convertam ambos para o tipo embutido mais próximo e façam a "
179+
"operação lá. Para subtipos de :class:`Integral`, isso significa que :meth:"
180+
"`__add__` e :meth:`__radd__` devem ser definidos com::"
149181

150182
#: ../../library/numbers.rst:153
151183
msgid ""
@@ -155,10 +187,15 @@ msgid ""
155187
"an instance of ``A``, which is a subtype of :class:`Complex` (``a : A <: "
156188
"Complex``), and ``b : B <: Complex``. I'll consider ``a + b``:"
157189
msgstr ""
190+
"Existem 5 casos diferentes para uma operação de tipo misto em subclasses de :"
191+
"class:`Complex`. Vou me referir a todo o código acima que não se refere a "
192+
"``MyIntegral`` e ``OtherTypeIKnowAbout`` com um \"modelo\". ``a`` será uma "
193+
"instância de ``A``, que é um subtipo de :class:`Complex` (``a : A <: "
194+
"Complex``) e ``b : B <: Complex``. Vou considerar ``a + b``:"
158195

159196
#: ../../library/numbers.rst:160
160197
msgid "If ``A`` defines an :meth:`__add__` which accepts ``b``, all is well."
161-
msgstr ""
198+
msgstr "Se ``A`` define um :meth:`__add__`, que aceita ``b``, tudo está bem."
162199

163200
#: ../../library/numbers.rst:162
164201
msgid ""

0 commit comments

Comments
 (0)