From d19e206cc83570d9f6490b5b7477c1ecf26cf0ed Mon Sep 17 00:00:00 2001 From: claudia Date: Tue, 5 May 2020 22:37:47 +0200 Subject: [PATCH 1/7] started translation of library/functions.po --- library/functions.po | 147 +++++++++++++++++++++++++++---------------- 1 file changed, 92 insertions(+), 55 deletions(-) diff --git a/library/functions.po b/library/functions.po index 1db875a50c..f73cedfc25 100644 --- a/library/functions.po +++ b/library/functions.po @@ -1,219 +1,224 @@ # 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.7/TRANSLATORS to get the list of volunteers # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.7\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" -"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es.python.org)\n" +"PO-Revision-Date: 2020-05-05 22:35+0200\n" +"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es." +"python.org)\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\n" #: ../Doc/library/functions.rst:5 ../Doc/library/functions.rst:11 msgid "Built-in Functions" -msgstr "" +msgstr "Funciones Built-in" #: ../Doc/library/functions.rst:7 msgid "" "The Python interpreter has a number of functions and types built into it " "that are always available. They are listed here in alphabetical order." msgstr "" +"El intérprete de Python tiene una serie de funciones y tipos incluidos en él " +"que están siempre disponibles. Están listados aquí en orden alfabético. " #: ../Doc/library/functions.rst:13 msgid ":func:`abs`" -msgstr "" +msgstr ":func:`abs`" #: ../Doc/library/functions.rst:13 msgid ":func:`delattr`" -msgstr "" +msgstr ":func:`delattr`" #: ../Doc/library/functions.rst:13 msgid ":func:`hash`" -msgstr "" +msgstr ":func:`hash`" #: ../Doc/library/functions.rst:13 msgid "|func-memoryview|_" -msgstr "" +msgstr "|func-memoryview|_" #: ../Doc/library/functions.rst:13 msgid "|func-set|_" -msgstr "" +msgstr "|func-set|_" #: ../Doc/library/functions.rst:14 msgid ":func:`all`" -msgstr "" +msgstr ":func:`all`" #: ../Doc/library/functions.rst:14 msgid "|func-dict|_" -msgstr "" +msgstr "|func-dict|_" #: ../Doc/library/functions.rst:14 msgid ":func:`help`" -msgstr "" +msgstr ":func:`help`" #: ../Doc/library/functions.rst:14 msgid ":func:`min`" -msgstr "" +msgstr ":func:`min`" #: ../Doc/library/functions.rst:14 msgid ":func:`setattr`" -msgstr "" +msgstr ":func:`setattr`" #: ../Doc/library/functions.rst:15 msgid ":func:`any`" -msgstr "" +msgstr ":func:`any`" #: ../Doc/library/functions.rst:15 msgid ":func:`dir`" -msgstr "" +msgstr ":func:`any`" #: ../Doc/library/functions.rst:15 msgid ":func:`hex`" -msgstr "" +msgstr ":func:`hex`" #: ../Doc/library/functions.rst:15 msgid ":func:`next`" -msgstr "" +msgstr ":func:`next`" #: ../Doc/library/functions.rst:15 msgid ":func:`slice`" -msgstr "" +msgstr ":func:`slice`" #: ../Doc/library/functions.rst:16 msgid ":func:`ascii`" -msgstr "" +msgstr ":func:`ascii`" #: ../Doc/library/functions.rst:16 msgid ":func:`divmod`" -msgstr "" +msgstr ":func:`divmod`" #: ../Doc/library/functions.rst:16 msgid ":func:`id`" -msgstr "" +msgstr ":func:`id`" #: ../Doc/library/functions.rst:16 msgid ":func:`object`" -msgstr "" +msgstr ":func:`object`" #: ../Doc/library/functions.rst:16 msgid ":func:`sorted`" -msgstr "" +msgstr ":func:`sorted`" #: ../Doc/library/functions.rst:17 msgid ":func:`bin`" -msgstr "" +msgstr ":func:`bin`" #: ../Doc/library/functions.rst:17 msgid ":func:`enumerate`" -msgstr "" +msgstr ":func:`enumerate`" #: ../Doc/library/functions.rst:17 msgid ":func:`input`" -msgstr "" +msgstr ":func:`input`" #: ../Doc/library/functions.rst:17 msgid ":func:`oct`" -msgstr "" +msgstr ":func:`oct`" #: ../Doc/library/functions.rst:17 msgid ":func:`staticmethod`" -msgstr "" +msgstr ":func:`staticmethod`" #: ../Doc/library/functions.rst:18 msgid ":func:`bool`" -msgstr "" +msgstr ":func:`bool`" #: ../Doc/library/functions.rst:18 msgid ":func:`eval`" -msgstr "" +msgstr ":func:`eval`" #: ../Doc/library/functions.rst:18 msgid ":func:`int`" -msgstr "" +msgstr ":func:`int`" #: ../Doc/library/functions.rst:18 msgid ":func:`open`" -msgstr "" +msgstr ":func:`open`" #: ../Doc/library/functions.rst:18 msgid "|func-str|_" -msgstr "" +msgstr "|func-str|_" #: ../Doc/library/functions.rst:19 msgid ":func:`breakpoint`" -msgstr "" +msgstr ":func:`breakpoint`" #: ../Doc/library/functions.rst:19 msgid ":func:`exec`" -msgstr "" +msgstr ":func:`exec`" #: ../Doc/library/functions.rst:19 msgid ":func:`isinstance`" -msgstr "" +msgstr ":func:`isinstance`" #: ../Doc/library/functions.rst:19 msgid ":func:`ord`" -msgstr "" +msgstr ":func:`ord`" #: ../Doc/library/functions.rst:19 msgid ":func:`sum`" -msgstr "" +msgstr ":func:`sum`" #: ../Doc/library/functions.rst:20 msgid "|func-bytearray|_" -msgstr "" +msgstr "|func-bytearray|_" #: ../Doc/library/functions.rst:20 msgid ":func:`filter`" -msgstr "" +msgstr ":func:`filter`" #: ../Doc/library/functions.rst:20 msgid ":func:`issubclass`" -msgstr "" +msgstr ":func:`issubclass`" #: ../Doc/library/functions.rst:20 msgid ":func:`pow`" -msgstr "" +msgstr ":func:`pow`" #: ../Doc/library/functions.rst:20 msgid ":func:`super`" -msgstr "" +msgstr ":func:`super`" #: ../Doc/library/functions.rst:21 msgid "|func-bytes|_" -msgstr "" +msgstr "|func-bytes|_" #: ../Doc/library/functions.rst:21 msgid ":func:`float`" -msgstr "" +msgstr ":func:`float`" #: ../Doc/library/functions.rst:21 msgid ":func:`iter`" -msgstr "" +msgstr ":func:`iter`" #: ../Doc/library/functions.rst:21 msgid ":func:`print`" -msgstr "" +msgstr ":func:`print`" #: ../Doc/library/functions.rst:21 msgid "|func-tuple|_" -msgstr "" +msgstr "|func-tuple|_" #: ../Doc/library/functions.rst:22 msgid ":func:`callable`" -msgstr "" +msgstr ":func:`callable`" #: ../Doc/library/functions.rst:22 msgid ":func:`format`" -msgstr "" +msgstr ":func:`format`" #: ../Doc/library/functions.rst:22 msgid ":func:`len`" @@ -309,18 +314,25 @@ msgid "" "floating point number. If the argument is a complex number, its magnitude " "is returned." msgstr "" +"Devuelve el valor absoluto de un número. El argumento puede ser un número " +"entero o de punto flotante. Si el argumento es un número complejo, devuelve " +"su magnitud." #: ../Doc/library/functions.rst:52 msgid "" "Return ``True`` if all elements of the *iterable* are true (or if the " "iterable is empty). Equivalent to::" msgstr "" +"Devuelve ``True`` si todos los elementos del *iterable* son verdaderos (o " +"si el iterable está vacío). Equivalente a::" #: ../Doc/library/functions.rst:64 msgid "" "Return ``True`` if any element of the *iterable* is true. If the iterable " "is empty, return ``False``. Equivalent to::" msgstr "" +"Devuelve ``True`` si un elemento cualquiera del *iterable* es verdadero. Si " +"el iteradle está vacío, devuelve ``False``. Equivalente a::" #: ../Doc/library/functions.rst:76 msgid "" @@ -329,6 +341,10 @@ msgid "" "`repr` using ``\\x``, ``\\u`` or ``\\U`` escapes. This generates a string " "similar to that returned by :func:`repr` in Python 2." msgstr "" +"Como :func:`repr`, devuelve una cadena que contiene una representación " +"imprimible de un objeto, pero que escapa los caracteres no-ASCII que :func:" +"`repr` devuelve usando ``\\x``, ``\\u`` or ``\\U``. Esto genera una cadena " +"similar a la devuelta por :func:`repr` en Python 2." #: ../Doc/library/functions.rst:84 msgid "" @@ -337,16 +353,22 @@ msgid "" "object, it has to define an :meth:`__index__` method that returns an " "integer. Some examples:" msgstr "" +"Convierte un número entero a una cadena binaria con prefijo “0b”. El " +"resultado es una expresión de Python válida. Si *x* no es un objeto de " +"clase :class:`int` en Python, tiene que definir un método :meth:" +"`__index__` que devuelva un entero. Algunos ejemplos:" #: ../Doc/library/functions.rst:94 msgid "" "If prefix \"0b\" is desired or not, you can use either of the following ways." msgstr "" +"Según se desee o no el prefijo “0b”, se puede usar uno u otro de las " +"siguientes maneras:" #: ../Doc/library/functions.rst:101 ../Doc/library/functions.rst:703 #: ../Doc/library/functions.rst:963 msgid "See also :func:`format` for more information." -msgstr "" +msgstr "Veáse también :func:`format` para más información." #: ../Doc/library/functions.rst:106 msgid "" @@ -357,11 +379,17 @@ msgid "" "It cannot be subclassed further. Its only instances are ``False`` and " "``True`` (see :ref:`bltin-boolean-values`)." msgstr "" +"Devuelve un booleano, es decir, o bien ``True`` o ``False``. *x* es " +"convertido usando el estándar :ref:`truth testing procedure `. Si *x* " +"es falso o omitido, devuelve ``False``; en caso contrario devuelve " +"``True``. La clase :class:`bool` es una subclase de :class:`int` (véase :" +"ref:`typesnumeric`). De ella no pueden derivarse más subclases. Sus únicas " +"instancias son ``False`` y ``True`` (véase :ref:`bltin-boolean-values`)." #: ../Doc/library/functions.rst:115 ../Doc/library/functions.rst:581 #: ../Doc/library/functions.rst:774 msgid "*x* is now a positional-only parameter." -msgstr "" +msgstr "*x* es ahora un argumento solo de posición." #: ../Doc/library/functions.rst:120 msgid "" @@ -374,6 +402,15 @@ msgid "" "other function and :func:`breakpoint` will automatically call that, allowing " "you to drop into the debugger of choice." msgstr "" +"Esta función te lleva al depurador en el sitio donde se produce la llamada. " +"Específicamente, llama a :func:`sys.breakpointhook`, pasando ``args`` y " +"``kws`` directamente. Por defecto, ``sys.breakpointhook()`` llama a :func:" +"`pdb.set_trace()` sin esperar argumentos. En este caso, es puramente una " +"función de conveniencia para evitar el importe explícito de :mod:`pdb` o " +"tener que escribir tanto código para entrar al depurador. Sin embargo, :func:" +"`sys.breakpointhook` puede ser configurado a otra función y :func:" +"`breakpoint` llamará automáticamente a esta, permitiendo entrar al depurador " +"elegido." #: ../Doc/library/functions.rst:136 msgid "" From f5ab8dcbcd829c76b8c8873172f946a68ba5d2a4 Mon Sep 17 00:00:00 2001 From: claudia Date: Thu, 7 May 2020 10:04:22 +0200 Subject: [PATCH 2/7] a couple of changes only, checking if build is done --- library/functions.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/functions.po b/library/functions.po index f73cedfc25..61a6a7b7a6 100644 --- a/library/functions.po +++ b/library/functions.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: Python 3.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-05-06 11:59-0400\n" -"PO-Revision-Date: 2020-05-05 22:35+0200\n" +"PO-Revision-Date: 2020-05-07 10:04+0200\n" "Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es." "python.org)\n" "MIME-Version: 1.0\n" @@ -690,7 +690,7 @@ msgid "" "Without arguments, return the list of names in the current local scope. " "With an argument, attempt to return a list of valid attributes for that " "object." -msgstr "" +msgstr "Sin argumentos, devuelve la lista de nombres en el ámbito local." #: ../Doc/library/functions.rst:343 msgid "" From d81d20e09868999efe28c01ba898e6ed011217ce Mon Sep 17 00:00:00 2001 From: claudia Date: Thu, 7 May 2020 10:23:47 +0200 Subject: [PATCH 3/7] last commit in 3.7 for functions.po --- library/functions.po | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/library/functions.po b/library/functions.po index 61a6a7b7a6..4c3e1d9a50 100644 --- a/library/functions.po +++ b/library/functions.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: Python 3.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-05-06 11:59-0400\n" -"PO-Revision-Date: 2020-05-07 10:04+0200\n" +"PO-Revision-Date: 2020-05-07 10:23+0200\n" "Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es." "python.org)\n" "MIME-Version: 1.0\n" @@ -30,7 +30,7 @@ msgid "" "that are always available. They are listed here in alphabetical order." msgstr "" "El intérprete de Python tiene una serie de funciones y tipos incluidos en él " -"que están siempre disponibles. Están listados aquí en orden alfabético. " +"que están siempre disponibles. Están listados aquí en orden alfabético." #: ../Doc/library/functions.rst:13 msgid ":func:`abs`" @@ -363,7 +363,7 @@ msgid "" "If prefix \"0b\" is desired or not, you can use either of the following ways." msgstr "" "Según se desee o no el prefijo “0b”, se puede usar uno u otro de las " -"siguientes maneras:" +"siguientes maneras." #: ../Doc/library/functions.rst:101 ../Doc/library/functions.rst:703 #: ../Doc/library/functions.rst:963 @@ -690,7 +690,9 @@ msgid "" "Without arguments, return the list of names in the current local scope. " "With an argument, attempt to return a list of valid attributes for that " "object." -msgstr "Sin argumentos, devuelve la lista de nombres en el ámbito local." +msgstr "" +"Sin argumentos, devuelve la lista de nombres en el ámbito local. Con un " +"argumento, intenta devolver una lista de atributos válidos para ese objeto." #: ../Doc/library/functions.rst:343 msgid "" @@ -699,6 +701,11 @@ msgid "" "custom :func:`__getattr__` or :func:`__getattribute__` function to customize " "the way :func:`dir` reports their attributes." msgstr "" +"Si el objeto tiene un método llamado :meth:`__dir__`, éste será llamado y " +"debe devolver la lista de atributos. Esto permite que los objetos que " +"implementan una función personalizada :func:`__getattr__` o :func:" +"`__getattribute__` puedan decidir la manera en la que :func:`dir` reporta " +"sus atributos." #: ../Doc/library/functions.rst:348 msgid "" @@ -708,6 +715,11 @@ msgid "" "complete, and may be inaccurate when the object has a custom :func:" "`__getattr__`." msgstr "" +"Si el objeto no provee de un método :meth:`__dir__`, la función intenta " +"obtener la información del atributo :attr:`~object.__dict__` del objeto, si " +"está definido, y de su objeto type. La lista resultante no está " +"necesariamente completa, y puede ser inexacta cuando el objeto tiene una " +"función :func:`__getattr__` implementada." #: ../Doc/library/functions.rst:353 msgid "" From 93845a0cd0494c1d04a36e6ec1d531a8bd16c03a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claudia=20Mill=C3=A1n?= Date: Thu, 7 May 2020 14:22:21 +0200 Subject: [PATCH 4/7] Update library/functions.po added escape to the normal comillas Co-authored-by: Manuel Kaufmann --- library/functions.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/functions.po b/library/functions.po index 4c3e1d9a50..e7fc050204 100644 --- a/library/functions.po +++ b/library/functions.po @@ -353,7 +353,7 @@ msgid "" "object, it has to define an :meth:`__index__` method that returns an " "integer. Some examples:" msgstr "" -"Convierte un número entero a una cadena binaria con prefijo “0b”. El " +"Convierte un número entero a una cadena binaria con prefijo \"0b\". El " "resultado es una expresión de Python válida. Si *x* no es un objeto de " "clase :class:`int` en Python, tiene que definir un método :meth:" "`__index__` que devuelva un entero. Algunos ejemplos:" From 9dcaf5488baa27d18a0729eee8560535deaea561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claudia=20Mill=C3=A1n?= Date: Thu, 7 May 2020 14:23:16 +0200 Subject: [PATCH 5/7] Update library/functions.po idem comillas correctamente escapadas ahora Co-authored-by: Manuel Kaufmann --- library/functions.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/functions.po b/library/functions.po index e7fc050204..dc7683eeb1 100644 --- a/library/functions.po +++ b/library/functions.po @@ -362,7 +362,7 @@ msgstr "" msgid "" "If prefix \"0b\" is desired or not, you can use either of the following ways." msgstr "" -"Según se desee o no el prefijo “0b”, se puede usar uno u otro de las " +"Según se desee o no el prefijo \"0b\", se puede usar uno u otro de las " "siguientes maneras." #: ../Doc/library/functions.rst:101 ../Doc/library/functions.rst:703 From 6fb62d10b0f28be25d850ccd277173b6588258d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claudia=20Mill=C3=A1n?= Date: Thu, 7 May 2020 14:24:11 +0200 Subject: [PATCH 6/7] Update library/functions.po Co-authored-by: Manuel Kaufmann --- library/functions.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/functions.po b/library/functions.po index dc7683eeb1..32d1047298 100644 --- a/library/functions.po +++ b/library/functions.po @@ -381,7 +381,7 @@ msgid "" msgstr "" "Devuelve un booleano, es decir, o bien ``True`` o ``False``. *x* es " "convertido usando el estándar :ref:`truth testing procedure `. Si *x* " -"es falso o omitido, devuelve ``False``; en caso contrario devuelve " +"es falso u omitido, devuelve ``False``; en caso contrario devuelve " "``True``. La clase :class:`bool` es una subclase de :class:`int` (véase :" "ref:`typesnumeric`). De ella no pueden derivarse más subclases. Sus únicas " "instancias son ``False`` y ``True`` (véase :ref:`bltin-boolean-values`)." From b136ac19fb55291887847ebbce0af37044326db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claudia=20Mill=C3=A1n?= Date: Thu, 7 May 2020 14:24:31 +0200 Subject: [PATCH 7/7] Update library/functions.po Co-authored-by: Manuel Kaufmann --- library/functions.po | 1 - 1 file changed, 1 deletion(-) diff --git a/library/functions.po b/library/functions.po index 32d1047298..db0ac51fd2 100644 --- a/library/functions.po +++ b/library/functions.po @@ -11,7 +11,6 @@ msgstr "" "POT-Creation-Date: 2019-05-06 11:59-0400\n" "PO-Revision-Date: 2020-05-07 10:23+0200\n" "Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es." -"python.org)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n"