Skip to content

Commit f329350

Browse files
committed
some more settings.lua
1 parent 1e19dc4 commit f329350

File tree

1 file changed

+88
-44
lines changed

1 file changed

+88
-44
lines changed

locale/es-419/setting.lua

Lines changed: 88 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -257,189 +257,233 @@ config.hint.arrayIndex.Auto =
257257
config.hint.arrayIndex.Disable =
258258
'Deshabilita las pistas en de los índices de arreglos.'
259259
config.hint.await =
260-
'If the called function is marked `---@async`, prompt `await` at the call.'
260+
'Si la función que se llama está marcada con `---@async`, pregunta por un `await` en la llamada.'
261261
config.hint.semicolon = -- TODO: needs localisation
262-
'If there is no semicolon at the end of the statement, display a virtual semicolon.'
262+
'Si no hay punto y coma al final de la sentencia, despliega un punto y coma virtual.'
263263
config.hint.semicolon.All = -- TODO: needs localisation
264-
'All statements display virtual semicolons.'
264+
'Todas las sentencias con un punto y coma virtual desplegado.'
265265
config.hint.semicolon.SameLine = -- TODO: needs localisation
266-
'When two statements are on the same line, display a semicolon between them.'
266+
'Cuando dos sentencias están en la misma línea, despliega un punto y coma entre ellas.'
267267
config.hint.semicolon.Disable = -- TODO: needs localisation
268-
'Disable virtual semicolons.'
268+
'Deshabilita punto y coma virtuales.'
269269
config.codeLens.enable = -- TODO: needs localisation
270-
'Enable code lens.'
270+
'Habilita el lente para código.'
271271
config.format.enable = -- TODO: needs localisation
272-
'Enable code formatter.'
272+
'Habilita el formateador de código.'
273273
config.format.defaultConfig = -- TODO: needs localisation
274274
[[
275-
The default format configuration. Has a lower priority than `.editorconfig` file in the workspace.
276-
Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.
275+
La configuración de formateo predeterminada. Tiene menor prioridad que el archivo `.editorconfig`
276+
en el espacio de trabajo.
277+
Revise [la documentación del formateador](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs)
278+
para aprender más sobre su uso.
277279
]]
278280
config.spell.dict = -- TODO: needs localisation
279-
'Custom words for spell checking.'
281+
'Palabras extra para el corrector ortográfico.'
280282
config.nameStyle.config = -- TODO: needs localisation
281-
'Set name style config'
283+
'Configuración de estilo para nombres.'
282284
config.telemetry.enable = -- TODO: needs localisation
283285
[[
284-
Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://luals.github.io/privacy/#language-server).
286+
Habilita la telemetría para enviar información del editor y registros de errores por la red. Lea nuestra política de privacidad [aquí (en inglés)](https://luals.github.io/privacy#language-server).
285287
]]
286288
config.misc.parameters = -- TODO: needs localisation
287-
'[Command line parameters](https://github.com/LuaLS/lua-telemetry-server/tree/master/method) when starting the language server in VSCode.'
289+
'[Parámetros de la línea de comando](https://github.com/LuaLS/lua-telemetry-server/tree/master/method) para iniciar el servidor de lenguage en VSCode.'
288290
config.misc.executablePath = -- TODO: needs localisation
289-
'Specify the executable path in VSCode.'
291+
'Especifica la ruta del ejecutable en VSCode.'
290292
config.language.fixIndent = -- TODO: needs localisation
291-
'(VSCode only) Fix incorrect auto-indentation, such as incorrect indentation when line breaks occur within a string containing the word "function."'
293+
'(Solo en VSCode) Arregla la auto-indentación incorrecta, como aquella cuando los quiebres de línea ocurren dentro de un string que contengan la palabra "function".'
292294
config.language.completeAnnotation = -- TODO: needs localisation
293-
'(VSCode only) Automatically insert "---@ " after a line break following a annotation.'
295+
'(Solo en VSCode) Inserta automáticamente un "---@ " después de un quiebre de línea que sucede a una anotación.'
294296
config.type.castNumberToInteger = -- TODO: needs localisation
295-
'Allowed to assign the `number` type to the `integer` type.'
297+
'Se permite asignar el tipo "número" al tipo "entero".'
296298
config.type.weakUnionCheck = -- TODO: needs localisation
297299
[[
298-
Once one subtype of a union type meets the condition, the union type also meets the condition.
300+
Una vez que un sub-tipo de un tipo de unión satisface la condición, el tipo de unión también satisface la condición.
299301
300-
When this setting is `false`, the `number|boolean` type cannot be assigned to the `number` type. It can be with `true`.
302+
Cuando esta configuración es `false`, el tipo `number|boolean` no puede ser asignado al tipo `number`. Solo se puede con `true`.
301303
]]
302304
config.type.weakNilCheck = -- TODO: needs localisation
303305
[[
304-
When checking the type of union type, ignore the `nil` in it.
306+
Cuando se revisa el tipo de un tipo de unión, los `nil` dentro son ignorados.
305307
306-
When this setting is `false`, the `number|nil` type cannot be assigned to the `number` type. It can be with `true`.
308+
Cuando esta configuración es `false`, el tipo `number|nil` no puede ser asignado al tipo `number`. Solo se puede con `true`.
307309
]]
308310
config.type.inferParamType = -- TODO: needs localisation
309311
[[
310-
When a parameter type is not annotated, it is inferred from the function's call sites.
312+
Cuando un tipo de parámetro no está anotado, se infiere su tipo de los lugares donde la función es llamada.
311313
312-
When this setting is `false`, the type of the parameter is `any` when it is not annotated.
314+
Cuando esta configuración es `false`, el tipo del parámetro `any` cuando no puede ser anotado.
313315
]]
314316
config.type.checkTableShape = -- TODO: needs localisation
315317
[[
316-
Strictly check the shape of the table.
318+
Chequea estrictamente la forma de la tabla.
317319
]]
318320
config.doc.privateName = -- TODO: needs localisation
319-
'Treat specific field names as private, e.g. `m_*` means `XXX.m_id` and `XXX.m_type` are private, witch can only be accessed in the class where the definition is located.'
321+
'Trata los nombres específicos de campo como privados. Por ejemplo `m_*` significa `XXX.m_id` y `XXX.m_tipo` son privados, por lo que solo pueden ser accedidos donde se define la clase.'
320322
config.doc.protectedName = -- TODO: needs localisation
321-
'Treat specific field names as protected, e.g. `m_*` means `XXX.m_id` and `XXX.m_type` are protected, witch can only be accessed in the class where the definition is located and its subclasses.'
323+
'Trata los nombres específicos de campo como protegidos. Por ejemplo `m_*` significa `XXX.m_id` y `XXX.m_tipo` son privados, por lo que solo pueden ser accedidos donde se define la clase y sus subclases.'
322324
config.doc.packageName = -- TODO: needs localisation
323-
'Treat specific field names as package, e.g. `m_*` means `XXX.m_id` and `XXX.m_type` are package, witch can only be accessed in the file where the definition is located.'
325+
'Trata los nombres específicos de campo como del paquete. Por ejemplo `m_*` significa `XXX.m_id` y `XXX.m_tipo` son de paquete, por lo que solo pueden ser accedidos en el archivo donde son definidos.'
324326
config.diagnostics['unused-local'] = -- TODO: needs localisation
325-
'Enable unused local variable diagnostics.'
327+
'Habilita el diagnóstico de variables local sin uso.'
326328
config.diagnostics['unused-function'] = -- TODO: needs localisation
327-
'Enable unused function diagnostics.'
329+
'Habilita el diagnóstico funcines sin uso.'
328330
config.diagnostics['undefined-global'] = -- TODO: needs localisation
329-
'Enable undefined global variable diagnostics.'
331+
'Habilita el diagnóstico de variables globales sin definir.'
330332
config.diagnostics['global-in-nil-env'] = -- TODO: needs localisation
331-
'Enable cannot use global variables `_ENV` is set to `nil`) diagnostics.'
333+
'Habilita el diagnóstico para la prohibición de uso de variables globales (`_ENV` se fija a `nil`).'
332334
config.diagnostics['unused-label'] = -- TODO: needs localisation
333-
'Enable unused label diagnostics.'
335+
'Habilita el diagnóstico de etiquetas sin uso.'
334336
config.diagnostics['unused-vararg'] = -- TODO: needs localisation
335-
'Enable unused vararg diagnostics.'
337+
'Habilita el diagnóstico de expresión de número variable de argumentos (vararg) sin uso.'
336338
config.diagnostics['trailing-space'] = -- TODO: needs localisation
337-
'Enable trailing space diagnostics.'
339+
'Habilita el diagnóstico de espacios al final de línea.'
338340
config.diagnostics['redefined-local'] = -- TODO: needs localisation
339-
'Enable redefined local variable diagnostics.'
341+
'Habilita el diagnóstico de variables locals redefinidas.'
340342
config.diagnostics['newline-call'] = -- TODO: needs localisation
341-
'Enable newline call diagnostics. Is\'s raised when a line starting with `(` is encountered, which is syntactically parsed as a function call on the previous line.'
343+
'Habilita el diagnóstico de llamadas en línea nueva. Se alza un error en las líneas que comienzan con `(`, lo que se lee sintácticamente como una llamada a la línea anterior.'
342344
config.diagnostics['newfield-call'] = -- TODO: needs localisation
343-
'Enable newfield call diagnostics. It is raised when the parenthesis of a function call appear on the following line when defining a field in a table.'
345+
'Habilita el diagnóstico de campo nuevo en una llamada. Se alza un error cuando los paréntesis de una llamada a una función aparecen en la siguiente línea cuando se define un campo en una tabla.'
344346
config.diagnostics['redundant-parameter'] = -- TODO: needs localisation
345-
'Enable redundant function parameter diagnostics.'
347+
'Habilita el diagnóstico de parámetros redundantes de una función.'
346348
config.diagnostics['ambiguity-1'] = -- TODO: needs localisation
347-
'Enable ambiguous operator precedence diagnostics. For example, the `num or 0 + 1` expression will be suggested `(num or 0) + 1` instead.'
349+
'Habilita el diagnóstico de precedencia de operadores ambiguos. Por ejemplo, ante la expresión `num or 0 + 1` se sugerirrá `(num or 0) + 1`.'
348350
config.diagnostics['lowercase-global'] = -- TODO: needs localisation
349-
'Enable lowercase global variable definition diagnostics.'
351+
'Habilita el diagnóstico de definiciones de variables globacels con minúsculas.'
350352
config.diagnostics['undefined-env-child'] = -- TODO: needs localisation
351-
'Enable undefined environment variable diagnostics. It\'s raised when `_ENV` table is set to a new literal table, but the used global variable is no longer present in the global environment.'
353+
'Habilita el diagnóstico de variables de ambientes sin definir. Se alza un error cuando a la tabla `_ENV` se le asigna una tabla literal nueva, pero la variable global usada no está presente en el ambiente global.'
352354
config.diagnostics['duplicate-index'] = -- TODO: needs localisation
353-
'Enable duplicate table index diagnostics.'
355+
'Habilita el diagnóstico de índices de tabla duplicados.'
354356
config.diagnostics['empty-block'] = -- TODO: needs localisation
355-
'Enable empty code block diagnostics.'
357+
'Habilita el diagnóstico de bloques de código vacíos.'
356358
config.diagnostics['redundant-value'] = -- TODO: needs localisation
357-
'Enable the redundant values assigned diagnostics. It\'s raised during assignment operation, when the number of values is higher than the number of objects being assigned.'
359+
'Habilita el diagnóstico de valores asignados redundantemente. Se alza un error en una asignación, cuando el número de valores es mayor que el número de objetos a los cuales se les asigna.'
358360
config.diagnostics['assign-type-mismatch'] = -- TODO: needs localisation
359361
'Enable diagnostics for assignments in which the value\'s type does not match the type of the assigned variable.'
362+
'Habilita el diagnóstico .'
360363
config.diagnostics['await-in-sync'] = -- TODO: needs localisation
361364
'Enable diagnostics for calls of asynchronous functions within a synchronous function.'
365+
'Habilita el diagnóstico .'
362366
config.diagnostics['cast-local-type'] = -- TODO: needs localisation
363367
'Enable diagnostics for casts of local variables where the target type does not match the defined type.'
368+
'Habilita el diagnóstico .'
364369
config.diagnostics['cast-type-mismatch'] = -- TODO: needs localisation
365370
'Enable diagnostics for casts where the target type does not match the initial type.'
371+
'Habilita el diagnóstico .'
366372
config.diagnostics['circular-doc-class'] = -- TODO: needs localisation
367373
'Enable diagnostics for two classes inheriting from each other introducing a circular relation.'
374+
'Habilita el diagnóstico .'
368375
config.diagnostics['close-non-object'] = -- TODO: needs localisation
369376
'Enable diagnostics for attempts to close a variable with a non-object.'
377+
'Habilita el diagnóstico .'
370378
config.diagnostics['code-after-break'] = -- TODO: needs localisation
371379
'Enable diagnostics for code placed after a break statement in a loop.'
380+
'Habilita el diagnóstico .'
372381
config.diagnostics['codestyle-check'] = -- TODO: needs localisation
373382
'Enable diagnostics for incorrectly styled lines.'
383+
'Habilita el diagnóstico .'
374384
config.diagnostics['count-down-loop'] = -- TODO: needs localisation
375385
'Enable diagnostics for `for` loops which will never reach their max/limit because the loop is incrementing instead of decrementing.'
386+
'Habilita el diagnóstico .'
376387
config.diagnostics['deprecated'] = -- TODO: needs localisation
377388
'Enable diagnostics to highlight deprecated API.'
389+
'Habilita el diagnóstico .'
378390
config.diagnostics['different-requires'] = -- TODO: needs localisation
379391
'Enable diagnostics for files which are required by two different paths.'
392+
'Habilita el diagnóstico .'
380393
config.diagnostics['discard-returns'] = -- TODO: needs localisation
381394
'Enable diagnostics for calls of functions annotated with `---@nodiscard` where the return values are ignored.'
395+
'Habilita el diagnóstico .'
382396
config.diagnostics['doc-field-no-class'] = -- TODO: needs localisation
383397
'Enable diagnostics to highlight a field annotation without a defining class annotation.'
398+
'Habilita el diagnóstico .'
384399
config.diagnostics['duplicate-doc-alias'] = -- TODO: needs localisation
385400
'Enable diagnostics for a duplicated alias annotation name.'
401+
'Habilita el diagnóstico .'
386402
config.diagnostics['duplicate-doc-field'] = -- TODO: needs localisation
387403
'Enable diagnostics for a duplicated field annotation name.'
404+
'Habilita el diagnóstico .'
388405
config.diagnostics['duplicate-doc-param'] = -- TODO: needs localisation
389406
'Enable diagnostics for a duplicated param annotation name.'
407+
'Habilita el diagnóstico .'
390408
config.diagnostics['duplicate-set-field'] = -- TODO: needs localisation
391409
'Enable diagnostics for setting the same field in a class more than once.'
410+
'Habilita el diagnóstico .'
392411
config.diagnostics['incomplete-signature-doc'] = -- TODO: needs localisation
393412
'Incomplete @param or @return annotations for functions.'
413+
'Habilita el diagnóstico .'
394414
config.diagnostics['invisible'] = -- TODO: needs localisation
395415
'Enable diagnostics for accesses to fields which are invisible.'
416+
'Habilita el diagnóstico .'
396417
config.diagnostics['missing-global-doc'] = -- TODO: needs localisation
397418
'Missing annotations for globals! Global functions must have a comment and annotations for all parameters and return values.'
419+
'Habilita el diagnóstico .'
398420
config.diagnostics['missing-local-export-doc'] = -- TODO: needs localisation
399421
'Missing annotations for exported locals! Exported local functions must have a comment and annotations for all parameters and return values.'
422+
'Habilita el diagnóstico .'
400423
config.diagnostics['missing-parameter'] = -- TODO: needs localisation
401424
'Enable diagnostics for function calls where the number of arguments is less than the number of annotated function parameters.'
425+
'Habilita el diagnóstico .'
402426
config.diagnostics['missing-return'] = -- TODO: needs localisation
403427
'Enable diagnostics for functions with return annotations which have no return statement.'
428+
'Habilita el diagnóstico .'
404429
config.diagnostics['missing-return-value'] = -- TODO: needs localisation
405430
'Enable diagnostics for return statements without values although the containing function declares returns.'
431+
'Habilita el diagnóstico .'
406432
config.diagnostics['need-check-nil'] = -- TODO: needs localisation
407433
'Enable diagnostics for variable usages if `nil` or an optional (potentially `nil`) value was assigned to the variable before.'
434+
'Habilita el diagnóstico .'
408435
config.diagnostics['no-unknown'] = -- TODO: needs localisation
409436
'Enable diagnostics for cases in which the type cannot be inferred.'
437+
'Habilita el diagnóstico .'
410438
config.diagnostics['not-yieldable'] = -- TODO: needs localisation
411439
'Enable diagnostics for calls to `coroutine.yield()` when it is not permitted.'
440+
'Habilita el diagnóstico .'
412441
config.diagnostics['param-type-mismatch'] = -- TODO: needs localisation
413442
'Enable diagnostics for function calls where the type of a provided parameter does not match the type of the annotated function definition.'
414443
config.diagnostics['redundant-return'] = -- TODO: needs localisation
444+
'Habilita el diagnóstico .'
415445
'Enable diagnostics for return statements which are not needed because the function would exit on its own.'
416446
config.diagnostics['redundant-return-value']= -- TODO: needs localisation
447+
'Habilita el diagnóstico .'
417448
'Enable diagnostics for return statements which return an extra value which is not specified by a return annotation.'
418449
config.diagnostics['return-type-mismatch'] = -- TODO: needs localisation
450+
'Habilita el diagnóstico .'
419451
'Enable diagnostics for return values whose type does not match the type declared in the corresponding return annotation.'
420452
config.diagnostics['spell-check'] = -- TODO: needs localisation
453+
'Habilita el diagnóstico .'
421454
'Enable diagnostics for typos in strings.'
422455
config.diagnostics['name-style-check'] = -- TODO: needs localisation
456+
'Habilita el diagnóstico .'
423457
'Enable diagnostics for name style.'
424458
config.diagnostics['unbalanced-assignments']= -- TODO: needs localisation
459+
'Habilita el diagnóstico .'
425460
'Enable diagnostics on multiple assignments if not all variables obtain a value (e.g., `local x,y = 1`).'
426461
config.diagnostics['undefined-doc-class'] = -- TODO: needs localisation
462+
'Habilita el diagnóstico .'
427463
'Enable diagnostics for class annotations in which an undefined class is referenced.'
428464
config.diagnostics['undefined-doc-name'] = -- TODO: needs localisation
465+
'Habilita el diagnóstico .'
429466
'Enable diagnostics for type annotations referencing an undefined type or alias.'
430467
config.diagnostics['undefined-doc-param'] = -- TODO: needs localisation
468+
'Habilita el diagnóstico .'
431469
'Enable diagnostics for cases in which a parameter annotation is given without declaring the parameter in the function definition.'
432470
config.diagnostics['undefined-field'] = -- TODO: needs localisation
471+
'Habilita el diagnóstico .'
433472
'Enable diagnostics for cases in which an undefined field of a variable is read.'
434473
config.diagnostics['unknown-cast-variable'] = -- TODO: needs localisation
474+
'Habilita el diagnóstico .'
435475
'Enable diagnostics for casts of undefined variables.'
436476
config.diagnostics['unknown-diag-code'] = -- TODO: needs localisation
477+
'Habilita el diagnóstico .'
437478
'Enable diagnostics in cases in which an unknown diagnostics code is entered.'
438479
config.diagnostics['unknown-operator'] = -- TODO: needs localisation
480+
'Habilita el diagnóstico .'
439481
'Enable diagnostics for unknown operators.'
440482
config.diagnostics['unreachable-code'] = -- TODO: needs localisation
483+
'Habilita el diagnóstico .'
441484
'Enable diagnostics for unreachable code.'
442485
config.diagnostics['global-element'] = -- TODO: needs localisation
486+
'Habilita el diagnóstico .'
443487
'Enable diagnostics to warn about global elements.'
444488
config.typeFormat.config = -- TODO: needs localisation
445489
'Configures the formatting behavior while typing Lua code.'

0 commit comments

Comments
 (0)