You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: locale/en-us/meta.lua
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -722,19 +722,19 @@ string.char =
722
722
'Returns a string with length equal to the number of arguments, in which each character has the internal numeric code equal to its corresponding argument.'
723
723
string.dump=
724
724
'Returns a string containing a binary representation (a *binary chunk*) of the given function.'
725
-
string.find=-- TODO: need translate!
726
-
'查找第一个字符串中匹配到的 `pattern`(参见 §6.4.1)。'
725
+
string.find=
726
+
'Looks for the first match of `pattern` (see §6.4.1) in the string.'
727
727
string.find['>5.2'] =
728
728
'Looks for the first match of `pattern` (see §6.4.1) in the string.'
729
729
string.find['=5.1'] =
730
730
'Looks for the first match of `pattern` (see §5.4.1) in the string.'
731
731
string.format=
732
732
'Returns a formatted version of its variable number of arguments following the description given in its first argument.'
733
-
string.gmatch=-- TODO: need translate!
733
+
string.gmatch=
734
734
[[
735
-
返回一个迭代器函数。 每次调用这个函数都会继续以 `pattern` (参见 §6.4.1) 对 s 做匹配,并返回所有捕获到的值。
735
+
Returns an iterator function. Each call to that iterator continues matching `pattern` (see §6.4.1) over s and returns all captures.
736
736
737
-
下面这个例子会循环迭代字符串 s 中所有的单词, 并逐行打印:
737
+
The following example iterates over all words in string s, printing one per line:
738
738
```lua
739
739
s =
740
740
"hello world from Lua"
@@ -743,8 +743,8 @@ string.gmatch = -- TODO: need translate!
743
743
end
744
744
```
745
745
]]
746
-
string.gsub=-- TODO: need translate!
747
-
'将字符串 s 中,所有的(或是在 n 给出时的前 n 个) pattern (参见 §6.4.1)都替换成 repl ,并返回其副本。'
746
+
string.gsub=
747
+
'Returns a copy of s where all occurrences of `pattern` (or the first n occurrences if n is given) are replaced by repl (see §6.4.1).'
748
748
string.gmatch['>5.2'] =
749
749
[[
750
750
Returns an iterator function that, each time it is called, returns the next captures from `pattern` (see §6.4.1) over the string s.
@@ -779,12 +779,12 @@ string.len =
779
779
'Returns its length.'
780
780
string.lower=
781
781
'Returns a copy of this string with all uppercase letters changed to lowercase.'
'Looks for the first match of `pattern` (see §6.4.1) in the string. If it finds one, `match` returns the captures; otherwise it returns nil.'
784
+
string.pack=
785
+
'Returns a binary string containing the values `v1`, `v2`, etc. packed (that is, serialized in binary form) according to the format string `fmt` (see §6.4.2).'
786
+
string.packsize=
787
+
'Returns the length of a string resulting from `string.pack` with the given format string `fmt`. The format string cannot contain the variable-length options `s` or `z` (see §6.4.2).'
788
788
string.match['>5.2'] =
789
789
'Looks for the first match of `pattern` (see §6.4.1) in the string.'
Copy file name to clipboardExpand all lines: locale/es-419/meta.lua
+22-22Lines changed: 22 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -723,10 +723,10 @@ string.dump =
723
723
'Retorna un string que contiene una representación binaria de la función provista.'
724
724
string.find=
725
725
'Busca el primer calce del patrón `pattern` (véase §6.4.1) en el string.'
726
-
string.find['>5.2'] =-- TODO: need translate!
727
-
'Looks for the first match of `pattern` (see §6.4.1) in the string.'
728
-
string.find['=5.1'] =-- TODO: need translate!
729
-
'Looks for the first match of `pattern` (see §5.4.1) in the string.'
726
+
string.find['>5.2'] =
727
+
'Busca el primer calce del patrón `pattern` (véase §6.4.1) en el string.'
728
+
string.find['=5.1'] =
729
+
'Busca el primer calce del patrón `pattern` (véase §5.4.1) en el string.'
730
730
string.format=
731
731
'Retorna una versión formateada de su argumentos (en número variable) siguiendo la descripción dada en su primer argumento.'
732
732
string.gmatch=
@@ -744,11 +744,11 @@ Por ejemplo, el bucle siguiente itera sobre todas las palabras del sstring s, im
744
744
]]
745
745
string.gsub=
746
746
'Retorna una copia de s en la cual todos (o los primeras `n`, si es provisto este argumento) ocurrencias del patrón `pattern` (vease §6.4.1) han sido reemplazadas por el string de reemplazo especificado por `repl`.'
747
-
string.gmatch['>5.2'] =-- TODO: need translate!
747
+
string.gmatch['>5.2'] =
748
748
[[
749
-
Returns an iterator function that, each time it is called, returns the next captures from `pattern` (see §6.4.1) over the string s.
749
+
Retorna una función iteradora que, cada vez que es llamada, retorna las siguientes capturas del patrón `pattern` (véase §6.4.1) sobre el string s.
750
750
751
-
As an example, the following loop will iterate over all the words from string s, printing one per line:
751
+
Por ejemplo, el bucle siguiente itera sobre todas las palabras del string s, imprimiendo una por línea:
752
752
```lua
753
753
s =
754
754
"hello world from Lua"
@@ -757,11 +757,11 @@ As an example, the following loop will iterate over all the words from string s,
757
757
end
758
758
```
759
759
]]
760
-
string.gmatch['=5.1'] =-- TODO: need translate!
760
+
string.gmatch['=5.1'] =
761
761
[[
762
-
Returns an iterator function that, each time it is called, returns the next captures from `pattern` (see §5.4.1) over the string s.
762
+
Retorna una función iteradora que, cada vez que es llamada, retorna las siguientes capturas del patrón `pattern` (véase §5.4.1) sobre el string s.
763
763
764
-
As an example, the following loop will iterate over all the words from string s, printing one per line:
764
+
Por ejemplo, el bucle siguiente itera sobre todas las palabras del string s, imprimiendo una por línea:
765
765
```lua
766
766
s =
767
767
"hello world from Lua"
@@ -770,10 +770,10 @@ As an example, the following loop will iterate over all the words from string s,
770
770
end
771
771
```
772
772
]]
773
-
string.gsub['>5.2'] =-- TODO: need translate!
774
-
'Returns a copy of s in which all (or the first `n`, if given) occurrences of the `pattern` (see §6.4.1) have been replaced by a replacement string specified by `repl`.'
775
-
string.gsub['=5.1'] =-- TODO: need translate!
776
-
'Returns a copy of s in which all (or the first `n`, if given) occurrences of the `pattern` (see §5.4.1) have been replaced by a replacement string specified by `repl`.'
773
+
string.gsub['>5.2'] =
774
+
'Retorna una copia de s en la cual todas (o las primeras `n`, si se entrega) ocurrencias del patrón `pattern` (véase §6.4.1) han sido reemplazadas por un string de reemplazo especificado por `repl`.'
775
+
string.gsub['=5.1'] =
776
+
'Retorna una copia de s en la cual todas (o las primeras `n`, si se entrega) ocurrencias del patrón `pattern` (véase §5.4.1) han sido reemplazadas por un string de reemplazo especificado por `repl`.'
777
777
string.len=
778
778
'Retorna el largo.'
779
779
string.lower=
@@ -784,14 +784,14 @@ string.pack =
784
784
'Retorna el string binario que contiene los valores `v1`, `v2`, etc. empacados (serializados en forma binaria) de acuerdo al string de formato `fmt` (véase §6.4.2) .'
785
785
string.packsize=
786
786
'Retorna el largo del string que retorna `string.pack` con el formato `fmt` (véase §6.4.2) provisto.'
787
-
string.match['>5.2'] =-- TODO: need translate!
788
-
'Looks for the first match of `pattern` (see §6.4.1) in the string.'
789
-
string.match['=5.1'] =-- TODO: need translate!
790
-
'Looks for the first match of `pattern` (see §5.4.1) in the string.'
791
-
string.pack['>5.2'] =-- TODO: need translate!
792
-
'Returns a binary string containing the values `v1`, `v2`, etc. packed (that is, serialized in binary form) according to the format string `fmt` (see §6.4.2).'
793
-
string.packsize['>5.2'] =-- TODO: need translate!
794
-
'Returns the size of a string resulting from `string.pack` with the given format string `fmt` (see §6.4.2) .'
787
+
string.match['>5.2'] =
788
+
'Busca el primer calce del patrón `pattern` (véase §6.4.1) en el string.'
789
+
string.match['=5.1'] =
790
+
'Busca el primer calce del patrón `pattern` (véase §5.4.1) en el string.'
791
+
string.pack['>5.2'] =
792
+
'Retorna el string binario que contiene los valores `v1`, `v2`, etc. empacados (serializados en forma binaria) de acuerdo al string de formato `fmt` (véase §6.4.2).'
793
+
string.packsize['>5.2'] =
794
+
'Retorna el largo del string que retorna `string.pack` con el formato `fmt` (véase §6.4.2) provisto.'
795
795
string.rep['>5.2'] =
796
796
'Retorna el string que es la concatenación de `n` copias del string `s` separado por el string `sep`.'
"Agrega automáticamente el `require` correspondiente cuando la entrada se parece a un nombre de archivo."
186
-
config.completion.maxSuggestCount=-- TODO: need translate!
187
-
"Maximum number of fields to analyze for completions. When an object has more fields than this limit, completions will require more specific input to appear."
186
+
config.completion.maxSuggestCount=
187
+
"Número máximo de campos a analizar para autocompletar. Cuando un objeto tiene más campos que este límite, las sugerencias requerirán una entrada más específica para aparecer."
188
188
config.completion.showParams=
189
189
"Muestra los parámetros en la lista de completado. Cuando la función tiene múltiples definiciones, se mostrarán por separado."
config.type.inferTableSize=-- TODO: need translate!
335
-
'Maximum number of table fields analyzed during type inference.'
334
+
config.type.inferTableSize=
335
+
'Cantidad máxima de campos de tabla analizados durante la inferencia de tipos.'
336
336
config.doc.privateName=
337
337
'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.'
338
338
config.doc.protectedName=
339
339
'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.'
340
340
config.doc.packageName=
341
341
'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.'
342
-
config.doc.regengine=-- TODO: need translate!
343
-
'The regular expression engine used for matching documentation scope names.'
344
-
config.doc.regengine.glob=-- TODO: need translate!
345
-
'The default lightweight pattern syntax.'
346
-
config.doc.regengine.lua=-- TODO: need translate!
347
-
'Full Lua-style regular expressions.'
348
-
config.docScriptPath=-- TODO: need translate!
349
-
'The regular expression engine used for matching documentation scope names.'
342
+
config.doc.regengine=
343
+
'Motor de expresiones regulares usado para coincidir nombres de ámbito de documentación.'
344
+
config.doc.regengine.glob=
345
+
'Sintaxis de patrones ligera predeterminada.'
346
+
config.doc.regengine.lua=
347
+
'Expresiones regulares completas al estilo Lua.'
348
+
config.docScriptPath=
349
+
'Motor de expresiones regulares usado para coincidir nombres de ámbito de documentación.'
350
350
config.diagnostics['unused-local'] =
351
351
'Habilita el diagnóstico de variables local sin uso.'
0 commit comments