Skip to content

Commit ed7f34c

Browse files
committed
add missing locale
1 parent 606ea70 commit ed7f34c

File tree

7 files changed

+62
-1
lines changed

7 files changed

+62
-1
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44
<!-- Add all new changes here. They will be moved under a version at release -->
55
* `FIX` cannot debug in Linux due to lua-debug expecting host process to have lua54 symbols available
6+
* `ADD` missing locale
67

78
## 3.14.0
89
`2025-4-7`

locale/en-us/setting.lua

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,12 +316,22 @@ config.type.checkTableShape =
316316
[[
317317
Strictly check the shape of the table.
318318
]]
319+
config.type.inferTableSize =
320+
'Maximum number of table fields analyzed during type inference.'
319321
config.doc.privateName =
320322
'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.'
321323
config.doc.protectedName =
322324
'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.'
323325
config.doc.packageName =
324326
'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.'
327+
config.doc.regengine =
328+
'The regular expression engine used for matching documentation scope names.'
329+
config.doc.regengine.glob =
330+
'The default lightweight pattern syntax.'
331+
config.doc.regengine.lua =
332+
'Full Lua-style regular expressions.'
333+
config.docScriptPath =
334+
'The regular expression engine used for matching documentation scope names.'
325335
config.diagnostics['unused-local'] =
326336
'Enable unused local variable diagnostics.'
327337
config.diagnostics['unused-function'] =
@@ -339,7 +349,7 @@ config.diagnostics['trailing-space'] =
339349
config.diagnostics['redefined-local'] =
340350
'Enable redefined local variable diagnostics.'
341351
config.diagnostics['newline-call'] =
342-
'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.'
352+
'Enable newline call diagnostics. It\'s raised when a line starting with `(` is encountered, which is syntactically parsed as a function call on the previous line.'
343353
config.diagnostics['newfield-call'] =
344354
'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.'
345355
config.diagnostics['redundant-parameter'] =

locale/es-419/setting.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,12 +317,22 @@ config.type.checkTableShape =
317317
[[
318318
Chequea estrictamente la forma de la tabla.
319319
]]
320+
config.type.inferTableSize = -- TODO: need translate!
321+
'Maximum number of table fields analyzed during type inference.'
320322
config.doc.privateName =
321323
'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.'
322324
config.doc.protectedName =
323325
'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.'
324326
config.doc.packageName =
325327
'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.'
328+
config.doc.regengine = -- TODO: need translate!
329+
'The regular expression engine used for matching documentation scope names.'
330+
config.doc.regengine.glob = -- TODO: need translate!
331+
'The default lightweight pattern syntax.'
332+
config.doc.regengine.lua = -- TODO: need translate!
333+
'Full Lua-style regular expressions.'
334+
config.docScriptPath = -- TODO: need translate!
335+
'The regular expression engine used for matching documentation scope names.'
326336
config.diagnostics['unused-local'] =
327337
'Habilita el diagnóstico de variables local sin uso.'
328338
config.diagnostics['unused-function'] =

locale/ja-jp/setting.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,12 +316,22 @@ config.type.checkTableShape = -- TODO: need translate!
316316
[[
317317
Strictly check the shape of the table.
318318
]]
319+
config.type.inferTableSize = -- TODO: need translate!
320+
'Maximum number of table fields analyzed during type inference.'
319321
config.doc.privateName = -- TODO: need translate!
320322
'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.'
321323
config.doc.protectedName = -- TODO: need translate!
322324
'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.'
323325
config.doc.packageName = -- TODO: need translate!
324326
'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.'
327+
config.doc.regengine = -- TODO: need translate!
328+
'The regular expression engine used for matching documentation scope names.'
329+
config.doc.regengine.glob = -- TODO: need translate!
330+
'The default lightweight pattern syntax.'
331+
config.doc.regengine.lua = -- TODO: need translate!
332+
'Full Lua-style regular expressions.'
333+
config.docScriptPath = -- TODO: need translate!
334+
'The regular expression engine used for matching documentation scope names.'
325335
config.diagnostics['unused-local'] = -- TODO: need translate!
326336
'Enable unused local variable diagnostics.'
327337
config.diagnostics['unused-function'] = -- TODO: need translate!

locale/pt-br/setting.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,12 +316,22 @@ config.type.checkTableShape = -- TODO: need translate!
316316
[[
317317
对表的形状进行严格检查。
318318
]]
319+
config.type.inferTableSize = -- TODO: need translate!
320+
'Maximum number of table fields analyzed during type inference.'
319321
config.doc.privateName = -- TODO: need translate!
320322
'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.'
321323
config.doc.protectedName = -- TODO: need translate!
322324
'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.'
323325
config.doc.packageName = -- TODO: need translate!
324326
'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.'
327+
config.doc.regengine = -- TODO: need translate!
328+
'The regular expression engine used for matching documentation scope names.'
329+
config.doc.regengine.glob = -- TODO: need translate!
330+
'The default lightweight pattern syntax.'
331+
config.doc.regengine.lua = -- TODO: need translate!
332+
'Full Lua-style regular expressions.'
333+
config.docScriptPath = -- TODO: need translate!
334+
'The regular expression engine used for matching documentation scope names.'
325335
config.diagnostics['unused-local'] = -- TODO: need translate!
326336
'未使用的局部变量'
327337
config.diagnostics['unused-function'] = -- TODO: need translate!

locale/zh-cn/setting.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,22 @@ config.type.checkTableShape =
314314
[[
315315
对表的形状进行严格检查。
316316
]]
317+
config.type.inferTableSize =
318+
'类型推断期间分析的表字段的最大数量。'
317319
config.doc.privateName =
318320
'将特定名称的字段视为私有,例如 `m_*` 意味着 `XXX.m_id` 与 `XXX.m_type` 是私有字段,只能在定义所在的类中访问。'
319321
config.doc.protectedName =
320322
'将特定名称的字段视为受保护,例如 `m_*` 意味着 `XXX.m_id` 与 `XXX.m_type` 是受保护的字段,只能在定义所在的类极其子类中访问。'
321323
config.doc.packageName =
322324
'将特定名称的字段视为package,例如 `m_*` 意味着 `XXX.m_id` 与 `XXX.m_type` 只能在定义所在的文件中访问。'
325+
config.doc.regengine =
326+
'用于匹配文档作用域名称的正则表达式引擎。'
327+
config.doc.regengine.glob =
328+
'默认轻量级模式语法。'
329+
config.doc.regengine.lua =
330+
'完整的 Lua 风格正则表达式。'
331+
config.docScriptPath =
332+
'自定义 Lua 脚本路径,覆盖默认文档生成行为。'
323333
config.diagnostics['unused-local'] =
324334
'未使用的局部变量'
325335
config.diagnostics['unused-function'] =

locale/zh-tw/setting.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,22 @@ config.type.checkTableShape = -- TODO: need translate!
314314
[[
315315
对表的形状进行严格检查。
316316
]]
317+
config.type.inferTableSize = -- TODO: need translate!
318+
'Maximum number of table fields analyzed during type inference.'
317319
config.doc.privateName = -- TODO: need translate!
318320
'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.'
319321
config.doc.protectedName = -- TODO: need translate!
320322
'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.'
321323
config.doc.packageName = -- TODO: need translate!
322324
'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+
config.doc.regengine = -- TODO: need translate!
326+
'The regular expression engine used for matching documentation scope names.'
327+
config.doc.regengine.glob = -- TODO: need translate!
328+
'The default lightweight pattern syntax.'
329+
config.doc.regengine.lua = -- TODO: need translate!
330+
'Full Lua-style regular expressions.'
331+
config.docScriptPath = -- TODO: need translate!
332+
'The regular expression engine used for matching documentation scope names.'
323333
config.diagnostics['unused-local'] =
324334
'未使用的區域變數'
325335
config.diagnostics['unused-function'] =

0 commit comments

Comments
 (0)