Skip to content

Commit 5697a15

Browse files
authored
Merge pull request #282 from iam3mer/traduccion-library/numbers.po
2 parents be097ad + 6a23307 commit 5697a15

File tree

3 files changed

+99
-25
lines changed

3 files changed

+99
-25
lines changed

TRANSLATORS

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Paula Aragón (@pandrearro)
1+
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)

dict

+10-9
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ ASCII
33
Aahz
44
Adam
55
Adler
6+
Ahlstrom
67
Alex
78
Android
89
Associates
910
Autocompletado
1011
Awk
12+
implementadores
1113
B
1214
BSD
1315
Boddie
@@ -49,7 +51,9 @@ Index
4951
Interesantemente
5052
Java
5153
Jim
54+
Just
5255
Jython
56+
Katz
5357
Kivy
5458
L
5559
Laird
@@ -73,6 +77,7 @@ Packard
7377
Pasarles
7478
Paul
7579
Perl
80+
Phil
7681
Pillow
7782
PyFLTK
7883
PyGtk
@@ -85,6 +90,7 @@ Qt
8590
Randal
8691
Reilly
8792
Rezinsky
93+
Rossum
8894
Ruby
8995
SYSV
9096
Schwartz
@@ -107,6 +113,7 @@ WWW
107113
Windows
108114
X
109115
Xt
116+
Zip
110117
aleatoriamente
111118
append
112119
aproximarla
@@ -374,15 +381,9 @@ wxPython
374381
wxWidgets
375382
wxwidgets
376383
x
377-
zlib
378-
Zip
379-
Phil
380-
Katz
381-
Ahlstrom
382-
Just
383-
Rossum
384-
zipimporter
385384
zip
385+
zipimporter
386+
zlib
386387
metadatos
387388
tarball
388389
ydel
@@ -394,4 +395,4 @@ Mandrake
394395
cargable
395396
Distutils
396397
descargable
397-
mxBase
398+
mxBase

library/numbers.po

+86-14
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,59 @@
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 18:08-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: Jhonatan Barrera <iam3mer@gmail.com>\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

30+
# revisar como usamos "abstract base classes" en el glosario
2831
#: ../Doc/library/numbers.rst:11
32+
#, fuzzy
2933
msgid ""
3034
"The :mod:`numbers` module (:pep:`3141`) defines a hierarchy of numeric :term:"
3135
"`abstract base classes <abstract base class>` which progressively define "
3236
"more operations. None of the types defined in this module can be "
3337
"instantiated."
3438
msgstr ""
39+
"El módulo :mod:`numbers` (:pep:`3141`) define una jerarquía numérica :term:"
40+
"`abstract base classes <abstract base class>` que define progresivamente más "
41+
"operaciones. No se puede crear una instancia de ninguno de los tipos "
42+
"definidos en este módulo."
3543

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

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

4658
#: ../Doc/library/numbers.rst:27
4759
msgid ""
@@ -51,50 +63,69 @@ msgid ""
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:`complex` y :class:`bool`, :attr:`.real`, :attr:`..imag`, ``+``, ``-"
69+
"``, ``*`, ``/``, :func:`abs`, :meth:`conjugate`, ``==``, y ``!=``. Todos "
70+
"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 este 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 este 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+
"``%``, ``<``, ``<=``, ``>``, y ``>=``."
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 cadena. Agrego "Subtypes" como "Hereda"
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+
"Hereda de :class:`Real` y agrega las propiedades :attr:`~Rational.numerator` "
123+
"y :attr:`~Rational.denominator`, que deberían estar en los términos más "
124+
"bajos. 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,33 +134,47 @@ msgid ""
103134
"`~Rational.denominator`. Adds abstract methods for ``**`` and bit-string "
104135
"operations: ``<<``, ``>>``, ``&``, ``^``, ``|``, ``~``."
105136
msgstr ""
137+
"Hereda :class:`Rational` y agrega 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 "Agregar más *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 "Implementar operaciones aritméticas"
133178

134179
#: ../Doc/library/numbers.rst:121
135180
msgid ""
@@ -140,18 +185,25 @@ msgid ""
140185
"and :meth:`__radd__` should be defined as::"
141186
msgstr ""
142187

188+
# boilerplate -> repetitivo --revisar en todo el archivo
143189
#: ../Doc/library/numbers.rst:152
190+
#, fuzzy
144191
msgid ""
145192
"There are 5 different cases for a mixed-type operation on subclasses of :"
146193
"class:`Complex`. I'll refer to all of the above code that doesn't refer to "
147194
"``MyIntegral`` and ``OtherTypeIKnowAbout`` as \"boilerplate\". ``a`` will be "
148195
"an instance of ``A``, which is a subtype of :class:`Complex` (``a : A <: "
149196
"Complex``), and ``b : B <: Complex``. I'll consider ``a + b``:"
150197
msgstr ""
198+
"Hay 5 casos diferentes para una operación de tipo mixto en subclases de :"
199+
"class:`Complex`. Me referiré a todo el código anterior que no se refiere a "
200+
"``MyIntegral`` y ``OtherTypeIKnowAbout` como \"repetitivo\". ``a`` será una "
201+
"instancia de ``A``, que es un subtipo de :class:`Complex` (``a: A <: "
202+
"Complex`), y ``b : B <: Complex``. Consideraré ``a + b``:"
151203

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

156208
#: ../Doc/library/numbers.rst:161
157209
msgid ""
@@ -161,32 +213,48 @@ msgid ""
161213
"`NotImplemented` from :meth:`__add__`. (Or ``A`` may not implement :meth:"
162214
"`__add__` at all.)"
163215
msgstr ""
216+
"Si ``A`` recurre al código repetitivo y devuelve un valor de :meth:"
217+
"`__add__`, perderíamos la posibilidad de que B defina un :meth:`__radd __` "
218+
"más inteligente, por lo que el código repetitivo debería devolver :const:"
219+
"`NotImplemented` de :meth:`__add__`. (O ``A`` no puede implementar :meth:"
220+
"`__add__` en absoluto.)"
164221

165222
#: ../Doc/library/numbers.rst:167
166223
msgid ""
167224
"Then ``B``'s :meth:`__radd__` gets a chance. If it accepts ``a``, all is "
168225
"well."
169226
msgstr ""
227+
"Entonces ``B``'s :meth:`__radd__` tiene una oportunidad. Si acepta ``a``, "
228+
"todo esta bien."
170229

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

177238
#: ../Doc/library/numbers.rst:172
178239
msgid ""
179240
"If ``B <: A``, Python tries ``B.__radd__`` before ``A.__add__``. This is ok, "
180241
"because it was implemented with knowledge of ``A``, so it can handle those "
181242
"instances before delegating to :class:`Complex`."
182243
msgstr ""
244+
"Si ``B <: A``, Python probara ``B.__radd__`` antes que ``A.__add__``. Esto "
245+
"está bien, porque se implementó con conocimiento de ``A``, por lo que puede "
246+
"manejar instancias antes de delegar un :class:`Complex`."
183247

184248
#: ../Doc/library/numbers.rst:177
185249
msgid ""
186250
"If ``A <: Complex`` and ``B <: Real`` without sharing any other knowledge, "
187251
"then the appropriate shared operation is the one involving the built in :"
188252
"class:`complex`, and both :meth:`__radd__` s land there, so ``a+b == b+a``."
189253
msgstr ""
254+
"Si ``A <: Complex`` y ``B <: Real`` sin compartir ningún otro conocimiento,"
255+
"la operación compartida apropiada es la que involucra la clase :class:"
256+
"`complex` incorporada, y ambos :meth:`__radd__` desencadenan allí, entonces "
257+
"``a+b == b+a``."
190258

191259
#: ../Doc/library/numbers.rst:182
192260
msgid ""
@@ -195,3 +263,7 @@ msgid ""
195263
"reverse instances of any given operator. For example, :class:`fractions."
196264
"Fraction` uses::"
197265
msgstr ""
266+
"Dado que la mayoría de las operaciones en un tipo determinado serán muy "
267+
"similares, puede ser útil definir una función auxiliar que genere las "
268+
"instancias *forward* y *reverse* de cualquier operador dado. Por ejemplo, :"
269+
"class:`fractions.Fraction` así:"

0 commit comments

Comments
 (0)