Skip to content

Commit 4bacec5

Browse files
rodpobleteRodrigo Pobletecmaureir
authored
traducido archivo library/tomllib (#2201)
Closed #2015 Co-authored-by: Rodrigo Poblete <rodrigopoblete.dev@gmail.com> Co-authored-by: Cristián Maureira-Fredes <cmaureir@users.noreply.github.com>
1 parent e1228c0 commit 4bacec5

File tree

2 files changed

+71
-36
lines changed

2 files changed

+71
-36
lines changed

dictionaries/library_tomllib.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Minimal
2+
Obvious

library/tomllib.po

+69-36
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,40 @@
44
# package.
55
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
66
#
7-
#, fuzzy
87
msgid ""
98
msgstr ""
109
"Project-Id-Version: Python en Español 3.11\n"
1110
"Report-Msgid-Bugs-To: \n"
1211
"POT-Creation-Date: 2022-10-25 19:47+0200\n"
13-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15-
"Language-Team: LANGUAGE <LL@li.org>\n"
12+
"PO-Revision-Date: 2022-11-16 10:39-0300\n"
13+
"Last-Translator: Rodrigo Poblete <rodrigopoblete.dev@gmail.com>\n"
14+
"Language-Team: \n"
15+
"Language: es_419\n"
1616
"MIME-Version: 1.0\n"
17-
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
1818
"Content-Transfer-Encoding: 8bit\n"
19+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1920
"Generated-By: Babel 2.10.3\n"
21+
"X-Generator: Poedit 3.2.1\n"
2022

2123
#: ../Doc/library/tomllib.rst:2
2224
msgid ":mod:`tomllib` --- Parse TOML files"
23-
msgstr ""
25+
msgstr ":mod:`tomllib` --- Analizar archivos TOML"
2426

2527
#: ../Doc/library/tomllib.rst:12
2628
msgid "**Source code:** :source:`Lib/tomllib`"
27-
msgstr ""
29+
msgstr "**Código fuente:** :source:`Lib/tomllib`"
2830

2931
#: ../Doc/library/tomllib.rst:16
32+
#, fuzzy
3033
msgid ""
3134
"This module provides an interface for parsing TOML (Tom's Obvious Minimal "
3235
"Language, `https://toml.io <https://toml.io/en/>`_). This module does not "
3336
"support writing TOML."
3437
msgstr ""
38+
"Este módulo proporciona una interfaz para parsear TOML (Tom's Obvious "
39+
"Minimal Language, `https://toml.io <https://toml.io/en/>`_). Este módulo no "
40+
"permite escribir TOML."
3541

3642
#: ../Doc/library/tomllib.rst:22
3743
msgid ""
@@ -40,6 +46,10 @@ msgid ""
4046
"familiar to users of the standard library :mod:`marshal` and :mod:`pickle` "
4147
"modules."
4248
msgstr ""
49+
"El `paquete Tomli-W <https://pypi.org/project/tomli-w/>`__ es un escritor de "
50+
"TOML que puede utilizarse junto con este módulo, proporcionando una API de "
51+
"escritura familiar para los usuarios de los módulos :mod:`marshal` y :mod:"
52+
"`pickle` de la biblioteca estándar."
4353

4454
#: ../Doc/library/tomllib.rst:29
4555
msgid ""
@@ -48,148 +58,171 @@ msgid ""
4858
"recommended replacement for this module for editing already existing TOML "
4959
"files."
5060
msgstr ""
61+
"El `paquete TOML Kit <https://pypi.org/project/tomlkit/>`__ es una "
62+
"biblioteca TOML que preserva el estilo y tiene capacidad de lectura y "
63+
"escritura. Se recomienda sustituir este módulo para editar archivos TOML ya "
64+
"existentes."
5165

5266
#: ../Doc/library/tomllib.rst:35
5367
msgid "This module defines the following functions:"
54-
msgstr ""
68+
msgstr "Este módulo define las siguientes funciones:"
5569

5670
#: ../Doc/library/tomllib.rst:39
5771
msgid ""
5872
"Read a TOML file. The first argument should be a readable and binary file "
5973
"object. Return a :class:`dict`. Convert TOML types to Python using this :ref:"
6074
"`conversion table <toml-to-py-table>`."
6175
msgstr ""
76+
"Lee un archivo TOML. El primer argumento debe ser un objeto de archivo "
77+
"legible y binario. Retorna un :class:`dict`. Convierte los tipos TOML a "
78+
"Python utilizando esta :ref:`tabla de conversión <toml-to-py-table>`."
6279

6380
#: ../Doc/library/tomllib.rst:43
81+
#, fuzzy
6482
msgid ""
6583
"*parse_float* will be called with the string of every TOML float to be "
6684
"decoded. By default, this is equivalent to ``float(num_str)``. This can be "
6785
"used to use another datatype or parser for TOML floats (e.g. :class:`decimal."
6886
"Decimal`). The callable must not return a :class:`dict` or a :class:`list`, "
6987
"else a :exc:`ValueError` is raised."
7088
msgstr ""
89+
"*parse_float* se llamará con la cadena de cada TOML flotante que se "
90+
"decodificará. Por defecto, esto es equivalente a ``float(num_str)``. Esto "
91+
"se puede utilizar para usar otro tipo de datos o analizador para flotantes "
92+
"TOML (por ejemplo, :class:`decimal.Decimal`). La llamada no debe devolver "
93+
"un :class:`dict` o un :class:`list`, de lo contrario se produce un :exc:"
94+
"`ValueError`."
7195

7296
#: ../Doc/library/tomllib.rst:49 ../Doc/library/tomllib.rst:58
7397
msgid "A :exc:`TOMLDecodeError` will be raised on an invalid TOML document."
74-
msgstr ""
98+
msgstr "Un :exc:`TOMLDecodeError` se levantará en un documento TOML inválido."
7599

76100
#: ../Doc/library/tomllib.rst:54
77101
msgid ""
78102
"Load TOML from a :class:`str` object. Return a :class:`dict`. Convert TOML "
79103
"types to Python using this :ref:`conversion table <toml-to-py-table>`. The "
80104
"*parse_float* argument has the same meaning as in :func:`load`."
81105
msgstr ""
106+
"Carga TOML de un objeto :class:`str`. Retorna un :class:`dict`. Convierte "
107+
"los tipos TOML a Python utilizando esta :ref:`tabla de conversión <toml-to-"
108+
"py-table>`. El argumento *parse_float* tiene el mismo significado que en :"
109+
"func:`load`."
82110

83111
#: ../Doc/library/tomllib.rst:61
84112
msgid "The following exceptions are available:"
85-
msgstr ""
113+
msgstr "Las siguientes excepciones están disponibles:"
86114

87115
#: ../Doc/library/tomllib.rst:65
88116
msgid "Subclass of :exc:`ValueError`."
89-
msgstr ""
117+
msgstr "Subclase de :exc:`ValueError`."
90118

91119
#: ../Doc/library/tomllib.rst:69
92120
msgid "Examples"
93-
msgstr ""
121+
msgstr "Ejemplos"
94122

95123
#: ../Doc/library/tomllib.rst:71
96124
msgid "Parsing a TOML file::"
97-
msgstr ""
125+
msgstr "Analiza un TOML file::"
98126

99127
#: ../Doc/library/tomllib.rst:78
100128
msgid "Parsing a TOML string::"
101-
msgstr ""
129+
msgstr "Analiza un TOML string::"
102130

103131
#: ../Doc/library/tomllib.rst:91
104132
msgid "Conversion Table"
105-
msgstr ""
133+
msgstr "Tabla de conversión"
106134

107135
#: ../Doc/library/tomllib.rst:96
108136
msgid "TOML"
109-
msgstr ""
137+
msgstr "TOML"
110138

111139
#: ../Doc/library/tomllib.rst:96
112140
msgid "Python"
113-
msgstr ""
141+
msgstr "Python"
114142

115143
#: ../Doc/library/tomllib.rst:98
116144
msgid "table"
117-
msgstr ""
145+
msgstr "tabla"
118146

119147
#: ../Doc/library/tomllib.rst:98
120148
msgid "dict"
121-
msgstr ""
149+
msgstr "dict"
122150

123151
#: ../Doc/library/tomllib.rst:100
124152
msgid "string"
125-
msgstr ""
153+
msgstr "cadena"
126154

127155
#: ../Doc/library/tomllib.rst:100
128156
msgid "str"
129-
msgstr ""
157+
msgstr "str"
130158

131159
#: ../Doc/library/tomllib.rst:102
132160
msgid "integer"
133-
msgstr ""
161+
msgstr "integer"
134162

135163
#: ../Doc/library/tomllib.rst:102
136164
msgid "int"
137-
msgstr ""
165+
msgstr "int"
138166

139167
#: ../Doc/library/tomllib.rst:104
140168
msgid "float"
141-
msgstr ""
169+
msgstr "flotante"
142170

143171
#: ../Doc/library/tomllib.rst:104
144172
msgid "float (configurable with *parse_float*)"
145-
msgstr ""
173+
msgstr "flotante (configurable con *parse_float*)"
146174

147175
#: ../Doc/library/tomllib.rst:106
148176
msgid "boolean"
149-
msgstr ""
177+
msgstr "boolean"
150178

151179
#: ../Doc/library/tomllib.rst:106
152180
msgid "bool"
153-
msgstr ""
181+
msgstr "bool"
154182

155183
#: ../Doc/library/tomllib.rst:108
184+
#, fuzzy
156185
msgid "offset date-time"
157-
msgstr ""
186+
msgstr "offset date-time"
158187

159188
#: ../Doc/library/tomllib.rst:108
160189
msgid ""
161190
"datetime.datetime (``tzinfo`` attribute set to an instance of ``datetime."
162191
"timezone``)"
163192
msgstr ""
193+
"datetime.datetime (atributo ``tzinfo`` establecido en una instancia de "
194+
"``datetime.timezone``)"
164195

165196
#: ../Doc/library/tomllib.rst:110
197+
#, fuzzy
166198
msgid "local date-time"
167-
msgstr ""
199+
msgstr "local date-time"
168200

169201
#: ../Doc/library/tomllib.rst:110
170202
msgid "datetime.datetime (``tzinfo`` attribute set to ``None``)"
171-
msgstr ""
203+
msgstr "datetime.datetime (atributo ``tzinfo`` establecido en ``None``)"
172204

173205
#: ../Doc/library/tomllib.rst:112
206+
#, fuzzy
174207
msgid "local date"
175-
msgstr ""
208+
msgstr "local date"
176209

177210
#: ../Doc/library/tomllib.rst:112
178211
msgid "datetime.date"
179-
msgstr ""
212+
msgstr "datetime.date"
180213

181214
#: ../Doc/library/tomllib.rst:114
182215
msgid "local time"
183-
msgstr ""
216+
msgstr "local time"
184217

185218
#: ../Doc/library/tomllib.rst:114
186219
msgid "datetime.time"
187-
msgstr ""
220+
msgstr "datetime.time"
188221

189222
#: ../Doc/library/tomllib.rst:116
190223
msgid "array"
191-
msgstr ""
224+
msgstr "array"
192225

193226
#: ../Doc/library/tomllib.rst:116
194227
msgid "list"
195-
msgstr ""
228+
msgstr "list"

0 commit comments

Comments
 (0)