Skip to content

traducido archivo library/tomllib #2201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 29, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
traducido archivo library/tomllib
  • Loading branch information
Rodrigo Poblete committed Nov 16, 2022
commit 377e40444169eab03771844ebad98fa1e9fc43f4
105 changes: 69 additions & 36 deletions library/tomllib.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,40 @@
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"PO-Revision-Date: 2022-11-16 10:39-0300\n"
"Last-Translator: Rodrigo Poblete <rodrigopoblete.dev@gmail.com>\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 <https://toml.io/en/>`_). 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 <https://toml.io/en/>`_). Este módulo "
"no permite escribir TOML."

#: ../Doc/library/tomllib.rst:22
msgid ""
Expand All @@ -40,6 +46,10 @@ msgid ""
"familiar to users of the standard library :mod:`marshal` and :mod:`pickle` "
"modules."
msgstr ""
"El `paquete Tomli-W <https://pypi.org/project/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 ""
Expand All @@ -48,148 +58,171 @@ msgid ""
"recommended replacement for this module for editing already existing TOML "
"files."
msgstr ""
"El `paquete TOML Kit <https://pypi.org/project/tomlkit/>`__ 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 ""
"Read a TOML file. The first argument should be a readable and binary file "
"object. Return a :class:`dict`. Convert TOML types to Python using this :ref:"
"`conversion table <toml-to-py-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 <toml-to-py-table>`."

#: ../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 "
"used to use another datatype or parser for TOML floats (e.g. :class:`decimal."
"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 ""
"Load TOML from a :class:`str` object. Return a :class:`dict`. Convert TOML "
"types to Python using this :ref:`conversion table <toml-to-py-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 <toml-to-"
"py-table>`. 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"