Skip to content

Commit e05d88e

Browse files
authored
Merge pull request #216 from cmaureir/traduccion-marshal
2 parents 7753fc0 + f18b630 commit e05d88e

File tree

2 files changed

+50
-5
lines changed

2 files changed

+50
-5
lines changed

c-api/marshal.po

Lines changed: 49 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,25 @@
66
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to
77
# get the list of volunteers
88
#
9-
#, fuzzy
109
msgid ""
1110
msgstr ""
1211
"Project-Id-Version: Python 3.8\n"
1312
"Report-Msgid-Bugs-To: \n"
1413
"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-05-10 15:52+0200\n"
1715
"Language-Team: python-doc-es\n"
1816
"MIME-Version: 1.0\n"
19-
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
2018
"Content-Transfer-Encoding: 8bit\n"
2119
"Generated-By: Babel 2.8.0\n"
20+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
21+
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
22+
"Language: es\n"
23+
"X-Generator: Poedit 2.3\n"
2224

2325
#: ../Doc/c-api/marshal.rst:6
2426
msgid "Data marshalling support"
25-
msgstr ""
27+
msgstr "Soporte de empaquetado (*marshalling*) de datos"
2628

2729
#: ../Doc/c-api/marshal.rst:8
2830
msgid ""
@@ -32,10 +34,16 @@ msgid ""
3234
"read the data back. Files used to store marshalled data must be opened in "
3335
"binary mode."
3436
msgstr ""
37+
"Estas rutinas permiten que el código C funcione con objetos serializados "
38+
"utilizando el mismo formato de datos que el módulo :mod:`marshal`. Hay "
39+
"funciones para escribir datos en el formato de serialización y funciones "
40+
"adicionales que se pueden usar para volver a leer los datos. Los archivos "
41+
"utilizados para almacenar datos ordenados deben abrirse en modo binario."
3542

3643
#: ../Doc/c-api/marshal.rst:14
3744
msgid "Numeric values are stored with the least significant byte first."
3845
msgstr ""
46+
"Los valores numéricos se almacenan con el byte menos significativo primero."
3947

4048
#: ../Doc/c-api/marshal.rst:16
4149
msgid ""
@@ -44,62 +52,89 @@ msgid ""
4452
"unmarshalling. Version 2 uses a binary format for floating point numbers. "
4553
"``Py_MARSHAL_VERSION`` indicates the current file format (currently 2)."
4654
msgstr ""
55+
"El módulo admite dos versiones del formato de datos: la versión 0 es la "
56+
"versión histórica, la versión 1 comparte cadenas de caracteres internas en "
57+
"el archivo y al desempaquetar (*unmarshalling*). La versión 2 usa un formato "
58+
"binario para números de punto flotante. ``Py_MARSHAL_VERSION`` indica el "
59+
"formato de archivo actual (actualmente 2)."
4760

4861
#: ../Doc/c-api/marshal.rst:24
4962
msgid ""
5063
"Marshal a :c:type:`long` integer, *value*, to *file*. This will only write "
5164
"the least-significant 32 bits of *value*; regardless of the size of the "
5265
"native :c:type:`long` type. *version* indicates the file format."
5366
msgstr ""
67+
"Empaqueta (*marshal*) un entero :c:type:`long`, *value*, a un archivo "
68+
"*file*. Esto solo escribirá los 32 bits menos significativos de *value*; "
69+
"independientemente del tamaño del tipo nativo :c:type:`long`. *version* "
70+
"indica el formato del archivo."
5471

5572
#: ../Doc/c-api/marshal.rst:31
5673
msgid ""
5774
"Marshal a Python object, *value*, to *file*. *version* indicates the file "
5875
"format."
5976
msgstr ""
77+
"Empaqueta (*marshal*) un objeto Python, *value*, a un archivo *file*. "
78+
"*version* indica el formato del archivo."
6079

6180
#: ../Doc/c-api/marshal.rst:37
6281
msgid ""
6382
"Return a bytes object containing the marshalled representation of *value*. "
6483
"*version* indicates the file format."
6584
msgstr ""
85+
"Retorna un objeto de bytes que contiene la representación empaquetada "
86+
"(*marshalled*) de *value*. *version* indica el formato del archivo."
6687

6788
#: ../Doc/c-api/marshal.rst:41
6889
msgid "The following functions allow marshalled values to be read back in."
6990
msgstr ""
91+
"Las siguientes funciones permiten volver a leer los valores empaquetados "
92+
"(*marshalled*)."
7093

7194
#: ../Doc/c-api/marshal.rst:46
7295
msgid ""
7396
"Return a C :c:type:`long` from the data stream in a :c:type:`FILE\\*` opened "
7497
"for reading. Only a 32-bit value can be read in using this function, "
7598
"regardless of the native size of :c:type:`long`."
7699
msgstr ""
100+
"Retorna un C :c:type:`long` del flujo de datos en un :c:type:`FILE\\*` "
101+
"abierto para lectura. Solo se puede leer un valor de 32 bits con esta "
102+
"función, independientemente del tamaño nativo de :c:type:`long`."
77103

78104
#: ../Doc/c-api/marshal.rst:50 ../Doc/c-api/marshal.rst:60
79105
msgid ""
80106
"On error, sets the appropriate exception (:exc:`EOFError`) and returns "
81107
"``-1``."
82108
msgstr ""
109+
"En caso de error, establece la excepción apropiada (:exc:`EOFError`) y "
110+
"retorna ``-1``."
83111

84112
#: ../Doc/c-api/marshal.rst:56
85113
msgid ""
86114
"Return a C :c:type:`short` from the data stream in a :c:type:`FILE\\*` "
87115
"opened for reading. Only a 16-bit value can be read in using this function, "
88116
"regardless of the native size of :c:type:`short`."
89117
msgstr ""
118+
"Retorna un C :c:type:`short` desde el flujo de datos en un :c:type:`FILE\\*` "
119+
"abierto para lectura. Solo se puede leer un valor de 16 bits con esta "
120+
"función, independientemente del tamaño nativo de :c:type:`short`."
90121

91122
#: ../Doc/c-api/marshal.rst:66
92123
msgid ""
93124
"Return a Python object from the data stream in a :c:type:`FILE\\*` opened "
94125
"for reading."
95126
msgstr ""
127+
"Retorna un objeto Python del flujo de datos en un :c:type:`FILE\\*` abierto "
128+
"para lectura."
96129

97130
#: ../Doc/c-api/marshal.rst:69 ../Doc/c-api/marshal.rst:83
98131
#: ../Doc/c-api/marshal.rst:92
99132
msgid ""
100133
"On error, sets the appropriate exception (:exc:`EOFError`, :exc:`ValueError` "
101134
"or :exc:`TypeError`) and returns ``NULL``."
102135
msgstr ""
136+
"En caso de error, establece la excepción apropiada (:exc:`EOFError`, :exc:"
137+
"`ValueError` o :exc:`TypeError`) y retorna ``NULL``."
103138

104139
#: ../Doc/c-api/marshal.rst:75
105140
msgid ""
@@ -111,9 +146,18 @@ msgid ""
111146
"file. Only use these variant if you are certain that you won't be reading "
112147
"anything else from the file."
113148
msgstr ""
149+
"Retorna un objeto Python del flujo de datos en un :c:type:`FILE\\*` abierto "
150+
"para lectura. A diferencia de :c:func:`PyMarshal_ReadObjectFromFile`, esta "
151+
"función asume que no se leerán más objetos del archivo, lo que le permite "
152+
"cargar agresivamente los datos del archivo en la memoria para que la "
153+
"deserialización pueda operar desde los datos en la memoria en lugar de leer "
154+
"un byte a la vez desde el archivo. Solo use esta variante si está seguro de "
155+
"que no leerá nada más del archivo."
114156

115157
#: ../Doc/c-api/marshal.rst:89
116158
msgid ""
117159
"Return a Python object from the data stream in a byte buffer containing "
118160
"*len* bytes pointed to by *data*."
119161
msgstr ""
162+
"Retorna un objeto Python del flujo de datos en un búfer de bytes que "
163+
"contiene *len* bytes a los que apunta *data*."

dict

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ self
241241
semánticamente
242242
serializa
243243
serialización
244+
serializados
244245
serializar
245246
shell
246247
sincronización

0 commit comments

Comments
 (0)