Skip to content

Commit 22625e8

Browse files
authored
Merge pull request #3160 from qwertycxz/master
docs: add missing locale.
2 parents 9fc47a7 + b4f781a commit 22625e8

File tree

7 files changed

+89
-9
lines changed

7 files changed

+89
-9
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
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
66
* `FIX` support hex color codes with `#` in `textDocument/documentColor`
7+
* `ADD` missing locale
78
* `FIX` updates the EmmyLuaCodeStyle submodule reference to a newer commit, ensuring compatibility with GCC 15
89

910
## 3.14.0

locale/en-us/setting.lua

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,10 @@ Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/doc
279279
config.spell.dict =
280280
'Custom words for spell checking.'
281281
config.nameStyle.config =
282-
'Set name style config'
282+
[[
283+
Set name style config.
284+
Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.
285+
]]
283286
config.telemetry.enable =
284287
[[
285288
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).
@@ -289,7 +292,7 @@ config.misc.parameters =
289292
config.misc.executablePath =
290293
'Specify the executable path in VSCode.'
291294
config.language.fixIndent =
292-
'(VSCode only) Fix incorrect auto-indentation, such as incorrect indentation when line breaks occur within a string containing the word "function."'
295+
'(VSCode only) Fix incorrect auto-indentation, such as incorrect indentation when line breaks occur within a string containing the word "function".'
293296
config.language.completeAnnotation =
294297
'(VSCode only) Automatically insert "---@ " after a line break following a annotation.'
295298
config.type.castNumberToInteger =
@@ -316,12 +319,22 @@ config.type.checkTableShape =
316319
[[
317320
Strictly check the shape of the table.
318321
]]
322+
config.type.inferTableSize =
323+
'Maximum number of table fields analyzed during type inference.'
319324
config.doc.privateName =
320325
'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.'
321326
config.doc.protectedName =
322327
'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.'
323328
config.doc.packageName =
324329
'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.'
330+
config.doc.regengine =
331+
'The regular expression engine used for matching documentation scope names.'
332+
config.doc.regengine.glob =
333+
'The default lightweight pattern syntax.'
334+
config.doc.regengine.lua =
335+
'Full Lua-style regular expressions.'
336+
config.docScriptPath =
337+
'The regular expression engine used for matching documentation scope names.'
325338
config.diagnostics['unused-local'] =
326339
'Enable unused local variable diagnostics.'
327340
config.diagnostics['unused-function'] =
@@ -339,7 +352,7 @@ config.diagnostics['trailing-space'] =
339352
config.diagnostics['redefined-local'] =
340353
'Enable redefined local variable diagnostics.'
341354
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.'
355+
'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.'
343356
config.diagnostics['newfield-call'] =
344357
'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.'
345358
config.diagnostics['redundant-parameter'] =

locale/es-419/setting.lua

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,11 @@ para aprender más sobre su uso.
280280
config.spell.dict =
281281
'Palabras extra para el corrector ortográfico.'
282282
config.nameStyle.config =
283-
'Configuración de estilo para nombres.'
283+
[[
284+
Configuración de estilo para nombres.
285+
Revise [la documentación del formateador](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs)
286+
para aprender más sobre su uso.
287+
]]
284288
config.telemetry.enable =
285289
[[
286290
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).
@@ -317,12 +321,22 @@ config.type.checkTableShape =
317321
[[
318322
Chequea estrictamente la forma de la tabla.
319323
]]
324+
config.type.inferTableSize = -- TODO: need translate!
325+
'Maximum number of table fields analyzed during type inference.'
320326
config.doc.privateName =
321327
'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.'
322328
config.doc.protectedName =
323329
'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.'
324330
config.doc.packageName =
325331
'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.'
332+
config.doc.regengine = -- TODO: need translate!
333+
'The regular expression engine used for matching documentation scope names.'
334+
config.doc.regengine.glob = -- TODO: need translate!
335+
'The default lightweight pattern syntax.'
336+
config.doc.regengine.lua = -- TODO: need translate!
337+
'Full Lua-style regular expressions.'
338+
config.docScriptPath = -- TODO: need translate!
339+
'The regular expression engine used for matching documentation scope names.'
326340
config.diagnostics['unused-local'] =
327341
'Habilita el diagnóstico de variables local sin uso.'
328342
config.diagnostics['unused-function'] =

locale/ja-jp/setting.lua

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,10 @@ Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/doc
279279
config.spell.dict = -- TODO: need translate!
280280
'Custom words for spell checking.'
281281
config.nameStyle.config = -- TODO: need translate!
282-
'Set name style config'
282+
[[
283+
Set name style config.
284+
Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.
285+
]]
283286
config.telemetry.enable = -- TODO: need translate!
284287
[[
285288
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).
@@ -316,12 +319,22 @@ config.type.checkTableShape = -- TODO: need translate!
316319
[[
317320
Strictly check the shape of the table.
318321
]]
322+
config.type.inferTableSize = -- TODO: need translate!
323+
'Maximum number of table fields analyzed during type inference.'
319324
config.doc.privateName = -- TODO: need translate!
320325
'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.'
321326
config.doc.protectedName = -- TODO: need translate!
322327
'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.'
323328
config.doc.packageName = -- TODO: need translate!
324329
'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.'
330+
config.doc.regengine = -- TODO: need translate!
331+
'The regular expression engine used for matching documentation scope names.'
332+
config.doc.regengine.glob = -- TODO: need translate!
333+
'The default lightweight pattern syntax.'
334+
config.doc.regengine.lua = -- TODO: need translate!
335+
'Full Lua-style regular expressions.'
336+
config.docScriptPath = -- TODO: need translate!
337+
'The regular expression engine used for matching documentation scope names.'
325338
config.diagnostics['unused-local'] = -- TODO: need translate!
326339
'Enable unused local variable diagnostics.'
327340
config.diagnostics['unused-function'] = -- TODO: need translate!

locale/pt-br/setting.lua

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,10 @@ Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/doc
279279
config.spell.dict = -- TODO: need translate!
280280
'Custom words for spell checking.'
281281
config.nameStyle.config = -- TODO: need translate!
282-
'Set name style config'
282+
[[
283+
Set name style config.
284+
Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.
285+
]]
283286
config.telemetry.enable = -- TODO: need translate!
284287
[[
285288
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).
@@ -316,12 +319,22 @@ config.type.checkTableShape = -- TODO: need translate!
316319
[[
317320
对表的形状进行严格检查。
318321
]]
322+
config.type.inferTableSize = -- TODO: need translate!
323+
'Maximum number of table fields analyzed during type inference.'
319324
config.doc.privateName = -- TODO: need translate!
320325
'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.'
321326
config.doc.protectedName = -- TODO: need translate!
322327
'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.'
323328
config.doc.packageName = -- TODO: need translate!
324329
'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.'
330+
config.doc.regengine = -- TODO: need translate!
331+
'The regular expression engine used for matching documentation scope names.'
332+
config.doc.regengine.glob = -- TODO: need translate!
333+
'The default lightweight pattern syntax.'
334+
config.doc.regengine.lua = -- TODO: need translate!
335+
'Full Lua-style regular expressions.'
336+
config.docScriptPath = -- TODO: need translate!
337+
'The regular expression engine used for matching documentation scope names.'
325338
config.diagnostics['unused-local'] = -- TODO: need translate!
326339
'未使用的局部变量'
327340
config.diagnostics['unused-function'] = -- TODO: need translate!

locale/zh-cn/setting.lua

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ config.diagnostics.disable =
5353
config.diagnostics.globals =
5454
"已定义的全局变量。"
5555
config.diagnostics.globalsRegex =
56-
"启用诊断以检测尝试关闭非对象的变量"
56+
"已定义的全局变量符合的正则表达式"
5757
config.diagnostics.severity =
5858
[[
5959
修改诊断等级。
@@ -277,7 +277,10 @@ config.format.defaultConfig =
277277
config.spell.dict =
278278
'拼写检查的自定义单词。'
279279
config.nameStyle.config =
280-
'设定命名风格检查的配置'
280+
[[
281+
设定命名风格检查的配置。
282+
请查阅[格式化文档](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs)了解用法。
283+
]]
281284
config.telemetry.enable =
282285
[[
283286
启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://luals.github.io/privacy/#language-server)阅读我们的隐私声明。
@@ -314,12 +317,22 @@ config.type.checkTableShape =
314317
[[
315318
对表的形状进行严格检查。
316319
]]
320+
config.type.inferTableSize =
321+
'类型推断期间分析的表字段的最大数量。'
317322
config.doc.privateName =
318323
'将特定名称的字段视为私有,例如 `m_*` 意味着 `XXX.m_id` 与 `XXX.m_type` 是私有字段,只能在定义所在的类中访问。'
319324
config.doc.protectedName =
320325
'将特定名称的字段视为受保护,例如 `m_*` 意味着 `XXX.m_id` 与 `XXX.m_type` 是受保护的字段,只能在定义所在的类极其子类中访问。'
321326
config.doc.packageName =
322327
'将特定名称的字段视为package,例如 `m_*` 意味着 `XXX.m_id` 与 `XXX.m_type` 只能在定义所在的文件中访问。'
328+
config.doc.regengine =
329+
'用于匹配文档作用域名称的正则表达式引擎。'
330+
config.doc.regengine.glob =
331+
'默认轻量级模式语法。'
332+
config.doc.regengine.lua =
333+
'完整的 Lua 风格正则表达式。'
334+
config.docScriptPath =
335+
'自定义 Lua 脚本路径,覆盖默认文档生成行为。'
323336
config.diagnostics['unused-local'] =
324337
'未使用的局部变量'
325338
config.diagnostics['unused-function'] =

locale/zh-tw/setting.lua

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,10 @@ config.format.defaultConfig =
277277
config.spell.dict =
278278
'拼寫檢查的自訂單詞。'
279279
config.nameStyle.config = -- TODO: need translate!
280-
'Set name style config'
280+
[[
281+
Set name style config.
282+
Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.
283+
]]
281284
config.telemetry.enable =
282285
[[
283286
啟用遙測,透過網路發送你的編輯器資訊與錯誤日誌。在[此處](https://luals.github.io/privacy/#language-server)閱讀我們的隱私聲明。
@@ -314,12 +317,22 @@ config.type.checkTableShape = -- TODO: need translate!
314317
[[
315318
对表的形状进行严格检查。
316319
]]
320+
config.type.inferTableSize = -- TODO: need translate!
321+
'Maximum number of table fields analyzed during type inference.'
317322
config.doc.privateName = -- TODO: need translate!
318323
'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.'
319324
config.doc.protectedName = -- TODO: need translate!
320325
'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.'
321326
config.doc.packageName = -- TODO: need translate!
322327
'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.'
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.'
323336
config.diagnostics['unused-local'] =
324337
'未使用的區域變數'
325338
config.diagnostics['unused-function'] =

0 commit comments

Comments
 (0)