6
6
# Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to
7
7
# get the list of volunteers
8
8
#
9
- #, fuzzy
10
9
msgid ""
11
10
msgstr ""
12
11
"Project-Id-Version : Python 3.8\n "
13
12
"Report-Msgid-Bugs-To : \n "
14
13
"POT-Creation-Date : 2020-05-05 12:54+0200\n "
15
- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
16
- "Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14
+ "PO-Revision-Date : 2020-10-06 21:54+0200\n "
17
15
"Language-Team : python-doc-es\n "
18
16
"MIME-Version : 1.0\n "
19
- "Content-Type : text/plain; charset=utf -8\n "
17
+ "Content-Type : text/plain; charset=UTF -8\n "
20
18
"Content-Transfer-Encoding : 8bit\n "
21
19
"Generated-By : Babel 2.8.0\n "
20
+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
21
+ "Last-Translator : \n "
22
+ "Language : es\n "
23
+ "X-Generator : Poedit 2.4.1\n "
22
24
23
25
#: ../Doc/library/py_compile.rst:2
24
26
msgid ":mod:`py_compile` --- Compile Python source files"
25
- msgstr ""
27
+ msgstr ":mod:`py_compile`` --- Compila archivos fuente Python "
26
28
27
29
#: ../Doc/library/py_compile.rst:10
28
30
msgid "**Source code:** :source:`Lib/py_compile.py`"
29
- msgstr ""
31
+ msgstr "**Código fuente** :source:`Lib/py_compile.py` "
30
32
31
33
#: ../Doc/library/py_compile.rst:16
32
34
msgid ""
33
35
"The :mod:`py_compile` module provides a function to generate a byte-code "
34
36
"file from a source file, and another function used when the module source "
35
37
"file is invoked as a script."
36
38
msgstr ""
39
+ "El módulo :mod:`py_compile` provee una función para generar un archivo de "
40
+ "código de bytes de un archivo fuente, y otra función usada cuando el módulo "
41
+ "archivo fuente es invocado como un script."
37
42
38
43
#: ../Doc/library/py_compile.rst:20
39
44
msgid ""
40
45
"Though not often needed, this function can be useful when installing modules "
41
46
"for shared use, especially if some of the users may not have permission to "
42
47
"write the byte-code cache files in the directory containing the source code."
43
48
msgstr ""
49
+ "Aunque no es necesario seguidamente, esta función puede ser útil cuando se "
50
+ "instalan módulos para uso compartido, especialmente si algunos de los "
51
+ "usuarios pueden no tener permisos para escribir el archivo caché de bytes en "
52
+ "el directorio conteniendo el código fuente."
44
53
45
54
#: ../Doc/library/py_compile.rst:27
46
55
msgid ""
47
56
"Exception raised when an error occurs while attempting to compile the file."
48
57
msgstr ""
58
+ "Cuando un error ocurre mientras se intenta compilar el archivo, se levanta "
59
+ "una excepción."
49
60
50
61
#: ../Doc/library/py_compile.rst:32
51
62
msgid ""
@@ -61,6 +72,19 @@ msgid ""
61
72
"``sys.stderr``, but no exception is raised. This function returns the path "
62
73
"to byte-compiled file, i.e. whatever *cfile* value was used."
63
74
msgstr ""
75
+ "Compila un archivo fuente a código de bytes y escribe el archivo de código "
76
+ "de bytes almacenado. El código fuente es cargado del archivo llamado *file* "
77
+ "El código de bytes es escrito a *cfile*, el cual va por defecto a la ruta :"
78
+ "pep:`3147`/:pep:`488`, terinando en ``.pyc``. Por ejemplo, si *file* es ``/"
79
+ "foo/bar/baz.py`` *cfile* irá por default a ``/foo/bar/__pycache__/baz."
80
+ "cpython-32.yc`` para Python 3.2. Si *dfile* es especificado, éste es usado "
81
+ "como el nombre del archivo fuente en los mensajes de error cuando sea en vez "
82
+ "de *file*. Si *doraise* es verdadero, un :exc:`PyCompilerError` es "
83
+ "levantado cuando un error es encontrado mientras se compilaba *file*. Si "
84
+ "*doraise* es falso (el predeterminado), una cadena de error es escrita a "
85
+ "``sys.stderr``, pero no se levanta ninguna excepción. Esta función regresa "
86
+ "la ruta al archivo de bytes compilado, por ejemplo, cualquier valor *cfile* "
87
+ "que fue usado."
64
88
65
89
#: ../Doc/library/py_compile.rst:45
66
90
msgid ""
@@ -71,6 +95,13 @@ msgid ""
71
95
"`PyCompileError` is raised instead. However if *quiet* is 2, no message is "
72
96
"written, and *doraise* has no effect."
73
97
msgstr ""
98
+ "Los argumentos *doraise* y *quiet* determinan cómo los errores son "
99
+ "gestionados mientras se compila el archivo. Si *quiet* es 0 o 1, y *doraise* "
100
+ "es falso, la conducta por defecto es habilitada: un error cadena de "
101
+ "caracteres es escrito a ``sys.stderr``, y la función retorna ``None`` en vez "
102
+ "de una ruta. Si *doraise* es verdadero, se levantará un :exc:"
103
+ "`PyCompileError`. Sin embargo si *quiet* es 2, ningún mensaje es escrito y "
104
+ "*doraise* no tiene efecto."
74
105
75
106
#: ../Doc/library/py_compile.rst:52
76
107
msgid ""
@@ -81,13 +112,24 @@ msgid ""
81
112
"a side-effect of import using file renaming to place the final byte-compiled "
82
113
"file into place to prevent concurrent file writing issues."
83
114
msgstr ""
115
+ "Si la ruta que *cfile* se convierte (sea especificada explícitamente o "
116
+ "computada) es un symlink o archivo no regular, se levantará :exc:"
117
+ "`FileExistsError`. Esto es para actuar como una advertencia que la "
118
+ "importación convertirá esas rutas en archivos regulares si ésta tiene "
119
+ "permitido escribir archivos compilados en bytes a esas rutas. Este es un "
120
+ "efecto secundario de importar usando el renombramiento de archivos para "
121
+ "colocar el archivo de bytes compilado final en el lugar para prevenir "
122
+ "problemas de escritura en archivos simultáneos."
84
123
85
124
#: ../Doc/library/py_compile.rst:59
86
125
msgid ""
87
126
"*optimize* controls the optimization level and is passed to the built-in :"
88
127
"func:`compile` function. The default of ``-1`` selects the optimization "
89
128
"level of the current interpreter."
90
129
msgstr ""
130
+ "*optimize* controla el nivel de optimización y si es pasado a la función "
131
+ "construida :func:`compile`. El predeterminado de ``-1`` selecciona el nivel "
132
+ "de optimización del intérprete actual."
91
133
92
134
#: ../Doc/library/py_compile.rst:63
93
135
msgid ""
@@ -97,13 +139,22 @@ msgid ""
97
139
"envvar:`SOURCE_DATE_EPOCH` environment variable is set, otherwise the "
98
140
"default is :attr:`PycInvalidationMode.TIMESTAMP`."
99
141
msgstr ""
142
+ "*invalidation_mode* debería ser un miembro del enum :class:"
143
+ "`PycInvalidationMode` y controla cómo el caché de código de bytes generado "
144
+ "es invalidado en el tiempo de ejecución. El predeterminado es :attr:"
145
+ "`PycInvalidationMode.CHECKED_HASH` si la variable de entorno :envvar:"
146
+ "`SOURCE_DATE_EPOCH` está establecida, de otra manera el predeterminado es :"
147
+ "attr:`PycInvalidationMode.TIMESTAMP`."
100
148
101
149
#: ../Doc/library/py_compile.rst:69
102
150
msgid ""
103
151
"Changed default value of *cfile* to be :PEP:`3147`-compliant. Previous "
104
152
"default was *file* + ``'c'`` (``'o'`` if optimization was enabled). Also "
105
153
"added the *optimize* parameter."
106
154
msgstr ""
155
+ "Cambiado el valor por defecto de *cfile* para que cumpla :PEP:`3147`. El por "
156
+ "defecto anterior era *file* + ``'c'`` (``'o'`` si la optimización estaba "
157
+ "habilitada). También agregado el parámetro *optimize*."
107
158
108
159
#: ../Doc/library/py_compile.rst:74
109
160
msgid ""
@@ -113,6 +164,7 @@ msgid ""
113
164
"that :exc:`FileExistsError` is raised if *cfile* is a symlink or non-regular "
114
165
"file."
115
166
msgstr ""
167
+ "Se cambió el código para usar :mod:`importlib` para la escritura del archivo "
116
168
117
169
#: ../Doc/library/py_compile.rst:81
118
170
msgid ""
@@ -121,17 +173,23 @@ msgid ""
121
173
"*invalidation_mode* will be forced to :attr:`PycInvalidationMode."
122
174
"CHECKED_HASH`."
123
175
msgstr ""
176
+ "El parámetro *invalidation_mode* fue agregado como se especificó en :pep:"
177
+ "`552`. Si la variable de entorno :envvar:`SOURCE_DATE_EPOCH` se establece, "
178
+ "*invalidation_mode* será forzada a :attr:`PycInvalidationMode.CHECKED_HASH`."
124
179
125
180
#: ../Doc/library/py_compile.rst:87
126
181
msgid ""
127
182
"The :envvar:`SOURCE_DATE_EPOCH` environment variable no longer overrides the "
128
183
"value of the *invalidation_mode* argument, and determines its default value "
129
184
"instead."
130
185
msgstr ""
186
+ "La variable de entorno :envvar:`SOURCE_DATE_EPOCH` ya no sobreescribe el "
187
+ "valor del argumento *invalidation_mode*, y en vez de eso determina su valor "
188
+ "por defecto."
131
189
132
190
#: ../Doc/library/py_compile.rst:92
133
191
msgid "The *quiet* parameter was added."
134
- msgstr ""
192
+ msgstr "El parámetro *quiet* fue agregado. "
135
193
136
194
#: ../Doc/library/py_compile.rst:98
137
195
msgid ""
@@ -141,33 +199,51 @@ msgid ""
141
199
"invalidation` for more information on how Python invalidates ``.pyc`` files "
142
200
"at runtime."
143
201
msgstr ""
202
+ "Una enumeración de métodos posibles que el intérprete puede usar para "
203
+ "determinar si un archivo de bytes está actualizado con un archivo fuente. El "
204
+ "archivo ``.pyc`` indica el modo invalidación deseado en su encabezado. Ver :"
205
+ "ref:`pyc-invalidation` para más información en cómo Python invalida archivos "
206
+ "`.pyc` en tiempo de ejecución."
144
207
145
208
#: ../Doc/library/py_compile.rst:108
146
209
msgid ""
147
210
"The ``.pyc`` file includes the timestamp and size of the source file, which "
148
211
"Python will compare against the metadata of the source file at runtime to "
149
212
"determine if the ``.pyc`` file needs to be regenerated."
150
213
msgstr ""
214
+ "El archivo ``.pyc`` incluye una marca de tiempo y tamaño del archivo fuente, "
215
+ "el cual Python comparará contra los metadatos del archivo fuente durante el "
216
+ "tiempo de ejecución para determinar si el archivo ``.pyc`` necesita ser "
217
+ "regenerado."
151
218
152
219
#: ../Doc/library/py_compile.rst:114
153
220
msgid ""
154
221
"The ``.pyc`` file includes a hash of the source file content, which Python "
155
222
"will compare against the source at runtime to determine if the ``.pyc`` file "
156
223
"needs to be regenerated."
157
224
msgstr ""
225
+ "El archivo ``.pyc`` incluye un hash del contenido del archivo fuente, el "
226
+ "cual Python comparará contra la fuente durante el tiempo de ejecución para "
227
+ "determinar si el archivo ``.pyc`` necesita ser regenerado."
158
228
159
229
#: ../Doc/library/py_compile.rst:120
160
230
msgid ""
161
231
"Like :attr:`CHECKED_HASH`, the ``.pyc`` file includes a hash of the source "
162
232
"file content. However, Python will at runtime assume the ``.pyc`` file is up "
163
233
"to date and not validate the ``.pyc`` against the source file at all."
164
234
msgstr ""
235
+ "Como :attr:`CHECKED_HASH`, el archivo ``.pyc`` incluye un has del contenido "
236
+ "del archivo fuente. Sin embargo, Python asumirá durante el tiempo de "
237
+ "ejecución que el archivo ``.pyc`` está actualizado y no validará el ``.pyc`` "
238
+ "contra el archivo fuente en lo absoluto."
165
239
166
240
#: ../Doc/library/py_compile.rst:124
167
241
msgid ""
168
242
"This option is useful when the ``.pycs`` are kept up to date by some system "
169
243
"external to Python like a build system."
170
244
msgstr ""
245
+ "Esta opción es útil cuando los ``.pucs`` se mantienen actualizados al día "
246
+ "por algún sistema externo a Python como un sistema de compilación."
171
247
172
248
#: ../Doc/library/py_compile.rst:130
173
249
msgid ""
@@ -178,22 +254,33 @@ msgid ""
178
254
"If ``'-'`` is the only parameter in args, the list of files is taken from "
179
255
"standard input."
180
256
msgstr ""
257
+ "Compila varios archivos fuente. Los archivos mencionados en *args* (o en la "
258
+ "línea de comandos si *args* es ``None``) son compilados y el código de bytes "
259
+ "resultante es almacenado de la manera normal. Esta función no busca una "
260
+ "estructura de directorio para localizar archivos fuente; éste sólo compila "
261
+ "archivos nombrados explícitamente. Si ``'-'`` es el único parámetro en args, "
262
+ "la lista de archivos es tomada de una entrada estándar."
181
263
182
264
#: ../Doc/library/py_compile.rst:137
183
265
msgid "Added support for ``'-'``."
184
- msgstr ""
266
+ msgstr "Agregado soporte para ``'-'``. "
185
267
186
268
#: ../Doc/library/py_compile.rst:140
187
269
msgid ""
188
270
"When this module is run as a script, the :func:`main` is used to compile all "
189
271
"the files named on the command line. The exit status is nonzero if one of "
190
272
"the files could not be compiled."
191
273
msgstr ""
274
+ "Cuando este módulo se ejecuta como un script, el :func:`main` es usado para "
275
+ "compilar todos los archivos llamados en la línea de comandos. El estado de "
276
+ "salida es no cero si uno de los archivos no se pudo compilar."
192
277
193
278
#: ../Doc/library/py_compile.rst:147
194
279
msgid "Module :mod:`compileall`"
195
- msgstr ""
280
+ msgstr "Módulo :mod:`compileall` "
196
281
197
282
#: ../Doc/library/py_compile.rst:148
198
283
msgid "Utilities to compile all Python source files in a directory tree."
199
284
msgstr ""
285
+ "Utilidades para compilar todos los archivos fuente Python en el árbol del "
286
+ "directorio."
0 commit comments