diff --git a/TRANSLATORS b/TRANSLATORS index 36d93e106d..9322b7f503 100644 --- a/TRANSLATORS +++ b/TRANSLATORS @@ -1,4 +1,5 @@ -Paula Aragón (@pandrearro) +Paula Aragón (@pandrearro +Jhonatan Barrera (@iam3mer) Héctor Canto (@hectorcanto_dev) Carlos Crespo (@cacrespo) Raúl Cumplido (@raulcd) @@ -12,4 +13,4 @@ Marco Richetta (@marcorichetta) Sergio Delgado Quintero (@sdelquin) Silvina Tamburini (@silvinabt87) Javier Daza (@javierdaza) -Agustina Quiros (@qagustina) \ No newline at end of file +Agustina Quiros (@qagustina) diff --git a/dict b/dict index a468dfca85..74cf53841e 100644 --- a/dict +++ b/dict @@ -3,11 +3,13 @@ ASCII Aahz Adam Adler +Ahlstrom Alex Android Associates Autocompletado Awk +implementadores B BSD Boddie @@ -49,7 +51,9 @@ Index Interesantemente Java Jim +Just Jython +Katz Kivy L Laird @@ -73,6 +77,7 @@ Packard Pasarles Paul Perl +Phil Pillow PyFLTK PyGtk @@ -85,6 +90,7 @@ Qt Randal Reilly Rezinsky +Rossum Ruby SYSV Schwartz @@ -107,6 +113,7 @@ WWW Windows X Xt +Zip aleatoriamente append aproximarla @@ -374,15 +381,9 @@ wxPython wxWidgets wxwidgets x -zlib -Zip -Phil -Katz -Ahlstrom -Just -Rossum -zipimporter zip +zipimporter +zlib metadatos tarball ydel @@ -394,4 +395,4 @@ Mandrake cargable Distutils descargable -mxBase \ No newline at end of file +mxBase diff --git a/library/numbers.po b/library/numbers.po index 702b6e25c5..9020826cab 100644 --- a/library/numbers.po +++ b/library/numbers.po @@ -1,47 +1,59 @@ # Copyright (C) 2001-2020, Python Software Foundation # This file is distributed under the same license as the Python package. -# Maintained by the python-doc-es workteam. +# Maintained by the python-doc-es workteam. # docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/ # Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-05-06 11:59-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"PO-Revision-Date: 2020-05-16 18:08-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Last-Translator: Jhonatan Barrera \n" +"Language: es\n" +"X-Generator: Poedit 2.3.1\n" #: ../Doc/library/numbers.rst:2 msgid ":mod:`numbers` --- Numeric abstract base classes" -msgstr "" +msgstr ":mod:`numbers` --- Clase base abstracta numérica" #: ../Doc/library/numbers.rst:7 msgid "**Source code:** :source:`Lib/numbers.py`" -msgstr "" +msgstr "**Código fuente:** :source:`Lib/numbers.py`" +# revisar como usamos "abstract base classes" en el glosario #: ../Doc/library/numbers.rst:11 +#, fuzzy msgid "" "The :mod:`numbers` module (:pep:`3141`) defines a hierarchy of numeric :term:" "`abstract base classes ` which progressively define " "more operations. None of the types defined in this module can be " "instantiated." msgstr "" +"El módulo :mod:`numbers` (:pep:`3141`) define una jerarquía numérica :term:" +"`abstract base classes ` que define progresivamente más " +"operaciones. No se puede crear una instancia de ninguno de los tipos " +"definidos en este módulo." #: ../Doc/library/numbers.rst:18 msgid "" "The root of the numeric hierarchy. If you just want to check if an argument " "*x* is a number, without caring what kind, use ``isinstance(x, Number)``." msgstr "" +"La raíz de la jerarquía numérica. Si desea validar si un argumento *x* es un " +"número, sin importar su tipo, use ``isinstance(x, Number)``." +# La verdad no se si sea buena esta traducción #: ../Doc/library/numbers.rst:23 +#, fuzzy msgid "The numeric tower" -msgstr "" +msgstr "La torre numérica" #: ../Doc/library/numbers.rst:27 msgid "" @@ -51,26 +63,35 @@ msgid "" "``, ``*``, ``/``, :func:`abs`, :meth:`conjugate`, ``==``, and ``!=``. All " "except ``-`` and ``!=`` are abstract." msgstr "" +"Las subclases de este tipo describen números complejos e incluyen las " +"operaciones integradas del tipo :class:`complex`. Estas son: conversiones a :" +"class:`complex` y :class:`bool`, :attr:`.real`, :attr:`..imag`, ``+``, ``-" +"``, ``*`, ``/``, :func:`abs`, :meth:`conjugate`, ``==``, y ``!=``. Todos " +"excepto ``-`` y ``!=`` estos son abstractos." #: ../Doc/library/numbers.rst:35 msgid "Abstract. Retrieves the real component of this number." -msgstr "" +msgstr "Abstracto. Recupera el componente real de este número." #: ../Doc/library/numbers.rst:39 msgid "Abstract. Retrieves the imaginary component of this number." -msgstr "" +msgstr "Abstracto. Recupera el componente imaginario de este número." #: ../Doc/library/numbers.rst:43 msgid "" "Abstract. Returns the complex conjugate. For example, ``(1+3j).conjugate() " "== (1-3j)``." msgstr "" +"Abstracto. Retorna el complejo conjugado. Por ejemplo, ``(1+3j).conjugate() " +"== (1-3j)``." #: ../Doc/library/numbers.rst:48 msgid "" "To :class:`Complex`, :class:`Real` adds the operations that work on real " "numbers." msgstr "" +"Para :class:`Complex`, :class:`Real` agrega las operaciones que trabajan con " +"números reales." #: ../Doc/library/numbers.rst:51 msgid "" @@ -78,23 +99,33 @@ msgid "" "func:`round`, :func:`math.floor`, :func:`math.ceil`, :func:`divmod`, ``//``, " "``%``, ``<``, ``<=``, ``>``, and ``>=``." msgstr "" +"En resumen, estos son: conversiones a :class:`float`, :func:`math.trunc`, :" +"func:`round`, :func:`math.floor`, :func:`math.ceil`, :func:`divmod`, ``//``, " +"``%``, ``<``, ``<=``, ``>``, y ``>=``." #: ../Doc/library/numbers.rst:55 msgid "" "Real also provides defaults for :func:`complex`, :attr:`~Complex.real`, :" "attr:`~Complex.imag`, and :meth:`~Complex.conjugate`." msgstr "" +"*Real* también proporciona valores predeterminados para :func:`complex`, :" +"attr:`~Complex.real`, :attr:`~Complex.imag`, y :meth:`~Complex.conjugate`." +# Se me hace super rara toda la cadena. Agrego "Subtypes" como "Hereda" #: ../Doc/library/numbers.rst:61 +#, fuzzy msgid "" "Subtypes :class:`Real` and adds :attr:`~Rational.numerator` and :attr:" "`~Rational.denominator` properties, which should be in lowest terms. With " "these, it provides a default for :func:`float`." msgstr "" +"Hereda de :class:`Real` y agrega las propiedades :attr:`~Rational.numerator` " +"y :attr:`~Rational.denominator`, que deberían estar en los términos más " +"bajos. Con esto, se proporciona un valor predeterminado a :func:`float`." #: ../Doc/library/numbers.rst:68 ../Doc/library/numbers.rst:72 msgid "Abstract." -msgstr "" +msgstr "Abstracto." #: ../Doc/library/numbers.rst:77 msgid "" @@ -103,22 +134,33 @@ msgid "" "`~Rational.denominator`. Adds abstract methods for ``**`` and bit-string " "operations: ``<<``, ``>>``, ``&``, ``^``, ``|``, ``~``." msgstr "" +"Hereda :class:`Rational` y agrega conversión a :class:`int`. Proporciona " +"valores predeterminados para :func:`float`, :attr:`~Rational.numerator`, y :" +"attr:`~Rational.denominator`. Agreda métodos abstractos para operaciones " +"``**`` y operaciones de cadena de bits: ``<<``, ``>>``, ``&``, ``^``, ``|``, " +"``~``." #: ../Doc/library/numbers.rst:84 msgid "Notes for type implementors" -msgstr "" +msgstr "Notas para implementadores de tipos" +# 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 #: ../Doc/library/numbers.rst:86 +#, fuzzy msgid "" "Implementors should be careful to make equal numbers equal and hash them to " "the same values. This may be subtle if there are two different extensions of " "the real numbers. For example, :class:`fractions.Fraction` implements :func:" "`hash` as follows::" msgstr "" +"Los implementadores deben tener cuidado de hacer que números iguales sean " +"iguales y hacer *hash* con los mismos valores. Esto puede ser sutil si hay " +"dos extensiones diferentes de los números reales. Por ejemplo: :class:" +"`fractions.Fraction` implementa :func:`hash` de la siguiente manera::" #: ../Doc/library/numbers.rst:105 msgid "Adding More Numeric ABCs" -msgstr "" +msgstr "Agregar más *ABCs* numéricos" #: ../Doc/library/numbers.rst:107 msgid "" @@ -126,10 +168,13 @@ msgid "" "poor hierarchy if it precluded the possibility of adding those. You can add " "``MyFoo`` between :class:`Complex` and :class:`Real` with::" msgstr "" +"Por supuesto, hay más *ABCs* posibles para los números, y esto sería una " +"jerarquía deficiente si se excluye la posibilidad de añadirlos. Puede usar " +"``MyFoo`` entre :class:`Complex` y :class:`Real` así::" #: ../Doc/library/numbers.rst:119 msgid "Implementing the arithmetic operations" -msgstr "" +msgstr "Implementar operaciones aritméticas" #: ../Doc/library/numbers.rst:121 msgid "" @@ -140,7 +185,9 @@ msgid "" "and :meth:`__radd__` should be defined as::" msgstr "" +# boilerplate -> repetitivo --revisar en todo el archivo #: ../Doc/library/numbers.rst:152 +#, fuzzy msgid "" "There are 5 different cases for a mixed-type operation on subclasses of :" "class:`Complex`. I'll refer to all of the above code that doesn't refer to " @@ -148,10 +195,15 @@ msgid "" "an instance of ``A``, which is a subtype of :class:`Complex` (``a : A <: " "Complex``), and ``b : B <: Complex``. I'll consider ``a + b``:" msgstr "" +"Hay 5 casos diferentes para una operación de tipo mixto en subclases de :" +"class:`Complex`. Me referiré a todo el código anterior que no se refiere a " +"``MyIntegral`` y ``OtherTypeIKnowAbout` como \"repetitivo\". ``a`` será una " +"instancia de ``A``, que es un subtipo de :class:`Complex` (``a: A <: " +"Complex`), y ``b : B <: Complex``. Consideraré ``a + b``:" #: ../Doc/library/numbers.rst:159 msgid "If ``A`` defines an :meth:`__add__` which accepts ``b``, all is well." -msgstr "" +msgstr "Si ``A`` define un :meth:`__add__` que acepta ``b``, todo está bien." #: ../Doc/library/numbers.rst:161 msgid "" @@ -161,18 +213,27 @@ msgid "" "`NotImplemented` from :meth:`__add__`. (Or ``A`` may not implement :meth:" "`__add__` at all.)" msgstr "" +"Si ``A`` recurre al código repetitivo y devuelve un valor de :meth:" +"`__add__`, perderíamos la posibilidad de que B defina un :meth:`__radd __` " +"más inteligente, por lo que el código repetitivo debería devolver :const:" +"`NotImplemented` de :meth:`__add__`. (O ``A`` no puede implementar :meth:" +"`__add__` en absoluto.)" #: ../Doc/library/numbers.rst:167 msgid "" "Then ``B``'s :meth:`__radd__` gets a chance. If it accepts ``a``, all is " "well." msgstr "" +"Entonces ``B``'s :meth:`__radd__` tiene una oportunidad. Si acepta ``a``, " +"todo esta bien." #: ../Doc/library/numbers.rst:169 msgid "" "If it falls back to the boilerplate, there are no more possible methods to " "try, so this is where the default implementation should live." msgstr "" +"Si se vuelve a caer en el código repetitivo, no hay más posibles métodos " +"para probar, por lo que acá debería vivir la implementación predeterminada." #: ../Doc/library/numbers.rst:172 msgid "" @@ -180,6 +241,9 @@ msgid "" "because it was implemented with knowledge of ``A``, so it can handle those " "instances before delegating to :class:`Complex`." msgstr "" +"Si ``B <: A``, Python probara ``B.__radd__`` antes que ``A.__add__``. Esto " +"está bien, porque se implementó con conocimiento de ``A``, por lo que puede " +"manejar instancias antes de delegar un :class:`Complex`." #: ../Doc/library/numbers.rst:177 msgid "" @@ -187,6 +251,10 @@ msgid "" "then the appropriate shared operation is the one involving the built in :" "class:`complex`, and both :meth:`__radd__` s land there, so ``a+b == b+a``." msgstr "" +"Si ``A <: Complex`` y ``B <: Real`` sin compartir ningún otro conocimiento," +"la operación compartida apropiada es la que involucra la clase :class:" +"`complex` incorporada, y ambos :meth:`__radd__` desencadenan allí, entonces " +"``a+b == b+a``." #: ../Doc/library/numbers.rst:182 msgid "" @@ -195,3 +263,7 @@ msgid "" "reverse instances of any given operator. For example, :class:`fractions." "Fraction` uses::" msgstr "" +"Dado que la mayoría de las operaciones en un tipo determinado serán muy " +"similares, puede ser útil definir una función auxiliar que genere las " +"instancias *forward* y *reverse* de cualquier operador dado. Por ejemplo, :" +"class:`fractions.Fraction` así:"