Skip to content

docs: add missing locale. #3160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<!-- Add all new changes here. They will be moved under a version at release -->
* `FIX` cannot debug in Linux due to lua-debug expecting host process to have lua54 symbols available
* `FIX` support hex color codes with `#` in `textDocument/documentColor`
* `ADD` missing locale

## 3.14.0
`2025-4-7`
Expand Down
19 changes: 16 additions & 3 deletions locale/en-us/setting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,10 @@ Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/doc
config.spell.dict =
'Custom words for spell checking.'
config.nameStyle.config =
'Set name style config'
[[
Set name style config.
Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.
]]
config.telemetry.enable =
[[
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).
Expand All @@ -289,7 +292,7 @@ config.misc.parameters =
config.misc.executablePath =
'Specify the executable path in VSCode.'
config.language.fixIndent =
'(VSCode only) Fix incorrect auto-indentation, such as incorrect indentation when line breaks occur within a string containing the word "function."'
'(VSCode only) Fix incorrect auto-indentation, such as incorrect indentation when line breaks occur within a string containing the word "function".'
config.language.completeAnnotation =
'(VSCode only) Automatically insert "---@ " after a line break following a annotation.'
config.type.castNumberToInteger =
Expand All @@ -316,12 +319,22 @@ config.type.checkTableShape =
[[
Strictly check the shape of the table.
]]
config.type.inferTableSize =
'Maximum number of table fields analyzed during type inference.'
config.doc.privateName =
'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.'
config.doc.protectedName =
'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.'
config.doc.packageName =
'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.'
config.doc.regengine =
'The regular expression engine used for matching documentation scope names.'
config.doc.regengine.glob =
'The default lightweight pattern syntax.'
config.doc.regengine.lua =
'Full Lua-style regular expressions.'
config.docScriptPath =
'The regular expression engine used for matching documentation scope names.'
config.diagnostics['unused-local'] =
'Enable unused local variable diagnostics.'
config.diagnostics['unused-function'] =
Expand All @@ -339,7 +352,7 @@ config.diagnostics['trailing-space'] =
config.diagnostics['redefined-local'] =
'Enable redefined local variable diagnostics.'
config.diagnostics['newline-call'] =
'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.'
'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.'
config.diagnostics['newfield-call'] =
'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.'
config.diagnostics['redundant-parameter'] =
Expand Down
16 changes: 15 additions & 1 deletion locale/es-419/setting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,11 @@ para aprender más sobre su uso.
config.spell.dict =
'Palabras extra para el corrector ortográfico.'
config.nameStyle.config =
'Configuración de estilo para nombres.'
[[
Configuración de estilo para nombres.
Revise [la documentación del formateador](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs)
para aprender más sobre su uso.
]]
config.telemetry.enable =
[[
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).
Expand Down Expand Up @@ -317,12 +321,22 @@ config.type.checkTableShape =
[[
Chequea estrictamente la forma de la tabla.
]]
config.type.inferTableSize = -- TODO: need translate!
'Maximum number of table fields analyzed during type inference.'
config.doc.privateName =
'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.'
config.doc.protectedName =
'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.'
config.doc.packageName =
'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.'
config.doc.regengine = -- TODO: need translate!
'The regular expression engine used for matching documentation scope names.'
config.doc.regengine.glob = -- TODO: need translate!
'The default lightweight pattern syntax.'
config.doc.regengine.lua = -- TODO: need translate!
'Full Lua-style regular expressions.'
config.docScriptPath = -- TODO: need translate!
'The regular expression engine used for matching documentation scope names.'
config.diagnostics['unused-local'] =
'Habilita el diagnóstico de variables local sin uso.'
config.diagnostics['unused-function'] =
Expand Down
15 changes: 14 additions & 1 deletion locale/ja-jp/setting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,10 @@ Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/doc
config.spell.dict = -- TODO: need translate!
'Custom words for spell checking.'
config.nameStyle.config = -- TODO: need translate!
'Set name style config'
[[
Set name style config.
Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.
]]
config.telemetry.enable = -- TODO: need translate!
[[
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).
Expand Down Expand Up @@ -316,12 +319,22 @@ config.type.checkTableShape = -- TODO: need translate!
[[
Strictly check the shape of the table.
]]
config.type.inferTableSize = -- TODO: need translate!
'Maximum number of table fields analyzed during type inference.'
config.doc.privateName = -- TODO: need translate!
'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.'
config.doc.protectedName = -- TODO: need translate!
'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.'
config.doc.packageName = -- TODO: need translate!
'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.'
config.doc.regengine = -- TODO: need translate!
'The regular expression engine used for matching documentation scope names.'
config.doc.regengine.glob = -- TODO: need translate!
'The default lightweight pattern syntax.'
config.doc.regengine.lua = -- TODO: need translate!
'Full Lua-style regular expressions.'
config.docScriptPath = -- TODO: need translate!
'The regular expression engine used for matching documentation scope names.'
config.diagnostics['unused-local'] = -- TODO: need translate!
'Enable unused local variable diagnostics.'
config.diagnostics['unused-function'] = -- TODO: need translate!
Expand Down
15 changes: 14 additions & 1 deletion locale/pt-br/setting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,10 @@ Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/doc
config.spell.dict = -- TODO: need translate!
'Custom words for spell checking.'
config.nameStyle.config = -- TODO: need translate!
'Set name style config'
[[
Set name style config.
Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.
]]
config.telemetry.enable = -- TODO: need translate!
[[
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).
Expand Down Expand Up @@ -316,12 +319,22 @@ config.type.checkTableShape = -- TODO: need translate!
[[
对表的形状进行严格检查。
]]
config.type.inferTableSize = -- TODO: need translate!
'Maximum number of table fields analyzed during type inference.'
config.doc.privateName = -- TODO: need translate!
'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.'
config.doc.protectedName = -- TODO: need translate!
'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.'
config.doc.packageName = -- TODO: need translate!
'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.'
config.doc.regengine = -- TODO: need translate!
'The regular expression engine used for matching documentation scope names.'
config.doc.regengine.glob = -- TODO: need translate!
'The default lightweight pattern syntax.'
config.doc.regengine.lua = -- TODO: need translate!
'Full Lua-style regular expressions.'
config.docScriptPath = -- TODO: need translate!
'The regular expression engine used for matching documentation scope names.'
config.diagnostics['unused-local'] = -- TODO: need translate!
'未使用的局部变量'
config.diagnostics['unused-function'] = -- TODO: need translate!
Expand Down
17 changes: 15 additions & 2 deletions locale/zh-cn/setting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ config.diagnostics.disable =
config.diagnostics.globals =
"已定义的全局变量。"
config.diagnostics.globalsRegex =
"启用诊断以检测尝试关闭非对象的变量。"
"已定义的全局变量符合的正则表达式。"
config.diagnostics.severity =
[[
修改诊断等级。
Expand Down Expand Up @@ -277,7 +277,10 @@ config.format.defaultConfig =
config.spell.dict =
'拼写检查的自定义单词。'
config.nameStyle.config =
'设定命名风格检查的配置'
[[
设定命名风格检查的配置。
请查阅[格式化文档](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs)了解用法。
]]
config.telemetry.enable =
[[
启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://luals.github.io/privacy/#language-server)阅读我们的隐私声明。
Expand Down Expand Up @@ -314,12 +317,22 @@ config.type.checkTableShape =
[[
对表的形状进行严格检查。
]]
config.type.inferTableSize =
'类型推断期间分析的表字段的最大数量。'
config.doc.privateName =
'将特定名称的字段视为私有,例如 `m_*` 意味着 `XXX.m_id` 与 `XXX.m_type` 是私有字段,只能在定义所在的类中访问。'
config.doc.protectedName =
'将特定名称的字段视为受保护,例如 `m_*` 意味着 `XXX.m_id` 与 `XXX.m_type` 是受保护的字段,只能在定义所在的类极其子类中访问。'
config.doc.packageName =
'将特定名称的字段视为package,例如 `m_*` 意味着 `XXX.m_id` 与 `XXX.m_type` 只能在定义所在的文件中访问。'
config.doc.regengine =
'用于匹配文档作用域名称的正则表达式引擎。'
config.doc.regengine.glob =
'默认轻量级模式语法。'
config.doc.regengine.lua =
'完整的 Lua 风格正则表达式。'
config.docScriptPath =
'自定义 Lua 脚本路径,覆盖默认文档生成行为。'
config.diagnostics['unused-local'] =
'未使用的局部变量'
config.diagnostics['unused-function'] =
Expand Down
15 changes: 14 additions & 1 deletion locale/zh-tw/setting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,10 @@ config.format.defaultConfig =
config.spell.dict =
'拼寫檢查的自訂單詞。'
config.nameStyle.config = -- TODO: need translate!
'Set name style config'
[[
Set name style config.
Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.
]]
config.telemetry.enable =
[[
啟用遙測,透過網路發送你的編輯器資訊與錯誤日誌。在[此處](https://luals.github.io/privacy/#language-server)閱讀我們的隱私聲明。
Expand Down Expand Up @@ -314,12 +317,22 @@ config.type.checkTableShape = -- TODO: need translate!
[[
对表的形状进行严格检查。
]]
config.type.inferTableSize = -- TODO: need translate!
'Maximum number of table fields analyzed during type inference.'
config.doc.privateName = -- TODO: need translate!
'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.'
config.doc.protectedName = -- TODO: need translate!
'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.'
config.doc.packageName = -- TODO: need translate!
'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.'
config.doc.regengine = -- TODO: need translate!
'The regular expression engine used for matching documentation scope names.'
config.doc.regengine.glob = -- TODO: need translate!
'The default lightweight pattern syntax.'
config.doc.regengine.lua = -- TODO: need translate!
'Full Lua-style regular expressions.'
config.docScriptPath = -- TODO: need translate!
'The regular expression engine used for matching documentation scope names.'
config.diagnostics['unused-local'] =
'未使用的區域變數'
config.diagnostics['unused-function'] =
Expand Down
Loading