Skip to content

Commit f4f272a

Browse files
committed
Traducido archivo {library/numbers.po}
1 parent 20c146b commit f4f272a

File tree

2 files changed

+92
-15
lines changed

2 files changed

+92
-15
lines changed

TRANSLATORS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Paula Aragón (@pandrearro)
2+
Jhonatan Barrera (@iam3mer)
23
Héctor Canto (@hectorcanto_dev)
34
Carlos Crespo (@cacrespo)
45
Raúl Cumplido (@raulcd)
@@ -12,4 +13,4 @@ Marco Richetta (@marcorichetta)
1213
Sergio Delgado Quintero (@sdelquin)
1314
Silvina Tamburini (@silvinabt87)
1415
Javier Daza (@javierdaza)
15-
Agustina Quiros (@qagustina)
16+
Agustina Quiros (@qagustina)

library/numbers.po

Lines changed: 90 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
11
# Copyright (C) 2001-2020, Python Software Foundation
22
# This file is distributed under the same license as the Python package.
3-
# Maintained by the python-doc-es workteam.
3+
# Maintained by the python-doc-es workteam.
44
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
55
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers
66
#
7-
#, fuzzy
87
msgid ""
98
msgstr ""
109
"Project-Id-Version: Python 3.8\n"
1110
"Report-Msgid-Bugs-To: \n"
1211
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
13-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12+
"PO-Revision-Date: 2020-05-16 17:11-0500\n"
1513
"Language-Team: python-doc-es\n"
1614
"MIME-Version: 1.0\n"
1715
"Content-Type: text/plain; charset=UTF-8\n"
1816
"Content-Transfer-Encoding: 8bit\n"
17+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
18+
"Last-Translator: \n"
19+
"Language: es\n"
20+
"X-Generator: Poedit 2.3.1\n"
1921

2022
#: ../Doc/library/numbers.rst:2
2123
msgid ":mod:`numbers` --- Numeric abstract base classes"
22-
msgstr ""
24+
msgstr ":mod:`numbers` --- Clase base abstracta numérica"
2325

2426
#: ../Doc/library/numbers.rst:7
2527
msgid "**Source code:** :source:`Lib/numbers.py`"
26-
msgstr ""
28+
msgstr "**Código fuente:** :source:`Lib/numbers.py`"
2729

2830
#: ../Doc/library/numbers.rst:11
2931
msgid ""
@@ -32,69 +34,98 @@ msgid ""
3234
"more operations. None of the types defined in this module can be "
3335
"instantiated."
3436
msgstr ""
37+
"El módulo :mod:`numbers` (:pep:`3141`) define una jerarquía numérica :term:"
38+
"`abstract base classes <abstract base class>` que define progresivamente más "
39+
"operaciones. No se puede crear una instancia de ninguno de los tipos "
40+
"definidos en este módulo."
3541

3642
#: ../Doc/library/numbers.rst:18
3743
msgid ""
3844
"The root of the numeric hierarchy. If you just want to check if an argument "
3945
"*x* is a number, without caring what kind, use ``isinstance(x, Number)``."
4046
msgstr ""
47+
"La raíz de la jerarquía numérica. Si desea validar si un argumento *x* es un "
48+
"número, sin importar su tipo, use ``isinstance(x, Number)``."
4149

50+
# La verdad no se si sea buena esta traducción
4251
#: ../Doc/library/numbers.rst:23
52+
#, fuzzy
4353
msgid "The numeric tower"
44-
msgstr ""
54+
msgstr "La torre numérica"
4555

56+
# Al hacer referencia a las funciones integradas con built-in no sabria si esta bien la traducción propuesta
4657
#: ../Doc/library/numbers.rst:27
58+
#, fuzzy
4759
msgid ""
4860
"Subclasses of this type describe complex numbers and include the operations "
4961
"that work on the built-in :class:`complex` type. These are: conversions to :"
5062
"class:`complex` and :class:`bool`, :attr:`.real`, :attr:`.imag`, ``+``, ``-"
5163
"``, ``*``, ``/``, :func:`abs`, :meth:`conjugate`, ``==``, and ``!=``. All "
5264
"except ``-`` and ``!=`` are abstract."
5365
msgstr ""
66+
"Las subclases de este tipo describen números complejos e incluyen las "
67+
"operaciones integradas del tipo :class:`complex`. Estas son: conversiones a :"
68+
"class:`complejos` y :class:`booleanos`, :attr:`.reales`, :attr:`."
69+
"imaginarios`, ``+``, ``-``, ``*`, ``/``, 'func:`abs`, :meth:`conjugate`, "
70+
"``==``, y ``!=``. Todos excepto ``-`` y ``!=`` estos son abstractos."
5471

5572
#: ../Doc/library/numbers.rst:35
5673
msgid "Abstract. Retrieves the real component of this number."
57-
msgstr ""
74+
msgstr "Abstracto. Recupera el componente real de el número."
5875

5976
#: ../Doc/library/numbers.rst:39
6077
msgid "Abstract. Retrieves the imaginary component of this number."
61-
msgstr ""
78+
msgstr "Abstracto. Recupera el componente imaginario de el número."
6279

6380
#: ../Doc/library/numbers.rst:43
6481
msgid ""
6582
"Abstract. Returns the complex conjugate. For example, ``(1+3j).conjugate() "
6683
"== (1-3j)``."
6784
msgstr ""
85+
"Abstracto. Retorna el complejo conjugado. Por ejemplo, ``(1+3j).conjugate() "
86+
"== (1-3j)``."
6887

6988
#: ../Doc/library/numbers.rst:48
7089
msgid ""
7190
"To :class:`Complex`, :class:`Real` adds the operations that work on real "
7291
"numbers."
7392
msgstr ""
93+
"Para :class:`Complex`, :class:`Real` agrega las operaciones que trabajan con "
94+
"números reales."
7495

7596
#: ../Doc/library/numbers.rst:51
7697
msgid ""
7798
"In short, those are: a conversion to :class:`float`, :func:`math.trunc`, :"
7899
"func:`round`, :func:`math.floor`, :func:`math.ceil`, :func:`divmod`, ``//``, "
79100
"``%``, ``<``, ``<=``, ``>``, and ``>=``."
80101
msgstr ""
102+
"En resumen, estos son: conversiones a :class:`float`, :func:`math.trunc`, :"
103+
"func:`round`, :func:`math.floor`, :func:`math.ceil`, :func:`divmod`, ``//``, "
104+
"``%``, ``<``, ``<=``, ``>``, and ``>=``."
81105

82106
#: ../Doc/library/numbers.rst:55
83107
msgid ""
84108
"Real also provides defaults for :func:`complex`, :attr:`~Complex.real`, :"
85109
"attr:`~Complex.imag`, and :meth:`~Complex.conjugate`."
86110
msgstr ""
111+
"*Real* también proporciona valores predeterminados para :func:`complex`, :"
112+
"attr:`~Complex.real`, :attr:`~Complex.imag`, y :meth:`~Complex.conjugate`."
87113

114+
# Se me hace super rara toda la cadea
88115
#: ../Doc/library/numbers.rst:61
116+
#, fuzzy
89117
msgid ""
90118
"Subtypes :class:`Real` and adds :attr:`~Rational.numerator` and :attr:"
91119
"`~Rational.denominator` properties, which should be in lowest terms. With "
92120
"these, it provides a default for :func:`float`."
93121
msgstr ""
122+
"Subtipos :class:`Real` y agregar propiedades :attr:`~Rational.numerator` y :"
123+
"attr:`~Rational.denominator`, que deberían estar en los términos más bajos. "
124+
"Con esto, se proporciona un valor predeterminado a :func:`float`."
94125

95126
#: ../Doc/library/numbers.rst:68 ../Doc/library/numbers.rst:72
96127
msgid "Abstract."
97-
msgstr ""
128+
msgstr "Abstracto."
98129

99130
#: ../Doc/library/numbers.rst:77
100131
msgid ""
@@ -103,42 +134,62 @@ msgid ""
103134
"`~Rational.denominator`. Adds abstract methods for ``**`` and bit-string "
104135
"operations: ``<<``, ``>>``, ``&``, ``^``, ``|``, ``~``."
105136
msgstr ""
137+
"Subtipos :class:`Rational` y agregar conversión a :class:`int`. Proporciona "
138+
"valores predeterminados para :func:`float`, :attr:`~Rational.numerator`, y :"
139+
"attr:`~Rational.denominator`. Agreda métodos abstractos para operaciones "
140+
"``**`` y operaciones de cadena de bits: ``<<``, ``>>``, ``&``, ``^``, ``|``, "
141+
"``~``."
106142

107143
#: ../Doc/library/numbers.rst:84
108144
msgid "Notes for type implementors"
109-
msgstr ""
145+
msgstr "Notas para implementadores de tipos"
110146

147+
# Por aca tengo problemas con esta fracción de la cadena: Implementors should be careful to make equal numbers equal and hash them to the same values
111148
#: ../Doc/library/numbers.rst:86
149+
#, fuzzy
112150
msgid ""
113151
"Implementors should be careful to make equal numbers equal and hash them to "
114152
"the same values. This may be subtle if there are two different extensions of "
115153
"the real numbers. For example, :class:`fractions.Fraction` implements :func:"
116154
"`hash` as follows::"
117155
msgstr ""
156+
"Los implementadores deben tener cuidado de hacer que números iguales sean "
157+
"iguales y hacer *hash* con los mismos valores. Esto puede ser sutil si hay "
158+
"dos extensiones diferentes de los números reales. Por ejemplo: :class:"
159+
"`fractions.Fraction` implementa :func:`hash` de la siguiente manera::"
118160

119161
#: ../Doc/library/numbers.rst:105
120162
msgid "Adding More Numeric ABCs"
121-
msgstr ""
163+
msgstr "Añadiendo *ABCs* numéricos"
122164

123165
#: ../Doc/library/numbers.rst:107
124166
msgid ""
125167
"There are, of course, more possible ABCs for numbers, and this would be a "
126168
"poor hierarchy if it precluded the possibility of adding those. You can add "
127169
"``MyFoo`` between :class:`Complex` and :class:`Real` with::"
128170
msgstr ""
171+
"Por supuesto, hay más *ABCs* posibles para los números, y esto sería una "
172+
"jerarquía deficiente si se excluye la posibilidad de añadirlos. Puede usar "
173+
"``MyFoo`` entre :class:`Complex` y :class:`Real` así::"
129174

130175
#: ../Doc/library/numbers.rst:119
131176
msgid "Implementing the arithmetic operations"
132-
msgstr ""
177+
msgstr "Implementando operaciones aritméticas"
133178

134179
#: ../Doc/library/numbers.rst:121
180+
#, fuzzy
135181
msgid ""
136182
"We want to implement the arithmetic operations so that mixed-mode operations "
137183
"either call an implementation whose author knew about the types of both "
138184
"arguments, or convert both to the nearest built in type and do the operation "
139185
"there. For subtypes of :class:`Integral`, this means that :meth:`__add__` "
140186
"and :meth:`__radd__` should be defined as::"
141187
msgstr ""
188+
"We want to implement the arithmetic operations so that mixed-mode operations "
189+
"either call an implementation whose author knew about the types of both "
190+
"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::"
142193

143194
#: ../Doc/library/numbers.rst:152
144195
msgid ""
@@ -148,10 +199,15 @@ msgid ""
148199
"an instance of ``A``, which is a subtype of :class:`Complex` (``a : A <: "
149200
"Complex``), and ``b : B <: Complex``. I'll consider ``a + b``:"
150201
msgstr ""
202+
"Hay 5 casos diferentes para una operación de tipo mixto en subclases de :"
203+
"class:`Complex`. Me referiré a todo el código anterior que no se refiere a "
204+
"``MyIntegral`` y ``OtherTypeIKnowAbout` como ``repetitivo``. ``a`` será una "
205+
"instancia de ``A``, que es un subtipo de :class:`Complex` (``a: A <: "
206+
"Complex`), y ``b : B <: Complex``. Consideraré ``a + b``:"
151207

152208
#: ../Doc/library/numbers.rst:159
153209
msgid "If ``A`` defines an :meth:`__add__` which accepts ``b``, all is well."
154-
msgstr ""
210+
msgstr "Si ``A`` define un :meth:`__add__` que acepta ``b``, todo está bien."
155211

156212
#: ../Doc/library/numbers.rst:161
157213
msgid ""
@@ -161,32 +217,48 @@ msgid ""
161217
"`NotImplemented` from :meth:`__add__`. (Or ``A`` may not implement :meth:"
162218
"`__add__` at all.)"
163219
msgstr ""
220+
"Si ``A`` recurre al código repetitivo y devuelve un valor de :meth:"
221+
"`__add__`, perderíamos la posibilidad de que B defina un __radd __() más "
222+
"inteligente, por lo que el código repetitivo debería devolver :const:"
223+
"`NotImplemented` de :meth:`__add__`. (O ``A`` no puede implementar :meth:"
224+
"`__add__` en absoluto.)"
164225

165226
#: ../Doc/library/numbers.rst:167
166227
msgid ""
167228
"Then ``B``'s :meth:`__radd__` gets a chance. If it accepts ``a``, all is "
168229
"well."
169230
msgstr ""
231+
"Entonces ``B``'s :meth:`__radd__` tiene una oportunidad. Si acepta ``a``, "
232+
"todo esta bien."
170233

171234
#: ../Doc/library/numbers.rst:169
172235
msgid ""
173236
"If it falls back to the boilerplate, there are no more possible methods to "
174237
"try, so this is where the default implementation should live."
175238
msgstr ""
239+
"Si se vuelve a caer en el código repetitivo, no hay más posibles métodos "
240+
"para probar, por lo que acá debería vivir la implementación predeterminada."
176241

177242
#: ../Doc/library/numbers.rst:172
178243
msgid ""
179244
"If ``B <: A``, Python tries ``B.__radd__`` before ``A.__add__``. This is ok, "
180245
"because it was implemented with knowledge of ``A``, so it can handle those "
181246
"instances before delegating to :class:`Complex`."
182247
msgstr ""
248+
"Si ``B <: A``, Python probara ``B.__radd__`` antes que ``A.__add__``. Esto "
249+
"está bien, porque se implementó con conocimiento de ``A``, por lo que puede "
250+
"manejar instancias antes de delegar un :class:`Complex`."
183251

184252
#: ../Doc/library/numbers.rst:177
185253
msgid ""
186254
"If ``A <: Complex`` and ``B <: Real`` without sharing any other knowledge, "
187255
"then the appropriate shared operation is the one involving the built in :"
188256
"class:`complex`, and both :meth:`__radd__` s land there, so ``a+b == b+a``."
189257
msgstr ""
258+
"Si ``A <: Complex`` y ``B <: Real`` sin compartir ningún otro conocimiento,"
259+
"la operación compartida apropiada es la que involucra la clase :class:"
260+
"`complex` incorporada, y ambos :meth:`__radd__` desencadenan allí, entonces "
261+
"``a+b == b+a``."
190262

191263
#: ../Doc/library/numbers.rst:182
192264
msgid ""
@@ -195,3 +267,7 @@ msgid ""
195267
"reverse instances of any given operator. For example, :class:`fractions."
196268
"Fraction` uses::"
197269
msgstr ""
270+
"Dado que la mayoría de las operaciones en un tipo determinado serán muy "
271+
"similares, puede ser útil definir una función auxiliar que genere las "
272+
"instancias *forward* y *reverse* de cualquier operador dado. Por ejemplo, :"
273+
"class:`fractions.Fraction` así:"

0 commit comments

Comments
 (0)