summaryrefslogtreecommitdiff
path: root/locale/zh-cn
diff options
context:
space:
mode:
authoralwo <albrecht.woess@signum.plus>2023-05-11 14:26:07 +0200
committeralwo <albrecht.woess@signum.plus>2023-05-11 14:26:07 +0200
commitd00d9082dfdd49088a6776282471ced6d5d2361e (patch)
tree07c8b91a0657e6e39d68778f230abbf3d2c4a489 /locale/zh-cn
parentdaded8d8426c6268c2b781a0f234edf581106e2b (diff)
parentb422860aedb390744a566063991d57ccc829deb2 (diff)
downloadlua-language-server-d00d9082dfdd49088a6776282471ced6d5d2361e.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'locale/zh-cn')
-rw-r--r--locale/zh-cn/setting.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua
index 9dbd961d..1755d76f 100644
--- a/locale/zh-cn/setting.lua
+++ b/locale/zh-cn/setting.lua
@@ -268,6 +268,8 @@ config.format.defaultConfig =
]]
config.spell.dict =
'拼写检查的自定义单词。'
+config.nameStyle.config =
+'设定命名风格检查的配置'
config.telemetry.enable =
[[
启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://github.com/LuaLS/lua-language-server/wiki/Home#privacy)阅读我们的隐私声明。
@@ -400,6 +402,8 @@ config.diagnostics['return-type-mismatch'] = -- TODO: need translate!
'Enable diagnostics for return values whose type does not match the type declared in the corresponding return annotation.'
config.diagnostics['spell-check'] = -- TODO: need translate!
'Enable diagnostics for typos in strings.'
+config.diagnostics['name-style-check'] = -- TODO: need translate!
+'Enable diagnostics for name style.'
config.diagnostics['unbalanced-assignments']= -- TODO: need translate!
'Enable diagnostics on multiple assignments if not all variables obtain a value (e.g., `local x,y = 1`).'
config.diagnostics['undefined-doc-class'] = -- TODO: need translate!