Skip to content

Commit c8f6871

Browse files
authored
Translate c-api/tuple.po 🤖 (#3409)
Fixed missing msgstr entries for c-api/tuple.po: - Tuple object type descriptions - PyTypeObject instance descriptions - Tuple type checking functions Updated Last-Translator field and Po-Revision-Date. Closes #3256
1 parent 51d0fe7 commit c8f6871

File tree

1 file changed

+69
-67
lines changed

1 file changed

+69
-67
lines changed

c-api/tuple.po

Lines changed: 69 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2024-11-21 16:38-0300\n"
14-
"PO-Revision-Date: 2022-10-29 23:58-0400\n"
15-
"Last-Translator: Rodrigo Tobar <[email protected]>\n"
14+
"Last-Translator: Erick G. Islas-Osuna <[email protected]>\n"
1615
"Language: es\n"
1716
"Language-Team: python-doc-es\n"
1817
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -55,43 +54,42 @@ msgstr ""
5554
"subtipo del tipo tupla. Esta función siempre finaliza con éxito."
5655

5756
#: ../Doc/c-api/tuple.rst:36
58-
#, fuzzy
5957
msgid ""
6058
"Return a new tuple object of size *len*, or ``NULL`` with an exception set "
6159
"on failure."
6260
msgstr ""
63-
"Retorna un nuevo objeto tupla de tamaño *len* o ``NULL`` en caso de falla."
61+
"Retorna un nuevo objeto tupla de tamaño *len*, o ``NULL`` con una excepción establecida "
62+
"en caso de falla."
6463

6564
#: ../Doc/c-api/tuple.rst:42
66-
#, fuzzy
6765
msgid ""
6866
"Return a new tuple object of size *n*, or ``NULL`` with an exception set on "
6967
"failure. The tuple values are initialized to the subsequent *n* C arguments "
7068
"pointing to Python objects. ``PyTuple_Pack(2, a, b)`` is equivalent to "
7169
"``Py_BuildValue(\"(OO)\", a, b)``."
7270
msgstr ""
73-
"Retorna un nuevo objeto tupla de tamaño *n*, o ``NULL`` en caso de falla. "
74-
"Los valores de tupla se inicializan en los argumentos C posteriores *n* que "
75-
"apuntan a objetos de Python. ``PyTuple_Pack (2, a, b)`` es equivalente a "
71+
"Retorna un nuevo objeto tupla de tamaño *n*, o ``NULL`` con una excepción establecida en "
72+
"caso de falla. Los valores de tupla se inicializan con los siguientes *n* argumentos C "
73+
"que apuntan a objetos de Python. ``PyTuple_Pack(2, a, b)`` es equivalente a "
7674
"``Py_BuildValue(\"(OO)\", a, b)``."
7775

7876
#: ../Doc/c-api/tuple.rst:50
79-
#, fuzzy
8077
msgid ""
8178
"Take a pointer to a tuple object, and return the size of that tuple. On "
8279
"error, return ``-1`` and with an exception set."
83-
msgstr "Toma un puntero a un objeto de tupla y retorna el tamaño de esa tupla."
80+
msgstr ""
81+
"Toma un puntero a un objeto tupla y retorna el tamaño de esa tupla. En caso "
82+
"de error, retorna ``-1`` con una excepción establecida."
8483

8584
#: ../Doc/c-api/tuple.rst:56
86-
#, fuzzy
8785
msgid "Like :c:func:`PyTuple_Size`, but without error checking."
88-
msgstr "Como :c:func:`PyTuple_GetItem`, pero no verifica sus argumentos."
86+
msgstr "Como :c:func:`PyTuple_Size`, pero sin verificación de errores."
8987

9088
#: ../Doc/c-api/tuple.rst:61
9189
msgid ""
9290
"Return the object at position *pos* in the tuple pointed to by *p*. If "
93-
"*pos* is negative or out of bounds, return ``NULL`` and set an :exc:"
94-
"`IndexError` exception."
91+
"*pos* is negative or out of bounds, return ``NULL`` and set "
92+
"an :exc:`IndexError` exception."
9593
msgstr ""
9694
"Retorna el objeto en la posición *pos* en la tupla señalada por *p*. Si "
9795
"*pos* es negativo o está fuera de los límites, retorna ``NULL`` y establece "
@@ -101,9 +99,13 @@ msgstr ""
10199
msgid ""
102100
"The returned reference is borrowed from the tuple *p* (that is: it is only "
103101
"valid as long as you hold a reference to *p*). To get a :term:`strong "
104-
"reference`, use :c:func:`Py_NewRef(PyTuple_GetItem(...)) <Py_NewRef>` or :c:"
105-
"func:`PySequence_GetItem`."
102+
"reference`, use :c:func:`Py_NewRef(PyTuple_GetItem(...)) <Py_NewRef>` "
103+
"or :c:func:`PySequence_GetItem`."
106104
msgstr ""
105+
"La referencia retornada es prestada de la tupla *p* (es decir: solo es "
106+
"válida mientras mantengas una referencia a *p*). Para obtener una :term:`referencia "
107+
"fuerte`, usa :c:func:`Py_NewRef(PyTuple_GetItem(...)) <Py_NewRef>` "
108+
"o :c:func:`PySequence_GetItem`."
107109

108110
#: ../Doc/c-api/tuple.rst:73
109111
msgid "Like :c:func:`PyTuple_GetItem`, but does no checking of its arguments."
@@ -114,16 +116,16 @@ msgid ""
114116
"Return the slice of the tuple pointed to by *p* between *low* and *high*, or "
115117
"``NULL`` with an exception set on failure."
116118
msgstr ""
119+
"Retorna la rebanada de la tupla apuntada por *p* entre *low* y *high*, o "
120+
"``NULL`` con una excepción establecida en caso de falla."
117121

118122
#: ../Doc/c-api/tuple.rst:81
119-
#, fuzzy
120123
msgid ""
121124
"This is the equivalent of the Python expression ``p[low:high]``. Indexing "
122125
"from the end of the tuple is not supported."
123126
msgstr ""
124-
"Retorna la porción de la tupla señalada por *p* entre *low* y *high*, o "
125-
"``NULL`` en caso de falla. Este es el equivalente de la expresión de Python "
126-
"``p[low:high]``. La indexación desde el final de la tupla no es compatible."
127+
"Esto es equivalente a la expresión de Python ``p[low:high]``. La indexación "
128+
"desde el final de la tupla no es compatible."
127129

128130
#: ../Doc/c-api/tuple.rst:87
129131
msgid ""
@@ -154,20 +156,25 @@ msgstr ""
154156
#: ../Doc/c-api/tuple.rst:102 ../Doc/c-api/tuple.rst:217
155157
#: ../Doc/c-api/tuple.rst:235
156158
msgid ""
157-
"Bounds checking is performed as an assertion if Python is built in :ref:"
158-
"`debug mode <debug-build>` or :option:`with assertions <--with-assertions>`."
159+
"Bounds checking is performed as an assertion if Python is built "
160+
"in :ref:`debug mode <debug-build>` or :option:`with assertions <--with-"
161+
"assertions>`."
159162
msgstr ""
163+
"La comprobación de límites se realiza como una aserción si Python se "
164+
"construye en :ref:`modo de depuración <debug-build>` o :option:`con "
165+
"aserciones <--with-assertions>`."
160166

161167
#: ../Doc/c-api/tuple.rst:107
162168
msgid ""
163-
"This function \"steals\" a reference to *o*, and, unlike :c:func:"
164-
"`PyTuple_SetItem`, does *not* discard a reference to any item that is being "
165-
"replaced; any reference in the tuple at position *pos* will be leaked."
169+
"This function \"steals\" a reference to *o*, and, "
170+
"unlike :c:func:`PyTuple_SetItem`, does *not* discard a reference to any item "
171+
"that is being replaced; any reference in the tuple at position *pos* will be "
172+
"leaked."
166173
msgstr ""
167-
"Esta función \"roba\" una referencia a *o* y, a diferencia de :c:func:"
168-
"`PyTuple_SetItem`, *no* descarta una referencia a ningún elemento que se "
169-
"está reemplazando; cualquier referencia en la tupla en la posición *pos* se "
170-
"filtrará."
174+
"Esta función \"roba\" una referencia a *o* y, a diferencia "
175+
"de :c:func:`PyTuple_SetItem`, *no* descarta una referencia a ningún elemento "
176+
"que se está reemplazando; cualquier referencia en la tupla en la posición "
177+
"*pos* se filtrará."
171178

172179
#: ../Doc/c-api/tuple.rst:115
173180
msgid ""
@@ -180,8 +187,8 @@ msgid ""
180187
"Client code should never assume that the resulting value of ``*p`` will be "
181188
"the same as before calling this function. If the object referenced by ``*p`` "
182189
"is replaced, the original ``*p`` is destroyed. On failure, returns ``-1`` "
183-
"and sets ``*p`` to ``NULL``, and raises :exc:`MemoryError` or :exc:"
184-
"`SystemError`."
190+
"and sets ``*p`` to ``NULL``, and raises :exc:`MemoryError` "
191+
"or :exc:`SystemError`."
185192
msgstr ""
186193
"Se puede usar para cambiar el tamaño de una tupla. *newsize* será el nuevo "
187194
"tamaño de la tupla. Debido a que se *supone* que las tuplas son inmutables, "
@@ -201,10 +208,10 @@ msgstr "Objetos de secuencia de estructura"
201208

202209
#: ../Doc/c-api/tuple.rst:132
203210
msgid ""
204-
"Struct sequence objects are the C equivalent of :func:`~collections."
205-
"namedtuple` objects, i.e. a sequence whose items can also be accessed "
206-
"through attributes. To create a struct sequence, you first have to create a "
207-
"specific struct sequence type."
211+
"Struct sequence objects are the C equivalent "
212+
"of :func:`~collections.namedtuple` objects, i.e. a sequence whose items can "
213+
"also be accessed through attributes. To create a struct sequence, you first "
214+
"have to create a specific struct sequence type."
208215
msgstr ""
209216
"Los objetos de secuencia de estructura son el equivalente en C de los "
210217
"objetos :func:`~collections.namedtuple`, es decir, una secuencia a cuyos "
@@ -215,30 +222,29 @@ msgstr ""
215222
#: ../Doc/c-api/tuple.rst:139
216223
msgid ""
217224
"Create a new struct sequence type from the data in *desc*, described below. "
218-
"Instances of the resulting type can be created with :c:func:"
219-
"`PyStructSequence_New`."
225+
"Instances of the resulting type can be created "
226+
"with :c:func:`PyStructSequence_New`."
220227
msgstr ""
221228
"Crea un nuevo tipo de secuencia de estructura a partir de los datos en "
222229
"*desc*, que se describen a continuación. Las instancias del tipo resultante "
223230
"se pueden crear con :c:func:`PyStructSequence_New`."
224231

225232
#: ../Doc/c-api/tuple.rst:142 ../Doc/c-api/tuple.rst:210
226233
msgid "Return ``NULL`` with an exception set on failure."
227-
msgstr ""
234+
msgstr "Retorna ``NULL`` con una excepción establecida en caso de falla."
228235

229236
#: ../Doc/c-api/tuple.rst:147
230237
msgid "Initializes a struct sequence type *type* from *desc* in place."
231238
msgstr ""
232239
"Inicializa una secuencia de estructura tipo *type* desde *desc* en su lugar."
233240

234241
#: ../Doc/c-api/tuple.rst:152
235-
#, fuzzy
236242
msgid ""
237243
"Like :c:func:`PyStructSequence_InitType`, but returns ``0`` on success and "
238244
"``-1`` with an exception set on failure."
239245
msgstr ""
240-
"Lo mismo que ``PyStructSequence_InitType``, pero retorna ``0`` en caso de "
241-
"éxito y ``-1`` en caso de error."
246+
"Como :c:func:`PyStructSequence_InitType`, pero retorna ``0`` en caso de "
247+
"éxito y ``-1`` con una excepción establecida en caso de falla."
242248

243249
#: ../Doc/c-api/tuple.rst:160
244250
msgid "Contains the meta information of a struct sequence type to create."
@@ -267,21 +273,22 @@ msgstr ""
267273
#: ../Doc/c-api/tuple.rst:181
268274
msgid ""
269275
"Describes a field of a struct sequence. As a struct sequence is modeled as a "
270-
"tuple, all fields are typed as :c:expr:`PyObject*`. The index in the :c:"
271-
"member:`~PyStructSequence_Desc.fields` array of the :c:type:"
272-
"`PyStructSequence_Desc` determines which field of the struct sequence is "
273-
"described."
276+
"tuple, all fields are typed as :c:expr:`PyObject*`. The index in "
277+
"the :c:member:`~PyStructSequence_Desc.fields` array of "
278+
"the :c:type:`PyStructSequence_Desc` determines which field of the struct "
279+
"sequence is described."
274280
msgstr ""
275281
"Describe un campo de una secuencia de estructura. Como una secuencia de "
276-
"estructura se modela como una tupla, todos los campos se escriben como :c:"
277-
"expr:`PyObject*`. El índice en el arreglo :c:member:`~PyStructSequence_Desc."
278-
"fields` de :c:type:`PyStructSequence_Desc` determina qué campo de la "
279-
"secuencia de estructura se describe."
282+
"estructura se modela como una tupla, todos los campos se escriben "
283+
"como :c:expr:`PyObject*`. El índice en el "
284+
"arreglo :c:member:`~PyStructSequence_Desc.fields` "
285+
"de :c:type:`PyStructSequence_Desc` determina qué campo de la secuencia de "
286+
"estructura se describe."
280287

281288
#: ../Doc/c-api/tuple.rst:189
282289
msgid ""
283-
"Name for the field or ``NULL`` to end the list of named fields, set to :c:"
284-
"data:`PyStructSequence_UnnamedField` to leave unnamed."
290+
"Name for the field or ``NULL`` to end the list of named fields, set "
291+
"to :c:data:`PyStructSequence_UnnamedField` to leave unnamed."
285292
msgstr ""
286293
"Nombre para el campo o ``NULL`` para finalizar la lista de campos con "
287294
"nombre, establece en :c:data:`PyStructSequence_UnnamedField` para dejar sin "
@@ -301,29 +308,26 @@ msgstr "El tipo se cambió de ``char *``."
301308

302309
#: ../Doc/c-api/tuple.rst:207
303310
msgid ""
304-
"Creates an instance of *type*, which must have been created with :c:func:"
305-
"`PyStructSequence_NewType`."
311+
"Creates an instance of *type*, which must have been created "
312+
"with :c:func:`PyStructSequence_NewType`."
306313
msgstr ""
307-
"Crea una instancia de *type*, que debe haberse creado con :c:func:"
308-
"`PyStructSequence_NewType`."
314+
"Crea una instancia de *type*, que debe haberse creado "
315+
"con :c:func:`PyStructSequence_NewType`."
309316

310317
#: ../Doc/c-api/tuple.rst:215
311-
#, fuzzy
312318
msgid ""
313319
"Return the object at position *pos* in the struct sequence pointed to by *p*."
314320
msgstr ""
315321
"Retorna el objeto en la posición *pos* en la secuencia de estructura "
316-
"apuntada por *p*. No se realiza la comprobación de límites."
322+
"apuntada por *p*."
317323

318324
#: ../Doc/c-api/tuple.rst:223
319-
#, fuzzy
320325
msgid "Alias to :c:func:`PyStructSequence_GetItem`."
321-
msgstr "Macro equivalente de :c:func:`PyStructSequence_GetItem`."
326+
msgstr "Alias de :c:func:`PyStructSequence_GetItem`."
322327

323328
#: ../Doc/c-api/tuple.rst:225
324-
#, fuzzy
325329
msgid "Now implemented as an alias to :c:func:`PyStructSequence_GetItem`."
326-
msgstr "Macro equivalente de :c:func:`PyStructSequence_GetItem`."
330+
msgstr "Ahora implementado como un alias de :c:func:`PyStructSequence_GetItem`."
327331

328332
#: ../Doc/c-api/tuple.rst:231
329333
msgid ""
@@ -340,19 +344,17 @@ msgid "This function \"steals\" a reference to *o*."
340344
msgstr "Esta función \"roba\" una referencia a *o*."
341345

342346
#: ../Doc/c-api/tuple.rst:245
343-
#, fuzzy
344347
msgid "Alias to :c:func:`PyStructSequence_SetItem`."
345-
msgstr "Macro equivalente de :c:func:`PyStructSequence_GetItem`."
348+
msgstr "Alias de :c:func:`PyStructSequence_SetItem`."
346349

347350
#: ../Doc/c-api/tuple.rst:247
348-
#, fuzzy
349351
msgid "Now implemented as an alias to :c:func:`PyStructSequence_SetItem`."
350-
msgstr "Macro equivalente de :c:func:`PyStructSequence_GetItem`."
352+
msgstr "Ahora implementado como un alias de :c:func:`PyStructSequence_SetItem`."
351353

352354
#: ../Doc/c-api/tuple.rst:8
353355
msgid "object"
354-
msgstr "object"
356+
msgstr "objeto"
355357

356358
#: ../Doc/c-api/tuple.rst:8
357359
msgid "tuple"
358-
msgstr "tuple"
360+
msgstr "tupla"

0 commit comments

Comments
 (0)