From 0626a457568740ce24eac89965959c02c2f7c8de Mon Sep 17 00:00:00 2001 From: martorelli617 Date: Mon, 30 Oct 2023 22:57:11 -0400 Subject: [PATCH 1/2] =?UTF-8?q?Traducci=C3=B3n=20library/math?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/math.po | 44 ++++++++++++++++++++------------------------ 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/library/math.po b/library/math.po index ef6e770b35..69279bee36 100644 --- a/library/math.po +++ b/library/math.po @@ -11,15 +11,16 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-10-12 19:43+0200\n" -"PO-Revision-Date: 2022-11-25 02:25-0500\n" +"PO-Revision-Date: 2023-10-30 22:45-0400\n" "Last-Translator: Francisco Jesús Sevilla García \n" -"Language: es_ES\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es_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" "Generated-By: Babel 2.13.0\n" +"X-Generator: Poedit 3.2.2\n" #: ../Doc/library/math.rst:2 msgid ":mod:`math` --- Mathematical functions" @@ -191,14 +192,13 @@ msgstr "" "representación interna de un flotante." #: ../Doc/library/math.rst:110 -#, fuzzy msgid "" "Return an accurate floating point sum of values in the iterable. Avoids " "loss of precision by tracking multiple intermediate partial sums." msgstr "" "Retorna una suma precisa en coma flotante de los valores de un iterable. " "Evita la pérdida de precisión mediante el seguimiento de múltiples sumas " -"parciales intermedias::" +"parciales intermedias." #: ../Doc/library/math.rst:113 msgid "" @@ -386,15 +386,12 @@ msgstr "" "flotantes y tienen el mismo signo que *x* ." #: ../Doc/library/math.rst:229 -#, fuzzy msgid "Return the floating-point value *steps* steps after *x* towards *y*." -msgstr "" -"Retorna el siguiente valor flotante después de *x* en la dirección de *y*." +msgstr "Retorna el valor en coma flotante *steps* pasos después *x* hacia *y*." #: ../Doc/library/math.rst:231 -#, fuzzy msgid "If *x* is equal to *y*, return *y*, unless *steps* is zero." -msgstr "Si *x* es igual a *y*, retorna *y*." +msgstr "Si *x* es igual a *y*, retorna *y*, a menos que *steps* sea cero." #: ../Doc/library/math.rst:233 msgid "Examples:" @@ -422,7 +419,7 @@ msgstr "Ver también :func:`math.ulp`." #: ../Doc/library/math.rst:242 msgid "Added the *steps* argument." -msgstr "" +msgstr "Añadido el argumento *steps*." #: ../Doc/library/math.rst:249 msgid "" @@ -507,11 +504,11 @@ msgstr "" #: ../Doc/library/math.rst:299 msgid "Return the sum of products of values from two iterables *p* and *q*." -msgstr "" +msgstr "Retorna la suma de productos de valores de dos iterables *p* y *q*." #: ../Doc/library/math.rst:301 msgid "Raises :exc:`ValueError` if the inputs do not have the same length." -msgstr "" +msgstr "Genera :exc:`ValueError` si las entradas no tienen la misma longitud." #: ../Doc/library/math.rst:303 ../Doc/library/math.rst:498 msgid "Roughly equivalent to::" @@ -522,6 +519,8 @@ msgid "" "For float and mixed int/float inputs, the intermediate products and sums are " "computed with extended precision." msgstr "" +"Para entradas flotantes y mixtas int/float, los productos intermedios y las " +"sumas se calculan con precisión ampliada." #: ../Doc/library/math.rst:315 msgid "" @@ -645,7 +644,6 @@ msgid "Return *2* raised to the power *x*." msgstr "Retorna *2* elevado a la potencia *x*." #: ../Doc/library/math.rst:384 -#, fuzzy msgid "" "Return *e* raised to the power *x*, minus 1. Here *e* is the base of " "natural logarithms. For small floats *x*, the subtraction in ``exp(x) - 1`` " @@ -657,7 +655,7 @@ msgstr "" "logaritmos naturales. Para flotantes *x* pequeños, la resta en ``exp(x) - " "1`` puede resultar en una `pérdida significativa de precisión `_\\; la función :func:`expm1` " -"proporciona una forma de calcular este valor con una precisión total::" +"proporciona una forma de calcular este valor con una precisión total:" #: ../Doc/library/math.rst:401 msgid "With one argument, return the natural logarithm of *x* (to base *e*)." @@ -863,7 +861,6 @@ msgid "Hyperbolic functions" msgstr "Funciones hiperbólicas" #: ../Doc/library/math.rst:551 -#, fuzzy msgid "" "`Hyperbolic functions `_ " "are analogs of trigonometric functions that are based on hyperbolas instead " @@ -871,7 +868,7 @@ msgid "" msgstr "" "`Las funciones hiperbólicas `_ son análogas a las funciones " -"trigonométricas pero basadas en hipérbolas en lugar de en círculos." +"trigonométricas que están basadas en hipérbolas en lugar de círculos." #: ../Doc/library/math.rst:557 msgid "Return the inverse hyperbolic cosine of *x*." @@ -987,7 +984,6 @@ msgstr "" "negativo, usa ``-math.inf``.) Equivalente a la salida de ``float('inf')``." #: ../Doc/library/math.rst:665 -#, fuzzy msgid "" "A floating-point \"not a number\" (NaN) value. Equivalent to the output of " "``float('nan')``. Due to the requirements of the `IEEE-754 standard `_, ``math.nan`` y ``float('nan')`` " -"no se consideran iguales a ningún otro valor numérico, incluidos ellos " -"mismos. Para verificar si un número es NaN, use la función :func:`isnan` " -"para probar NaN en lugar de ``is`` o ``==``. Ejemplo::" +"Un valor de coma flotante \"no es un número\" (NaN). Equivalente a la salida " +"de ``float('nan')``. Debido a los requisitos del `estándar IEEE-754 `_, ``math.nan`` y ``float('nan')`` no se " +"consideran iguales a ningún otro valor numérico, incluidos ellos mismos. " +"Para verificar si un número es NaN, use la función :func:`isnan` para probar " +"NaN en lugar de ``is`` o ``==``. Ejemplo:" #: ../Doc/library/math.rst:683 msgid "It is now always available." From b6c39ad7b8edc29ce528e61a0d9516216a678d12 Mon Sep 17 00:00:00 2001 From: Neptali Gil Martorelli <18042088+martorelli617@users.noreply.github.com> Date: Tue, 31 Oct 2023 09:56:26 -0400 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: rtobar --- library/math.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/math.po b/library/math.po index 69279bee36..a9f1ca8698 100644 --- a/library/math.po +++ b/library/math.po @@ -508,7 +508,7 @@ msgstr "Retorna la suma de productos de valores de dos iterables *p* y *q*." #: ../Doc/library/math.rst:301 msgid "Raises :exc:`ValueError` if the inputs do not have the same length." -msgstr "Genera :exc:`ValueError` si las entradas no tienen la misma longitud." +msgstr "Lanza :exc:`ValueError` si las entradas no tienen la misma longitud." #: ../Doc/library/math.rst:303 ../Doc/library/math.rst:498 msgid "Roughly equivalent to::"