6
6
# Check https://github.com/PyCampES/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-05-16 23:16+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 : Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n "
22
+ "Language : es\n "
23
+ "X-Generator : Poedit 2.3\n "
22
24
23
25
#: ../Doc/c-api/capsule.rst:6
24
26
msgid "Capsules"
25
- msgstr ""
27
+ msgstr "Cápsulas "
26
28
27
29
#: ../Doc/c-api/capsule.rst:10
28
30
msgid ""
29
31
"Refer to :ref:`using-capsules` for more information on using these objects."
30
32
msgstr ""
33
+ "Consulta :ref:`using-capsules` para obtener más información sobre el uso de "
34
+ "estos objetos."
31
35
32
36
#: ../Doc/c-api/capsule.rst:17
33
37
msgid ""
@@ -38,56 +42,79 @@ msgid ""
38
42
"regular import mechanism can be used to access C APIs defined in dynamically "
39
43
"loaded modules."
40
44
msgstr ""
45
+ "Este subtipo de :c:type:`PyObject` representa un valor opaco, útil para los "
46
+ "módulos de extensión C que necesitan pasar un valor opaco (como un puntero :"
47
+ "c:type:`void\\ *`) a través del código Python a otro código C . A menudo se "
48
+ "usa para hacer que un puntero de función C definido en un módulo esté "
49
+ "disponible para otros módulos, por lo que el mecanismo de importación "
50
+ "regular se puede usar para acceder a las API C definidas en módulos cargados "
51
+ "dinámicamente."
41
52
42
53
#: ../Doc/c-api/capsule.rst:27
43
54
msgid "The type of a destructor callback for a capsule. Defined as::"
44
55
msgstr ""
56
+ "El tipo de devolución de llamada de un destructor para una cápsula. Definido "
57
+ "como::"
45
58
46
59
#: ../Doc/c-api/capsule.rst:31
47
60
msgid ""
48
61
"See :c:func:`PyCapsule_New` for the semantics of PyCapsule_Destructor "
49
62
"callbacks."
50
63
msgstr ""
64
+ "Consulte :c:func:`PyCapsule_New` para conocer la semántica de las "
65
+ "devoluciones de llamada de `PyCapsule_Destructor`."
51
66
52
67
#: ../Doc/c-api/capsule.rst:37
53
68
msgid "Return true if its argument is a :c:type:`PyCapsule`."
54
- msgstr ""
69
+ msgstr "Retorna verdadero si su argumento es a :c:type:`PyCapsule`. "
55
70
56
71
#: ../Doc/c-api/capsule.rst:42
57
72
msgid ""
58
73
"Create a :c:type:`PyCapsule` encapsulating the *pointer*. The *pointer* "
59
74
"argument may not be ``NULL``."
60
75
msgstr ""
76
+ "Crea un :c:type:`PyCapsule` encapsulando el *pointer*. El argumento "
77
+ "*pointer* puede no ser ``NULL``."
61
78
62
79
#: ../Doc/c-api/capsule.rst:45
63
80
msgid "On failure, set an exception and return ``NULL``."
64
- msgstr ""
81
+ msgstr "En caso de falla, establece una excepción y retorna ``NULL``. "
65
82
66
83
#: ../Doc/c-api/capsule.rst:47
67
84
msgid ""
68
85
"The *name* string may either be ``NULL`` or a pointer to a valid C string. "
69
86
"If non-``NULL``, this string must outlive the capsule. (Though it is "
70
87
"permitted to free it inside the *destructor*.)"
71
88
msgstr ""
89
+ "La cadena de caracteres *name* puede ser ``NULL`` o un puntero a una cadena "
90
+ "C válida. Si no es ``NULL``, esta cadena de caracteres debe sobrevivir a la "
91
+ "cápsula. (Aunque está permitido liberarlo dentro del *destructor*)."
72
92
73
93
#: ../Doc/c-api/capsule.rst:51
74
94
msgid ""
75
95
"If the *destructor* argument is not ``NULL``, it will be called with the "
76
96
"capsule as its argument when it is destroyed."
77
97
msgstr ""
98
+ "Si el argumento *destructor* no es ``NULL``, se llamará con la cápsula como "
99
+ "argumento cuando se destruya."
78
100
79
101
#: ../Doc/c-api/capsule.rst:54
80
102
msgid ""
81
103
"If this capsule will be stored as an attribute of a module, the *name* "
82
104
"should be specified as ``modulename.attributename``. This will enable other "
83
105
"modules to import the capsule using :c:func:`PyCapsule_Import`."
84
106
msgstr ""
107
+ "Si esta cápsula se almacenará como un atributo de un módulo, el nombre "
108
+ "*name* debe especificarse como ``modulename.attributename``. Esto permitirá "
109
+ "que otros módulos importen la cápsula usando :c:func:`PyCapsule_Import`."
85
110
86
111
#: ../Doc/c-api/capsule.rst:61
87
112
msgid ""
88
113
"Retrieve the *pointer* stored in the capsule. On failure, set an exception "
89
114
"and return ``NULL``."
90
115
msgstr ""
116
+ "Recupera el *pointer* almacenado en la cápsula. En caso de falla, establece "
117
+ "una excepción y retorna ``NULL``."
91
118
92
119
#: ../Doc/c-api/capsule.rst:64
93
120
msgid ""
@@ -96,45 +123,64 @@ msgid ""
96
123
"also be ``NULL``. Python uses the C function :c:func:`strcmp` to compare "
97
124
"capsule names."
98
125
msgstr ""
126
+ "El parámetro *name* debe compararse exactamente con el nombre almacenado en "
127
+ "la cápsula. Si el nombre almacenado en la cápsula es ``NULL``, el *name* "
128
+ "pasado también debe ser ``NULL``. Python usa la función C :c:func:`strcmp` "
129
+ "para comparar nombres de cápsulas."
99
130
100
131
#: ../Doc/c-api/capsule.rst:72
101
132
msgid ""
102
133
"Return the current destructor stored in the capsule. On failure, set an "
103
134
"exception and return ``NULL``."
104
135
msgstr ""
136
+ "Retorna el destructor actual almacenado en la cápsula. En caso de falla, "
137
+ "establece una excepción y retorna ``NULL``."
105
138
106
139
#: ../Doc/c-api/capsule.rst:75
107
140
msgid ""
108
141
"It is legal for a capsule to have a ``NULL`` destructor. This makes a "
109
142
"``NULL`` return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :"
110
143
"c:func:`PyErr_Occurred` to disambiguate."
111
144
msgstr ""
145
+ "Es legal que una cápsula tenga un destructor ``NULL``. Esto hace que un "
146
+ "código de retorno ``NULL`` sea algo ambiguo; use :c:func:`PyCapsule_IsValid` "
147
+ "o :c:func:`PyErr_Occurred` para desambiguar."
112
148
113
149
#: ../Doc/c-api/capsule.rst:82
114
150
msgid ""
115
151
"Return the current context stored in the capsule. On failure, set an "
116
152
"exception and return ``NULL``."
117
153
msgstr ""
154
+ "Retorna el contexto actual almacenado en la cápsula. En caso de falla, "
155
+ "establece una excepción y retorna ``NULL``."
118
156
119
157
#: ../Doc/c-api/capsule.rst:85
120
158
msgid ""
121
159
"It is legal for a capsule to have a ``NULL`` context. This makes a ``NULL`` "
122
160
"return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :c:func:"
123
161
"`PyErr_Occurred` to disambiguate."
124
162
msgstr ""
163
+ "Es legal que una cápsula tenga un contexto ``NULL``. Esto hace que un código "
164
+ "de retorno ``NULL`` sea algo ambiguo; use :c:func:`PyCapsule_IsValid` o :c:"
165
+ "func:`PyErr_Occurred` para desambiguar."
125
166
126
167
#: ../Doc/c-api/capsule.rst:92
127
168
msgid ""
128
169
"Return the current name stored in the capsule. On failure, set an exception "
129
170
"and return ``NULL``."
130
171
msgstr ""
172
+ "Retorna el nombre actual almacenado en la cápsula. En caso de falla, "
173
+ "establece una excepción y retorna ``NULL``."
131
174
132
175
#: ../Doc/c-api/capsule.rst:95
133
176
msgid ""
134
177
"It is legal for a capsule to have a ``NULL`` name. This makes a ``NULL`` "
135
178
"return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :c:func:"
136
179
"`PyErr_Occurred` to disambiguate."
137
180
msgstr ""
181
+ "Es legal que una cápsula tenga un nombre ``NULL``. Esto hace que un código "
182
+ "de retorno ``NULL`` sea algo ambiguo; use :c:func:`PyCapsule_IsValid` o :c:"
183
+ "func:`PyErr_Occurred` para desambiguar."
138
184
139
185
#: ../Doc/c-api/capsule.rst:102
140
186
msgid ""
@@ -145,12 +191,21 @@ msgid ""
145
191
"(using :c:func:`PyImport_ImportModuleNoBlock`). If *no_block* is false, "
146
192
"import the module conventionally (using :c:func:`PyImport_ImportModule`)."
147
193
msgstr ""
194
+ "Importa un puntero a un objeto C desde un atributo cápsula en un módulo. El "
195
+ "parámetro *name* debe especificar el nombre completo del atributo, como en "
196
+ "``module.attribute``. El nombre *name* almacenado en la cápsula debe "
197
+ "coincidir exactamente con esta cadena de caracteres. Si *no_block* es "
198
+ "verdadero, importa el módulo sin bloquear (usando :c:func:"
199
+ "`PyImport_ImportModuleNoBlock`). Si *no_block* es falso, importa el módulo "
200
+ "convencionalmente (usando :c:func:`PyImport_ImportModule`)."
148
201
149
202
#: ../Doc/c-api/capsule.rst:109
150
203
msgid ""
151
204
"Return the capsule's internal *pointer* on success. On failure, set an "
152
205
"exception and return ``NULL``."
153
206
msgstr ""
207
+ "Retorna el puntero *pointer* interno de la cápsula en caso de éxito. En caso "
208
+ "de falla, establece una excepción y retorna ``NULL``."
154
209
155
210
#: ../Doc/c-api/capsule.rst:115
156
211
msgid ""
@@ -160,43 +215,60 @@ msgid ""
160
215
"(See :c:func:`PyCapsule_GetPointer` for information on how capsule names are "
161
216
"compared.)"
162
217
msgstr ""
218
+ "Determina si *capsule* es o no una cápsula válida. Una cápsula válida no es "
219
+ "``NULL``, pasa :c:func:`PyCapsule_CheckExact`, tiene un puntero no ``NULL`` "
220
+ "almacenado y su nombre interno coincide con el parámetro *name*. (Consulte :"
221
+ "c:func:`PyCapsule_GetPointer` para obtener información sobre cómo se "
222
+ "comparan los nombres de las cápsulas)."
163
223
164
224
#: ../Doc/c-api/capsule.rst:121
165
225
msgid ""
166
226
"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls "
167
227
"to any of the accessors (any function starting with :c:func:`PyCapsule_Get`) "
168
228
"are guaranteed to succeed."
169
229
msgstr ""
230
+ "En otras palabras, si :c:func:`PyCapsule_IsValid` retorna un valor "
231
+ "verdadero, las llamadas a cualquiera de las funciones de acceso (cualquier "
232
+ "función que comience con :c:func:`PyCapsule_Get`) tienen éxito."
170
233
171
234
#: ../Doc/c-api/capsule.rst:125
172
235
msgid ""
173
236
"Return a nonzero value if the object is valid and matches the name passed "
174
237
"in. Return ``0`` otherwise. This function will not fail."
175
238
msgstr ""
239
+ "Retorna un valor distinto de cero si el objeto es válido y coincide con el "
240
+ "nombre pasado. Retorna ``0`` de lo contrario. Esta función no fallará."
176
241
177
242
#: ../Doc/c-api/capsule.rst:131
178
243
msgid "Set the context pointer inside *capsule* to *context*."
179
- msgstr ""
244
+ msgstr "Establece el puntero de contexto dentro de *capsule* a *context*. "
180
245
181
246
#: ../Doc/c-api/capsule.rst:133 ../Doc/c-api/capsule.rst:140
182
247
#: ../Doc/c-api/capsule.rst:149 ../Doc/c-api/capsule.rst:157
183
248
msgid ""
184
249
"Return ``0`` on success. Return nonzero and set an exception on failure."
185
250
msgstr ""
251
+ "Retorna ``0`` en caso de éxito. Retorna distinto de cero y establece una "
252
+ "excepción en caso de error."
186
253
187
254
#: ../Doc/c-api/capsule.rst:138
188
255
msgid "Set the destructor inside *capsule* to *destructor*."
189
- msgstr ""
256
+ msgstr "Establece el destructor dentro de *capsule* en *destructor*. "
190
257
191
258
#: ../Doc/c-api/capsule.rst:145
192
259
msgid ""
193
260
"Set the name inside *capsule* to *name*. If non-``NULL``, the name must "
194
261
"outlive the capsule. If the previous *name* stored in the capsule was not "
195
262
"``NULL``, no attempt is made to free it."
196
263
msgstr ""
264
+ "Establece el nombre dentro de *capsule* a *name*. Si no es ``NULL``, el "
265
+ "nombre debe sobrevivir a la cápsula. Si el *name* anterior almacenado en la "
266
+ "cápsula no era ``NULL``, no se intenta liberarlo."
197
267
198
268
#: ../Doc/c-api/capsule.rst:154
199
269
msgid ""
200
270
"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
201
271
"``NULL``."
202
272
msgstr ""
273
+ "Establece el puntero vacío dentro de *capsule* a *pointer*. El puntero puede "
274
+ "no ser ``NULL``."
0 commit comments