From c787426a206899bf6c7d1abc38db4baa3b668202 Mon Sep 17 00:00:00 2001 From: Carlos Carrasco Varas Date: Mon, 13 Mar 2023 17:27:06 -0300 Subject: [PATCH 1/2] traducido archivo library/pprint --- TRANSLATORS | 1 + library/pprint.po | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/TRANSLATORS b/TRANSLATORS index 6b2117e378..7a489f4b8a 100644 --- a/TRANSLATORS +++ b/TRANSLATORS @@ -38,6 +38,7 @@ Camilo Baquero (@camilooob) Carlos A. Crespo (@cacrespo) Carlos AlMa (@carlosalma) Carlos Bernad (@carlos-bernad) +Carlos Enrique Carrasco Varas (@Krlitos_Forever) Carlos Joel Delgado Pizarro (@c0x6a) Carlos Martel Lamas (@Letram) Catalina Arrey Amunátegui (@CatalinaArrey) diff --git a/library/pprint.po b/library/pprint.po index 0d59e2da2e..241667ae58 100644 --- a/library/pprint.po +++ b/library/pprint.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2021-10-29 22:00-0500\n" +"PO-Revision-Date: 2023-03-13 16:54-0300\n" "Last-Translator: Pedro Aarón \n" "Language: es\n" "Language-Team: python-doc-es\n" @@ -20,6 +20,7 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.10.3\n" +"X-Generator: Poedit 2.4.2\n" #: ../Doc/library/pprint.rst:2 msgid ":mod:`pprint` --- Data pretty printer" @@ -87,7 +88,6 @@ msgstr "" "interpreta varios parámetros." #: ../Doc/library/pprint.rst:47 -#, fuzzy msgid "" "*stream* (default ``sys.stdout``) is a :term:`file-like object` to which the " "output will be written by calling its :meth:`write` method. If both *stream* " @@ -95,7 +95,9 @@ msgid "" "returns." msgstr "" "*stream* (por defecto ``sys.stdout``) es un :term:`file-like object` el cual " -"la salida va a ser escrita usando el método :meth:`write`." +"la salida va a ser escrita usando el método :meth:`write`. Si tanto *stream* " +"como ``sys.stdout`` son ``None``, entonces :meth:`~PrettyPrinter.pprint` " +"devuelve el resultado sin mostrar nada." #: ../Doc/library/pprint.rst:52 msgid "" @@ -184,16 +186,17 @@ msgid "No longer attempts to write to ``sys.stdout`` if it is ``None``." msgstr "" #: ../Doc/library/pprint.rst:118 -#, fuzzy msgid "" "Return the formatted representation of *object* as a string. *indent*, " "*width*, *depth*, *compact*, *sort_dicts* and *underscore_numbers* are " "passed to the :class:`PrettyPrinter` constructor as formatting parameters " "and their meanings are as described in its documentation above." msgstr "" -"Retorna la representación formateada de *object* como una cadena. *indent*, " -"*width*, *depth*, *compact*, *sort_dicts* y *underscore_numbers* se pasarán " -"al constructor :class:`PrettyPrinter` como parámetros de formato." +"Retorna la representación formateada de *object* como una cadena de " +"caracteres. *indent*, *width*, *depth*, *compact*, *sort_dicts* y " +"*underscore_numbers* se pasan al constructor de :class:`PrettyPrinter` como " +"parámetros de formato y su significado es el descrito en su documentación " +"anterior." #: ../Doc/library/pprint.rst:126 msgid "" @@ -210,7 +213,6 @@ msgstr "" "`pprint` como parámetros de formato." #: ../Doc/library/pprint.rst:138 -#, fuzzy msgid "" "Prints the formatted representation of *object* on *stream*, followed by a " "newline. If *stream* is ``None``, ``sys.stdout`` is used. This may be used " @@ -218,13 +220,11 @@ msgid "" "inspecting values (you can even reassign ``print = pprint.pprint`` for use " "within a scope)." msgstr "" -"Imprime la representación formateada de *object* en *stream*, seguida de una " -"nueva línea. Si *stream* es ``None``, se utiliza ``sys.stdout``. Esto se " -"puede usar en el intérprete interactivo en lugar de la función :func:`print` " -"para inspeccionar valores (incluso puede reasignar ``print = pprint.pprint`` " -"para usarlo dentro de un alcance). *indent*, *width*, *depth*, *compact*, " -"*sort_dicts* y *underscore_numbers* se pasarán al constructor :class:" -"`PrettyPrinter` como parámetros de formato." +"Imprime la representación formateada de *object* en *stream*, seguido de un " +"salto de línea. Si *stream* es ``None``, se utiliza ``sys.stdout``.Esto " +"puede ser utilizado en el intérprete interactivo en lugar de la función :" +"func:`print` para inspeccionar valores (incluso puedes reasignar ``print = " +"pprint.pprint`` para usarlo dentro de un alcance)." #: ../Doc/library/pprint.rst:144 msgid "" From 651bd2e585f6c9b4cd84b8994d0e45776cbbcdd3 Mon Sep 17 00:00:00 2001 From: Carlos Carrasco Date: Sun, 7 May 2023 19:10:30 -0400 Subject: [PATCH 2/2] Traducido archivo library/pprint, correcciones aplicadas --- TRANSLATORS | 2 +- library/pprint.po | 26 +++++++++++++++++--------- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/TRANSLATORS b/TRANSLATORS index 7a489f4b8a..0438948be8 100644 --- a/TRANSLATORS +++ b/TRANSLATORS @@ -38,7 +38,7 @@ Camilo Baquero (@camilooob) Carlos A. Crespo (@cacrespo) Carlos AlMa (@carlosalma) Carlos Bernad (@carlos-bernad) -Carlos Enrique Carrasco Varas (@Krlitos_Forever) +Carlos Enrique Carrasco Varas (@KrlitosForever) Carlos Joel Delgado Pizarro (@c0x6a) Carlos Martel Lamas (@Letram) Catalina Arrey Amunátegui (@CatalinaArrey) diff --git a/library/pprint.po b/library/pprint.po index 241667ae58..45a1d4b5cd 100644 --- a/library/pprint.po +++ b/library/pprint.po @@ -11,16 +11,16 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2023-03-13 16:54-0300\n" +"PO-Revision-Date: 2023-05-07 18:59-0400\n" "Last-Translator: Pedro Aarón \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: 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.10.3\n" -"X-Generator: Poedit 2.4.2\n" +"X-Generator: Poedit 3.0.1\n" #: ../Doc/library/pprint.rst:2 msgid ":mod:`pprint` --- Data pretty printer" @@ -88,6 +88,7 @@ msgstr "" "interpreta varios parámetros." #: ../Doc/library/pprint.rst:47 +#, fuzzy msgid "" "*stream* (default ``sys.stdout``) is a :term:`file-like object` to which the " "output will be written by calling its :meth:`write` method. If both *stream* " @@ -95,9 +96,9 @@ msgid "" "returns." msgstr "" "*stream* (por defecto ``sys.stdout``) es un :term:`file-like object` el cual " -"la salida va a ser escrita usando el método :meth:`write`. Si tanto *stream* " -"como ``sys.stdout`` son ``None``, entonces :meth:`~PrettyPrinter.pprint` " -"devuelve el resultado sin mostrar nada." +"la salida va a ser escrita usando el :meth:`write`. Si tanto *stream* como " +"``sys.stdout`` son ``None``, entonces :meth:`~PrettyPrinter.pprint` retorna " +"el resultado sin mostrar nada." #: ../Doc/library/pprint.rst:52 msgid "" @@ -182,8 +183,9 @@ msgid "Added the *underscore_numbers* parameter." msgstr "Se agregó el parámetro *underscore_numbers*." #: ../Doc/library/pprint.rst:89 +#, fuzzy msgid "No longer attempts to write to ``sys.stdout`` if it is ``None``." -msgstr "" +msgstr "Ya no intenta escribir en ``sys.stdout`` si es ``None``." #: ../Doc/library/pprint.rst:118 msgid "" @@ -213,6 +215,7 @@ msgstr "" "`pprint` como parámetros de formato." #: ../Doc/library/pprint.rst:138 +#, fuzzy msgid "" "Prints the formatted representation of *object* on *stream*, followed by a " "newline. If *stream* is ``None``, ``sys.stdout`` is used. This may be used " @@ -221,18 +224,23 @@ msgid "" "within a scope)." msgstr "" "Imprime la representación formateada de *object* en *stream*, seguido de un " -"salto de línea. Si *stream* es ``None``, se utiliza ``sys.stdout``.Esto " +"salto de línea. Si *stream* es ``None``, se utiliza ``sys.stdout``. Esto " "puede ser utilizado en el intérprete interactivo en lugar de la función :" "func:`print` para inspeccionar valores (incluso puedes reasignar ``print = " "pprint.pprint`` para usarlo dentro de un alcance)." #: ../Doc/library/pprint.rst:144 +#, fuzzy msgid "" "The configuration parameters *stream*, *indent*, *width*, *depth*, " "*compact*, *sort_dicts* and *underscore_numbers* are passed to the :class:" "`PrettyPrinter` constructor and their meanings are as described in its " "documentation above." msgstr "" +"Los parámetros de configuración *stream*, *indent*, *width*, *depth*, " +"*compact*, *sort_dicts* y *underscore_numbers* se pasan al constructor de " +"la :class:`PrettyPrinter` y su significado se describe en la documentación " +"mencionada anteriormente." #: ../Doc/library/pprint.rst:164 msgid ""