Skip to content

Commit b97bb30

Browse files
committed
bit, coroutine, debug
1 parent 72baf0c commit b97bb30

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

locale/es-419/meta.lua

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ bit32.arshift =
191191
[[
192192
Retorna el número `x` desplazado `disp` bits a la derecha. Los desplazamientos negativos lo hacen a la izquierda.
193193
194-
Esta operación de desplazamiento es lo que se llama desplazamiento aritmético. Los bits vacantes del lado izquierdo se llenan con copias del bit más alto de `x`; los bits vacantes del lado derecho se llenan con ceros.
194+
Esta operación de desplazamiento es lo que se llama desplazamiento aritmético. Los bits vacíos del lado izquierdo se llenan con copias del bit más alto de `x`; los bits vacíos del lado derecho se llenan con ceros.
195195
]]
196196
bit32.band =
197197
'Retorna la operación lógica *and* de sus operandos.'
@@ -218,18 +218,18 @@ bit32.lrotate =
218218
'Retorna el número `x` rotado `disp` bits a la izquierda. Las rotaciones negativas lo hacen a la derecha.'
219219
bit32.lshift =
220220
[[
221-
Returns the number `x` shifted `disp` bits to the left. Negative displacements shift to the right. In any direction, vacant bits are filled with zeros.
221+
Retorna el número `x` desplazado `disp` bits a la izquierda. Los desplazamientos negativos lo hacen a la derecha. En cualquier dirección, los bits vacíos se llenan con ceros.
222222
223223
```lua
224224
assert(bit32.lshift(b, disp) ==
225225
(b * 2^disp) % 2^32)
226226
```
227227
]]
228228
bit32.rrotate =
229-
'Returns the number `x` rotated `disp` bits to the right. Negative displacements rotate to the left.'
229+
'Retorna el número `x` rotado `disp` bits a la derecha. Las rotaciones negativas lo hacen a la izquierda.'
230230
bit32.rshift =
231231
[[
232-
Returns the number `x` shifted `disp` bits to the right. Negative displacements shift to the left. In any direction, vacant bits are filled with zeros.
232+
Retorna el número `x` desplazado `disp` bits a la derecha. Los desplazamientos negativos lo hacen a la izquierda. En cualquier dirección, los bits vacíos se llenan con ceros.
233233
234234
```lua
235235
assert(bit32.rshift(b, disp) ==
@@ -240,93 +240,93 @@ math.floor(b % 2^32 / 2^disp))
240240
coroutine =
241241
''
242242
coroutine.create =
243-
'Creates a new coroutine, with body `f`. `f` must be a function. Returns this new coroutine, an object with type `"thread"`.'
243+
'Crea una co-rutina nueva con cuerpo `f`. `f` debe ser una función. Retorna esta nueva co-rutina, un objeto con tipo `thread`.'
244244
coroutine.isyieldable =
245-
'Returns true when the running coroutine can yield.'
245+
'Retorna verdadero cuando la co-rutina en ejecución puede suspenderse cediendo el control.'
246246
coroutine.isyieldable['>5.4']=
247-
'Returns true when the coroutine `co` can yield. The default for `co` is the running coroutine.'
247+
'Retorna verdadero cuando la co-rutina `co` puede suspenderse cediendo el control. El valor por omisión para `co` es la co-rutina actualmente en ejecución.'
248248
coroutine.close =
249-
'Closes coroutine `co` , closing all its pending to-be-closed variables and putting the coroutine in a dead state.'
249+
'Cierra la co-rutina `co`, cerrando todas sus variables prontas a cerrarse, dejando la co-rutina en un estado muerto.'
250250
coroutine.resume =
251-
'Starts or continues the execution of coroutine `co`.'
251+
'Empieza o continua la ejecución de la co-rutina `co`.'
252252
coroutine.running =
253-
'Returns the running coroutine plus a boolean, true when the running coroutine is the main one.'
253+
'Retorna la co-rutina en ejecución con un booleano adicional, señalando si la co-rutina en ejecución es la principal.'
254254
coroutine.status =
255-
'Returns the status of coroutine `co`.'
255+
'Retorna el estado de la co-rutina `co`.'
256256
coroutine.wrap =
257-
'Creates a new coroutine, with body `f`; `f` must be a function. Returns a function that resumes the coroutine each time it is called.'
257+
'Crea una co-rutina nueva con cuerpo `f`; `f` debe ser una función. Retorna una función que resume la co-rutina cada vez que se le llama.'
258258
coroutine.yield =
259-
'Suspends the execution of the calling coroutine.'
259+
'Suspende la ejecución de la co-rutina que le llama, cediendo el control.'
260260

261261
costatus.running =
262-
'Is running.'
262+
'Está corriendo.'
263263
costatus.suspended =
264-
'Is suspended or not started.'
264+
'Está suspendida o no ha empezado.'
265265
costatus.normal =
266-
'Is active but not running.'
266+
'Está activa, pero no en ejecución.'
267267
costatus.dead =
268-
'Has finished or stopped with an error.'
268+
'Ha terminado o se detuvo con un error.'
269269

270270
debug =
271271
''
272272
debug.debug =
273-
'Enters an interactive mode with the user, running each string that the user enters.'
273+
'Entra a un modo interactivo con el usuario, ejecutando cada string que el usuario ingrese.'
274274
debug.getfenv =
275-
'Returns the environment of object `o` .'
275+
'Retorna el ambiente del objeto `o` .'
276276
debug.gethook =
277-
'Returns the current hook settings of the thread.'
277+
'Retorna las configuraciones `hook` de la hebra.'
278278
debug.getinfo =
279-
'Returns a table with information about a function.'
279+
'Retorna una tabla con información acerca de una función.'
280280
debug.getlocal['<5.1'] =
281-
'Returns the name and the value of the local variable with index `local` of the function at level `level` of the stack.'
281+
'Retorna el nombre y el valor de la variable local con índice `local` de la función en el nivel `level` de la pila.'
282282
debug.getlocal['>5.2'] =
283-
'Returns the name and the value of the local variable with index `local` of the function at level `f` of the stack.'
283+
'Retorna el nombre y el valor de la variable local con índice `local` de la función en el nivel `f` de la pila.'
284284
debug.getmetatable =
285-
'Returns the metatable of the given value.'
285+
'Retorna la metatabla del valor provisto.'
286286
debug.getregistry =
287-
'Returns the registry table.'
287+
'Retorna la tabla de registro.'
288288
debug.getupvalue =
289-
'Returns the name and the value of the upvalue with index `up` of the function.'
289+
'Retorna el nombre y el valor de la variable anterior con índice `up` de la función.'
290290
debug.getuservalue['<5.3'] =
291-
'Returns the Lua value associated to u.'
291+
'Retorna el valor de Lua asociado a u.'
292292
debug.getuservalue['>5.4'] =
293293
[[
294-
Returns the `n`-th user value associated
295-
to the userdata `u` plus a boolean,
296-
`false` if the userdata does not have that value.
294+
Retorna el `n`-ésimo valor asociado
295+
a la data de usuario `u` con un booleano adicional,
296+
`false` si la data de usuario no tiene ese valor.
297297
]]
298298
debug.setcstacklimit =
299299
[[
300-
### **Deprecated in `Lua 5.4.2`**
300+
### **Obsoleto desde `Lua 5.4.2`**
301301
302-
Sets a new limit for the C stack. This limit controls how deeply nested calls can go in Lua, with the intent of avoiding a stack overflow.
302+
Asigna un límite nuevo para la pila C. Este límite controla qué tan profundo pueden llegar las llamadas anidadas en Lua con la intención de evitar un desbordamiento de la pila (stack overflow).
303303
304-
In case of success, this function returns the old limit. In case of error, it returns `false`.
304+
En caso de éxito, esta función retorna el límite anterior. En caso de error, retorna `false`.
305305
]]
306306
debug.setfenv =
307-
'Sets the environment of the given `object` to the given `table` .'
307+
'Asigna el ambiente del objeto `object` provisto a la tabla `table` provista.'
308308
debug.sethook =
309-
'Sets the given function as a hook.'
309+
'Asigna la función provista como un `hook`.'
310310
debug.setlocal =
311-
'Assigns the `value` to the local variable with index `local` of the function at `level` of the stack.'
311+
'Asigna el valor `value` a la variable local con índice `local` de la función en el nivel `level` de la pila.'
312312
debug.setmetatable =
313-
'Sets the metatable for the given value to the given table (which can be `nil`).'
313+
'Asigna la metatabla del valor provisto a la tabla provista (la cual puede ser `nil`).'
314314
debug.setupvalue =
315-
'Assigns the `value` to the upvalue with index `up` of the function.'
315+
'Asigna el valor `value` al valor anterior con índice `up` de la función.'
316316
debug.setuservalue['<5.3'] =
317-
'Sets the given value as the Lua value associated to the given udata.'
317+
'Asigna el valor provisto como el valor de Lua asociado a la provista data de usuario `udata`.'
318318
debug.setuservalue['>5.4'] =
319319
[[
320-
Sets the given `value` as
321-
the `n`-th user value associated to the given `udata`.
322-
`udata` must be a full userdata.
320+
Asigna el valor `value` como
321+
el `n`-ésimo valor asociado a la data de usuario `udata` provista.
322+
`udata` debe ser data de usuario completa.
323323
]]
324324
debug.traceback =
325-
'Returns a string with a traceback of the call stack. The optional message string is appended at the beginning of the traceback.'
325+
'Retorna un string con la traza de la pila de llamadas. El string de mensaje opcional está anexado al principio de la traza.'
326326
debug.upvalueid =
327-
'Returns a unique identifier (as a light userdata) for the upvalue numbered `n` from the given function.'
327+
'Retorna un identificador único (como data de usuario ligera) para el valor anterior número `n` de la función provista.'
328328
debug.upvaluejoin =
329-
'Make the `n1`-th upvalue of the Lua closure `f1` refer to the `n2`-th upvalue of the Lua closure `f2`.'
329+
'Hace que el `n1`-ésimo valor anterior de la clausura de Lua `f1` se refiera a el `n2`-ésimo valor anterior de la clausura de Lua `f2`.'
330330

331331
infowhat.n =
332332
'`name` and `namewhat`'

0 commit comments

Comments
 (0)