summaryrefslogtreecommitdiff
path: root/locale/zh-cn
diff options
context:
space:
mode:
authoruhziel <uhziel@gmail.com>2020-12-15 14:53:59 +0800
committeruhziel <uhziel@gmail.com>2020-12-15 14:53:59 +0800
commit8e55293116809cd46c9f3dce7c972e8ee77af840 (patch)
tree487da1bb0a1b0980870dbab7309fd2f026954b4b /locale/zh-cn
parente7df5a89d015dacd613cc9cdeb7539386884a3eb (diff)
parentf3ec5825e3c6a8090a020097e088f26718c316bb (diff)
downloadlua-language-server-8e55293116809cd46c9f3dce7c972e8ee77af840.zip
Merge branch 'master' into diagnostic-undefined-field
Diffstat (limited to 'locale/zh-cn')
-rw-r--r--locale/zh-cn/script.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index 3dda7699..4e43024f 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -2,7 +2,7 @@ DIAG_LINE_ONLY_SPACE = '只有空格的空行。'
DIAG_LINE_POST_SPACE = '后置空格。'
DIAG_UNUSED_LOCAL = '未使用的局部变量 `{}`。'
DIAG_UNDEF_GLOBAL = '未定义的全局变量 `{}`。'
-DIAG_UNDEF_FIELD = '未定义的 field `{}`。'
+DIAG_UNDEF_FIELD = '未定义的属性/字段 `{}`。'
DIAG_UNDEF_ENV_CHILD = '未定义的变量 `{}`(重载了 `_ENV` )。'
DIAG_UNDEF_FENV_CHILD = '未定义的变量 `{}`(处于模块中)。'
DIAG_GLOBAL_IN_NIL_ENV = '不能使用全局变量(`_ENV`被置为了`nil`)。'