From bac90764226a39de84cce865826b2c1ad9470629 Mon Sep 17 00:00:00 2001 From: claudia Date: Sat, 9 May 2020 17:20:51 +0200 Subject: [PATCH 1/2] finished dir and corrected a few other things --- dict | 2 ++ library/functions.po | 70 ++++++++++++++++++++++++++++---------------- 2 files changed, 47 insertions(+), 25 deletions(-) diff --git a/dict b/dict index 8a7e7f8e02..d903acc219 100644 --- a/dict +++ b/dict @@ -47,6 +47,7 @@ bash batch big-endian bug +built búfer collector comilla @@ -111,6 +112,7 @@ lexicográfica m manejador manejadores +metaclase mezclarlos mortem multi diff --git a/library/functions.po b/library/functions.po index 8a01d71df6..3ee906cf19 100644 --- a/library/functions.po +++ b/library/functions.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-07 14:37+0200\n" -"PO-Revision-Date: 2020-05-07 21:30+0200\n" +"PO-Revision-Date: 2020-05-09 17:08+0200\n" "Last-Translator: \n" "Language: es\n" "Language-Team: python-doc-esMIME-Version: 1.0\n" @@ -224,91 +224,91 @@ msgstr ":func:`format`" #: ../Doc/library/functions.rst:22 msgid ":func:`len`" -msgstr "" +msgstr ":func:`len`" #: ../Doc/library/functions.rst:22 msgid ":func:`property`" -msgstr "" +msgstr ":func:`property`" #: ../Doc/library/functions.rst:22 msgid ":func:`type`" -msgstr "" +msgstr ":func:`type`" #: ../Doc/library/functions.rst:23 msgid ":func:`chr`" -msgstr "" +msgstr ":func:`chr`" #: ../Doc/library/functions.rst:23 msgid "|func-frozenset|_" -msgstr "" +msgstr "|func-frozenset|_" #: ../Doc/library/functions.rst:23 msgid "|func-list|_" -msgstr "" +msgstr "|func-list|_" #: ../Doc/library/functions.rst:23 msgid "|func-range|_" -msgstr "" +msgstr "|func-range|_" #: ../Doc/library/functions.rst:23 msgid ":func:`vars`" -msgstr "" +msgstr ":func:`vars`" #: ../Doc/library/functions.rst:24 msgid ":func:`classmethod`" -msgstr "" +msgstr ":func:`classmethod`" #: ../Doc/library/functions.rst:24 msgid ":func:`getattr`" -msgstr "" +msgstr ":func:`getattr`" #: ../Doc/library/functions.rst:24 msgid ":func:`locals`" -msgstr "" +msgstr ":func:`locals`" #: ../Doc/library/functions.rst:24 msgid ":func:`repr`" -msgstr "" +msgstr ":func:`repr`" #: ../Doc/library/functions.rst:24 msgid ":func:`zip`" -msgstr "" +msgstr ":func:`zip`" #: ../Doc/library/functions.rst:25 msgid ":func:`compile`" -msgstr "" +msgstr ":func:`compile`" #: ../Doc/library/functions.rst:25 msgid ":func:`globals`" -msgstr "" +msgstr ":func:`globals`" #: ../Doc/library/functions.rst:25 msgid ":func:`map`" -msgstr "" +msgstr ":func:`map`" #: ../Doc/library/functions.rst:25 msgid ":func:`reversed`" -msgstr "" +msgstr ":func:`reversed`" #: ../Doc/library/functions.rst:25 msgid ":func:`__import__`" -msgstr "" +msgstr ":func:`__import__`" #: ../Doc/library/functions.rst:26 msgid ":func:`complex`" -msgstr "" +msgstr ":func:`complex`" #: ../Doc/library/functions.rst:26 msgid ":func:`hasattr`" -msgstr "" +msgstr ":func:`hasattr`" #: ../Doc/library/functions.rst:26 msgid ":func:`max`" -msgstr "" +msgstr ":func:`max`" #: ../Doc/library/functions.rst:26 msgid ":func:`round`" -msgstr "" +msgstr ":func:`round`" #: ../Doc/library/functions.rst:45 msgid "" @@ -729,12 +729,17 @@ msgid "" "Create a new dictionary. The :class:`dict` object is the dictionary class. " "See :class:`dict` and :ref:`typesmapping` for documentation about this class." msgstr "" +"Crea un nuevo diccionario. El objeto :class:`dict` es la clase diccionario. " +"Véase :class:`dict` y :ref:`typesmapping` para más información sobre esta " +"clase." #: ../Doc/library/functions.rst:362 msgid "" "For other containers see the built-in :class:`list`, :class:`set`, and :" "class:`tuple` classes, as well as the :mod:`collections` module." msgstr "" +"Para otros contenedores véase las clases built-in :class:`list`, :class:" +"`set`, y :class:`tuple`, así como el módulo :mod:`collections`." #: ../Doc/library/functions.rst:368 msgid "" @@ -768,7 +773,7 @@ msgid "" 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 tipo de objeto. La lista resultante no está " +"está definido, y de su objeto tipo. La lista resultante no está " "necesariamente completa, y puede ser inexacta cuando el objeto tiene una " "función :func:`__getattr__` implementada." @@ -778,18 +783,25 @@ msgid "" "of objects, as it attempts to produce the most relevant, rather than " "complete, information:" msgstr "" +"El mecanismo por defecto de :func:`dir` se comporta de forma distinta con " +"diferentes tipos de objeto, ya que intenta producir la información más " +"relevante en vez de la más completa:" #: ../Doc/library/functions.rst:385 msgid "" "If the object is a module object, the list contains the names of the " "module's attributes." msgstr "" +"Si el objeto es un módulo, la lista contiene los nombres de los atributos " +"del módulo." #: ../Doc/library/functions.rst:388 msgid "" "If the object is a type or class object, the list contains the names of its " "attributes, and recursively of the attributes of its bases." msgstr "" +"Si el objeto es un tipo o una clase, la lista contiene los nombres de sus " +"atributos, y recursivamente la de los atributos de sus clases base." #: ../Doc/library/functions.rst:391 msgid "" @@ -797,10 +809,13 @@ msgid "" "its class's attributes, and recursively of the attributes of its class's " "base classes." msgstr "" +"En cualquier otro caso, la lista contiene los nombres de los atributos del " +"objeto, los nombres de los atributos de su clase, y recursivamente los " +"atributos de sus clases base." #: ../Doc/library/functions.rst:395 msgid "The resulting list is sorted alphabetically. For example:" -msgstr "" +msgstr "La lista resultante está ordenada alfabéticamente. Por ejemplo:" #: ../Doc/library/functions.rst:414 msgid "" @@ -810,6 +825,11 @@ msgid "" "its detailed behavior may change across releases. For example, metaclass " "attributes are not in the result list when the argument is a class." msgstr "" +"Ya que :func:`dir` se ofrece como una herramienta para uso en una terminal " +"de forma interactiva, intenta ofrecer un grupo interesante de nombres más " +"que un uno rigurosamente definido, y su comportamiento detallado puede " +"cambiar entre versiones. Por ejemplo, los atributos de metaclase no están en " +"la lista resultante cuando el argumento es una clase." #: ../Doc/library/functions.rst:424 msgid "" From 85ddb186fee477e74074c287b0eb8ba6669db008 Mon Sep 17 00:00:00 2001 From: claudia Date: Sat, 9 May 2020 21:54:49 +0200 Subject: [PATCH 2/2] correction to built-in in functions --- library/functions.po | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/library/functions.po b/library/functions.po index 3ee906cf19..224ef42147 100644 --- a/library/functions.po +++ b/library/functions.po @@ -738,8 +738,9 @@ msgid "" "For other containers see the built-in :class:`list`, :class:`set`, and :" "class:`tuple` classes, as well as the :mod:`collections` module." msgstr "" -"Para otros contenedores véase las clases built-in :class:`list`, :class:" -"`set`, y :class:`tuple`, así como el módulo :mod:`collections`." +"Para otros contenedores véase las clases incorporadas (*built-in*) :class:" +"`list`, :class:`set`, y :class:`tuple`, así como el módulo :mod:" +"`collections`." #: ../Doc/library/functions.rst:368 msgid ""