Skip to content

Commit 4d2d045

Browse files
authored
Apply suggestions from code review
1 parent c4de776 commit 4d2d045

File tree

1 file changed

+14
-19
lines changed

1 file changed

+14
-19
lines changed

library/numbers.po

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ msgstr ":mod:`numbers` --- Clase base abstracta numérica"
2626
#: ../Doc/library/numbers.rst:7
2727
msgid "**Source code:** :source:`Lib/numbers.py`"
2828
msgstr "**Código fuente:** :source:`Lib/numbers.py`"
29-
29+
# revisar como usamos "abstract base classes" en el glosario
3030
#: ../Doc/library/numbers.rst:11
31+
#, fuzzy
3132
msgid ""
3233
"The :mod:`numbers` module (:pep:`3141`) defines a hierarchy of numeric :term:"
3334
"`abstract base classes <abstract base class>` which progressively define "
@@ -53,9 +54,7 @@ msgstr ""
5354
msgid "The numeric tower"
5455
msgstr "La torre numérica"
5556

56-
# Al hacer referencia a las funciones integradas con built-in no sabria si esta bien la traducción propuesta
5757
#: ../Doc/library/numbers.rst:27
58-
#, fuzzy
5958
msgid ""
6059
"Subclasses of this type describe complex numbers and include the operations "
6160
"that work on the built-in :class:`complex` type. These are: conversions to :"
@@ -65,17 +64,17 @@ msgid ""
6564
msgstr ""
6665
"Las subclases de este tipo describen números complejos e incluyen las "
6766
"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`, "
67+
"class:`complex` y :class:`bool`, :attr:`.real`, :attr:`."
68+
".imag`, ``+``, ``-``, ``*`, ``/``, 'func:`abs`, :meth:`conjugate`, "
7069
"``==``, y ``!=``. Todos excepto ``-`` y ``!=`` estos son abstractos."
7170

7271
#: ../Doc/library/numbers.rst:35
7372
msgid "Abstract. Retrieves the real component of this number."
74-
msgstr "Abstracto. Recupera el componente real de el número."
73+
msgstr "Abstracto. Recupera el componente real de este número."
7574

7675
#: ../Doc/library/numbers.rst:39
7776
msgid "Abstract. Retrieves the imaginary component of this number."
78-
msgstr "Abstracto. Recupera el componente imaginario de el número."
77+
msgstr "Abstracto. Recupera el componente imaginario de este número."
7978

8079
#: ../Doc/library/numbers.rst:43
8180
msgid ""
@@ -111,15 +110,15 @@ msgstr ""
111110
"*Real* también proporciona valores predeterminados para :func:`complex`, :"
112111
"attr:`~Complex.real`, :attr:`~Complex.imag`, y :meth:`~Complex.conjugate`."
113112

114-
# Se me hace super rara toda la cadea
113+
# Se me hace super rara toda la cadena. Agrego "Subtypes" como "Hereda"
115114
#: ../Doc/library/numbers.rst:61
116115
#, fuzzy
117116
msgid ""
118117
"Subtypes :class:`Real` and adds :attr:`~Rational.numerator` and :attr:"
119118
"`~Rational.denominator` properties, which should be in lowest terms. With "
120119
"these, it provides a default for :func:`float`."
121120
msgstr ""
122-
"Subtipos :class:`Real` y agregar propiedades :attr:`~Rational.numerator` y :"
121+
"Hereda de :class:`Real` y agrega las propiedades :attr:`~Rational.numerator` y :"
123122
"attr:`~Rational.denominator`, que deberían estar en los términos más bajos. "
124123
"Con esto, se proporciona un valor predeterminado a :func:`float`."
125124

@@ -134,7 +133,7 @@ msgid ""
134133
"`~Rational.denominator`. Adds abstract methods for ``**`` and bit-string "
135134
"operations: ``<<``, ``>>``, ``&``, ``^``, ``|``, ``~``."
136135
msgstr ""
137-
"Subtipos :class:`Rational` y agregar conversión a :class:`int`. Proporciona "
136+
"Hereda :class:`Rational` y agrega conversión a :class:`int`. Proporciona "
138137
"valores predeterminados para :func:`float`, :attr:`~Rational.numerator`, y :"
139138
"attr:`~Rational.denominator`. Agreda métodos abstractos para operaciones "
140139
"``**`` y operaciones de cadena de bits: ``<<``, ``>>``, ``&``, ``^``, ``|``, "
@@ -160,7 +159,7 @@ msgstr ""
160159

161160
#: ../Doc/library/numbers.rst:105
162161
msgid "Adding More Numeric ABCs"
163-
msgstr "Añadiendo *ABCs* numéricos"
162+
msgstr "Agregar más *ABCs* numéricos"
164163

165164
#: ../Doc/library/numbers.rst:107
166165
msgid ""
@@ -174,7 +173,7 @@ msgstr ""
174173

175174
#: ../Doc/library/numbers.rst:119
176175
msgid "Implementing the arithmetic operations"
177-
msgstr "Implementando operaciones aritméticas"
176+
msgstr "Implementar operaciones aritméticas"
178177

179178
#: ../Doc/library/numbers.rst:121
180179
#, fuzzy
@@ -185,13 +184,9 @@ msgid ""
185184
"there. For subtypes of :class:`Integral`, this means that :meth:`__add__` "
186185
"and :meth:`__radd__` should be defined as::"
187186
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::"
193-
187+
# boilerplate -> repetitivo --revisar en todo el archivo
194188
#: ../Doc/library/numbers.rst:152
189+
#, fuzzy
195190
msgid ""
196191
"There are 5 different cases for a mixed-type operation on subclasses of :"
197192
"class:`Complex`. I'll refer to all of the above code that doesn't refer to "
@@ -201,7 +196,7 @@ msgid ""
201196
msgstr ""
202197
"Hay 5 casos diferentes para una operación de tipo mixto en subclases de :"
203198
"class:`Complex`. Me referiré a todo el código anterior que no se refiere a "
204-
"``MyIntegral`` y ``OtherTypeIKnowAbout` como ``repetitivo``. ``a`` será una "
199+
"``MyIntegral`` y ``OtherTypeIKnowAbout` como \"repetitivo\". ``a`` será una "
205200
"instancia de ``A``, que es un subtipo de :class:`Complex` (``a: A <: "
206201
"Complex`), y ``b : B <: Complex``. Consideraré ``a + b``:"
207202

0 commit comments

Comments
 (0)