Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Traducción library/numbers.po #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 17, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Traducido archivo {library/numbers.po}
  • Loading branch information
iam3mer committed May 16, 2020
commit f4f272a4a7515906be6b7588e7413e93f5f82642
3 changes: 2 additions & 1 deletion TRANSLATORS
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Paula Aragón (@pandrearro)
Jhonatan Barrera (@iam3mer)
Héctor Canto (@hectorcanto_dev)
Carlos Crespo (@cacrespo)
Raúl Cumplido (@raulcd)
Expand All @@ -12,4 +13,4 @@ Marco Richetta (@marcorichetta)
Sergio Delgado Quintero (@sdelquin)
Silvina Tamburini (@silvinabt87)
Javier Daza (@javierdaza)
Agustina Quiros (@qagustina)
Agustina Quiros (@qagustina)
104 changes: 90 additions & 14 deletions library/numbers.po
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
# 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.
# [email protected] / 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 <EMAIL@ADDRESS>\n"
"PO-Revision-Date: 2020-05-16 17:11-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: \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`"

#: ../Doc/library/numbers.rst:11
msgid ""
Expand All @@ -32,69 +34,98 @@ msgid ""
"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 <abstract base class>` 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"

# Al hacer referencia a las funciones integradas con built-in no sabria si esta bien la traducción propuesta
#: ../Doc/library/numbers.rst:27
#, fuzzy
msgid ""
"Subclasses of this type describe complex numbers and include the operations "
"that work on the built-in :class:`complex` type. These are: conversions to :"
"class:`complex` and :class:`bool`, :attr:`.real`, :attr:`.imag`, ``+``, ``-"
"``, ``*``, ``/``, :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:`complejos` y :class:`booleanos`, :attr:`.reales`, :attr:`."
"imaginarios`, ``+``, ``-``, ``*`, ``/``, '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 el número."

#: ../Doc/library/numbers.rst:39
msgid "Abstract. Retrieves the imaginary component of this number."
msgstr ""
msgstr "Abstracto. Recupera el componente imaginario de el 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 ""
"In short, those are: a conversion to :class:`float`, :func:`math.trunc`, :"
"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`, ``//``, "
"``%``, ``<``, ``<=``, ``>``, and ``>=``."

#: ../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 cadea
#: ../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 ""
"Subtipos :class:`Real` y agregar 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 ""
Expand All @@ -103,42 +134,62 @@ msgid ""
"`~Rational.denominator`. Adds abstract methods for ``**`` and bit-string "
"operations: ``<<``, ``>>``, ``&``, ``^``, ``|``, ``~``."
msgstr ""
"Subtipos :class:`Rational` y agregar 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 "Añadiendo *ABCs* numéricos"

#: ../Doc/library/numbers.rst:107
msgid ""
"There are, of course, more possible ABCs for numbers, and this would be a "
"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 "Implementando operaciones aritméticas"

#: ../Doc/library/numbers.rst:121
#, fuzzy
msgid ""
"We want to implement the arithmetic operations so that mixed-mode operations "
"either call an implementation whose author knew about the types of both "
"arguments, or convert both to the nearest built in type and do the operation "
"there. For subtypes of :class:`Integral`, this means that :meth:`__add__` "
"and :meth:`__radd__` should be defined as::"
msgstr ""
"We want to implement the arithmetic operations so that mixed-mode operations "
"either call an implementation whose author knew about the types of both "
"arguments, or convert both to the nearest built in type and do the operation "
"there. For subtypes of :class:`Integral`, this means that :meth:`__add__` "
"and :meth:`__radd__` should be defined as::"

#: ../Doc/library/numbers.rst:152
msgid ""
Expand All @@ -148,10 +199,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 ""
Expand All @@ -161,32 +217,48 @@ 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 __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 ""
"If ``B <: A``, Python tries ``B.__radd__`` before ``A.__add__``. This is ok, "
"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 ""
"If ``A <: Complex`` and ``B <: Real`` without sharing any other knowledge, "
"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 ""
Expand All @@ -195,3 +267,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í:"