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
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
Prev Previous commit
Next Next commit
Apply suggestions from code review
  • Loading branch information
humitos authored May 17, 2020
commit 4d2d045d42ea7fb847897524916e5924f1038b57
33 changes: 14 additions & 19 deletions library/numbers.po
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ msgstr ":mod:`numbers` --- Clase base abstracta numérica"
#: ../Doc/library/numbers.rst:7
msgid "**Source code:** :source:`Lib/numbers.py`"
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 <abstract base class>` which progressively define "
Expand All @@ -53,9 +54,7 @@ msgstr ""
msgid "The numeric tower"
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 :"
Expand All @@ -65,17 +64,17 @@ msgid ""
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`, "
"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 "Abstracto. Recupera el componente real de el número."
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 "Abstracto. Recupera el componente imaginario de el número."
msgstr "Abstracto. Recupera el componente imaginario de este número."

#: ../Doc/library/numbers.rst:43
msgid ""
Expand Down Expand Up @@ -111,15 +110,15 @@ 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
# 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 ""
"Subtipos :class:`Real` y agregar propiedades :attr:`~Rational.numerator` y :"
"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`."

Expand All @@ -134,7 +133,7 @@ msgid ""
"`~Rational.denominator`. Adds abstract methods for ``**`` and bit-string "
"operations: ``<<``, ``>>``, ``&``, ``^``, ``|``, ``~``."
msgstr ""
"Subtipos :class:`Rational` y agregar conversión a :class:`int`. Proporciona "
"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: ``<<``, ``>>``, ``&``, ``^``, ``|``, "
Expand All @@ -160,7 +159,7 @@ msgstr ""

#: ../Doc/library/numbers.rst:105
msgid "Adding More Numeric ABCs"
msgstr "Añadiendo *ABCs* numéricos"
msgstr "Agregar más *ABCs* numéricos"

#: ../Doc/library/numbers.rst:107
msgid ""
Expand All @@ -174,7 +173,7 @@ msgstr ""

#: ../Doc/library/numbers.rst:119
msgid "Implementing the arithmetic operations"
msgstr "Implementando operaciones aritméticas"
msgstr "Implementar operaciones aritméticas"

#: ../Doc/library/numbers.rst:121
#, fuzzy
Expand All @@ -185,13 +184,9 @@ msgid ""
"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::"

# 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 "
Expand All @@ -201,7 +196,7 @@ msgid ""
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 "
"``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``:"

Expand Down