From 377e40444169eab03771844ebad98fa1e9fc43f4 Mon Sep 17 00:00:00 2001 From: Rodrigo Poblete Date: Wed, 16 Nov 2022 10:40:55 -0300 Subject: [PATCH 1/3] traducido archivo library/tomllib --- library/tomllib.po | 105 +++++++++++++++++++++++++++++---------------- 1 file changed, 69 insertions(+), 36 deletions(-) diff --git a/library/tomllib.po b/library/tomllib.po index 962d70c932..aba67a0a5c 100644 --- a/library/tomllib.po +++ b/library/tomllib.po @@ -4,34 +4,40 @@ # package. # FIRST AUTHOR , 2022. # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: Python en Español 3.11\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"PO-Revision-Date: 2022-11-16 10:39-0300\n" +"Last-Translator: Rodrigo Poblete \n" +"Language-Team: \n" +"Language: es_419\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\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 3.2.1\n" #: ../Doc/library/tomllib.rst:2 msgid ":mod:`tomllib` --- Parse TOML files" -msgstr "" +msgstr ":mod:`tomllib` --- Parsear archivos TOML" #: ../Doc/library/tomllib.rst:12 msgid "**Source code:** :source:`Lib/tomllib`" -msgstr "" +msgstr "**Código fuente:** :source:`Lib/tomllib`" #: ../Doc/library/tomllib.rst:16 +#, fuzzy msgid "" "This module provides an interface for parsing TOML (Tom's Obvious Minimal " "Language, `https://toml.io `_). This module does not " "support writing TOML." msgstr "" +"Este módulo proporciona una interfaz para parsear TOML (Tom's *Obvious* " +"*Minimal* *Language*, `https://toml.io `_). Este módulo " +"no permite escribir TOML." #: ../Doc/library/tomllib.rst:22 msgid "" @@ -40,6 +46,10 @@ msgid "" "familiar to users of the standard library :mod:`marshal` and :mod:`pickle` " "modules." msgstr "" +"El `paquete Tomli-W `__ es un escritor de " +"TOML que puede utilizarse junto con este módulo, proporcionando una API de " +"escritura familiar para los usuarios de los módulos :mod:`marshal` y :mod:" +"`pickle` de la biblioteca estándar." #: ../Doc/library/tomllib.rst:29 msgid "" @@ -48,10 +58,14 @@ msgid "" "recommended replacement for this module for editing already existing TOML " "files." msgstr "" +"El `paquete TOML Kit `__ es una " +"biblioteca TOML que preserva el estilo y tiene capacidad de lectura y " +"escritura. Se recomienda sustituir este módulo para editar archivos TOML ya " +"existentes." #: ../Doc/library/tomllib.rst:35 msgid "This module defines the following functions:" -msgstr "" +msgstr "Este módulo define las siguientes funciones:" #: ../Doc/library/tomllib.rst:39 msgid "" @@ -59,8 +73,12 @@ msgid "" "object. Return a :class:`dict`. Convert TOML types to Python using this :ref:" "`conversion table `." msgstr "" +"Lee un archivo TOML. El primer argumento debe ser un objeto de archivo " +"legible y binario. Devuelve un :class:`dict`. Convierte los tipos TOML a " +"Python utilizando esta :ref:`tabla de conversión `." #: ../Doc/library/tomllib.rst:43 +#, fuzzy msgid "" "*parse_float* will be called with the string of every TOML float to be " "decoded. By default, this is equivalent to ``float(num_str)``. This can be " @@ -68,10 +86,16 @@ msgid "" "Decimal`). The callable must not return a :class:`dict` or a :class:`list`, " "else a :exc:`ValueError` is raised." msgstr "" +"*parse_float* se llamará con la cadena de cada TOML flotante que se " +"decodificará. Por defecto, esto es equivalente a ``float(num_str)``. Esto " +"se puede utilizar para usar otro tipo de datos o analizador para flotantes " +"TOML (por ejemplo, :class:`decimal.Decimal`). La llamada no debe devolver " +"un :class:`dict` o un :class:`list`, de lo contrario se produce un :exc:" +"`ValueError`." #: ../Doc/library/tomllib.rst:49 ../Doc/library/tomllib.rst:58 msgid "A :exc:`TOMLDecodeError` will be raised on an invalid TOML document." -msgstr "" +msgstr "Un :exc:`TOMLDecodeError` se levantará en un documento TOML inválido." #: ../Doc/library/tomllib.rst:54 msgid "" @@ -79,117 +103,126 @@ msgid "" "types to Python using this :ref:`conversion table `. The " "*parse_float* argument has the same meaning as in :func:`load`." msgstr "" +"Carga TOML de un objeto :class:`str`. Devuelve un :class:`dict`. Convierte " +"los tipos TOML a Python utilizando esta :ref:`tabla de conversión `. El argumento *parse_float* tiene el mismo significado que en :" +"func:`load`." #: ../Doc/library/tomllib.rst:61 msgid "The following exceptions are available:" -msgstr "" +msgstr "Las siguientes excepciones están disponibles:" #: ../Doc/library/tomllib.rst:65 msgid "Subclass of :exc:`ValueError`." -msgstr "" +msgstr "Subclase de :exc:`ValueError`." #: ../Doc/library/tomllib.rst:69 msgid "Examples" -msgstr "" +msgstr "Ejemplos" #: ../Doc/library/tomllib.rst:71 msgid "Parsing a TOML file::" -msgstr "" +msgstr "Analiza un TOML file::" #: ../Doc/library/tomllib.rst:78 msgid "Parsing a TOML string::" -msgstr "" +msgstr "Analiza un TOML string::" #: ../Doc/library/tomllib.rst:91 msgid "Conversion Table" -msgstr "" +msgstr "Tabla de conversión" #: ../Doc/library/tomllib.rst:96 msgid "TOML" -msgstr "" +msgstr "TOML" #: ../Doc/library/tomllib.rst:96 msgid "Python" -msgstr "" +msgstr "Python" #: ../Doc/library/tomllib.rst:98 msgid "table" -msgstr "" +msgstr "tabla" #: ../Doc/library/tomllib.rst:98 msgid "dict" -msgstr "" +msgstr "dict" #: ../Doc/library/tomllib.rst:100 msgid "string" -msgstr "" +msgstr "cadena" #: ../Doc/library/tomllib.rst:100 msgid "str" -msgstr "" +msgstr "str" #: ../Doc/library/tomllib.rst:102 msgid "integer" -msgstr "" +msgstr "integer" #: ../Doc/library/tomllib.rst:102 msgid "int" -msgstr "" +msgstr "int" #: ../Doc/library/tomllib.rst:104 msgid "float" -msgstr "" +msgstr "flotante" #: ../Doc/library/tomllib.rst:104 msgid "float (configurable with *parse_float*)" -msgstr "" +msgstr "flotante (configurable con *parse_float*)" #: ../Doc/library/tomllib.rst:106 msgid "boolean" -msgstr "" +msgstr "boolean" #: ../Doc/library/tomllib.rst:106 msgid "bool" -msgstr "" +msgstr "bool" #: ../Doc/library/tomllib.rst:108 +#, fuzzy msgid "offset date-time" -msgstr "" +msgstr "offset date-time" #: ../Doc/library/tomllib.rst:108 msgid "" "datetime.datetime (``tzinfo`` attribute set to an instance of ``datetime." "timezone``)" msgstr "" +"datetime.datetime (atributo ``tzinfo`` establecido en una instancia de " +"``datetime.timezone``)" #: ../Doc/library/tomllib.rst:110 +#, fuzzy msgid "local date-time" -msgstr "" +msgstr "local date-time" #: ../Doc/library/tomllib.rst:110 msgid "datetime.datetime (``tzinfo`` attribute set to ``None``)" -msgstr "" +msgstr "datetime.datetime (atributo ``tzinfo`` establecido en ``None``)" #: ../Doc/library/tomllib.rst:112 +#, fuzzy msgid "local date" -msgstr "" +msgstr "local date" #: ../Doc/library/tomllib.rst:112 msgid "datetime.date" -msgstr "" +msgstr "datetime.date" #: ../Doc/library/tomllib.rst:114 msgid "local time" -msgstr "" +msgstr "local time" #: ../Doc/library/tomllib.rst:114 msgid "datetime.time" -msgstr "" +msgstr "datetime.time" #: ../Doc/library/tomllib.rst:116 msgid "array" -msgstr "" +msgstr "array" #: ../Doc/library/tomllib.rst:116 msgid "list" -msgstr "" +msgstr "list" From e0ddf0e67c0a97f2481aebcf30ea9f753a06f67e Mon Sep 17 00:00:00 2001 From: Rodrigo Poblete Date: Tue, 29 Nov 2022 08:51:23 -0300 Subject: [PATCH 2/3] chore: add requested corrections --- dictionaries/library_tomllib.txt | 1 + library/tomllib.po | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 dictionaries/library_tomllib.txt diff --git a/dictionaries/library_tomllib.txt b/dictionaries/library_tomllib.txt new file mode 100644 index 0000000000..ca35ca53d6 --- /dev/null +++ b/dictionaries/library_tomllib.txt @@ -0,0 +1 @@ +Minimal diff --git a/library/tomllib.po b/library/tomllib.po index aba67a0a5c..abd7916bc8 100644 --- a/library/tomllib.po +++ b/library/tomllib.po @@ -22,7 +22,7 @@ msgstr "" #: ../Doc/library/tomllib.rst:2 msgid ":mod:`tomllib` --- Parse TOML files" -msgstr ":mod:`tomllib` --- Parsear archivos TOML" +msgstr ":mod:`tomllib` --- Analizar archivos TOML" #: ../Doc/library/tomllib.rst:12 msgid "**Source code:** :source:`Lib/tomllib`" @@ -36,8 +36,8 @@ msgid "" "support writing TOML." msgstr "" "Este módulo proporciona una interfaz para parsear TOML (Tom's *Obvious* " -"*Minimal* *Language*, `https://toml.io `_). Este módulo " -"no permite escribir TOML." +"Minimal Language, `https://toml.io `_). Este módulo no " +"permite escribir TOML." #: ../Doc/library/tomllib.rst:22 msgid "" @@ -74,7 +74,7 @@ msgid "" "`conversion table `." msgstr "" "Lee un archivo TOML. El primer argumento debe ser un objeto de archivo " -"legible y binario. Devuelve un :class:`dict`. Convierte los tipos TOML a " +"legible y binario. Retorna un :class:`dict`. Convierte los tipos TOML a " "Python utilizando esta :ref:`tabla de conversión `." #: ../Doc/library/tomllib.rst:43 @@ -103,7 +103,7 @@ msgid "" "types to Python using this :ref:`conversion table `. The " "*parse_float* argument has the same meaning as in :func:`load`." msgstr "" -"Carga TOML de un objeto :class:`str`. Devuelve un :class:`dict`. Convierte " +"Carga TOML de un objeto :class:`str`. Retorna un :class:`dict`. Convierte " "los tipos TOML a Python utilizando esta :ref:`tabla de conversión `. El argumento *parse_float* tiene el mismo significado que en :" "func:`load`." From 2e977369ae8a6b6e196191af049cfe0bb991c128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Tue, 29 Nov 2022 14:28:34 +0100 Subject: [PATCH 3/3] Apply suggestions from code review --- dictionaries/library_tomllib.txt | 1 + library/tomllib.po | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dictionaries/library_tomllib.txt b/dictionaries/library_tomllib.txt index ca35ca53d6..f6d4446aad 100644 --- a/dictionaries/library_tomllib.txt +++ b/dictionaries/library_tomllib.txt @@ -1 +1,2 @@ Minimal +Obvious diff --git a/library/tomllib.po b/library/tomllib.po index abd7916bc8..4757610096 100644 --- a/library/tomllib.po +++ b/library/tomllib.po @@ -35,7 +35,7 @@ msgid "" "Language, `https://toml.io `_). This module does not " "support writing TOML." msgstr "" -"Este módulo proporciona una interfaz para parsear TOML (Tom's *Obvious* " +"Este módulo proporciona una interfaz para parsear TOML (Tom's Obvious " "Minimal Language, `https://toml.io `_). Este módulo no " "permite escribir TOML."