summaryrefslogtreecommitdiff
path: root/locale/zh-cn
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-14 14:44:10 +0800
committerGitHub <noreply@github.com>2020-12-14 14:44:10 +0800
commit6172b5df67ca79abcc54a88121f3758a112f3a9d (patch)
tree5e527d38f103466dbd4825ff957977e4aad89b95 /locale/zh-cn
parentd01289e9bf88270e593e48f9a454097592be974b (diff)
parentf05b8a9b522989e83f28ce0511d5468d7300b40d (diff)
downloadlua-language-server-6172b5df67ca79abcc54a88121f3758a112f3a9d.zip
Merge pull request #296 from uhziel/diagnostic-undefined-field
添加检查"未定义的 field"Diagnostic undefined field
Diffstat (limited to 'locale/zh-cn')
-rw-r--r--locale/zh-cn/script.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index c4fd8a7a..3dda7699 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -2,6 +2,7 @@ DIAG_LINE_ONLY_SPACE = '只有空格的空行。'
DIAG_LINE_POST_SPACE = '后置空格。'
DIAG_UNUSED_LOCAL = '未使用的局部变量 `{}`。'
DIAG_UNDEF_GLOBAL = '未定义的全局变量 `{}`。'
+DIAG_UNDEF_FIELD = '未定义的 field `{}`。'
DIAG_UNDEF_ENV_CHILD = '未定义的变量 `{}`(重载了 `_ENV` )。'
DIAG_UNDEF_FENV_CHILD = '未定义的变量 `{}`(处于模块中)。'
DIAG_GLOBAL_IN_NIL_ENV = '不能使用全局变量(`_ENV`被置为了`nil`)。'