summaryrefslogtreecommitdiff
path: root/locale/zh-cn
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-22 19:04:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-22 19:04:39 +0800
commitf0f26c65db90cddd7e45d751fb394e50165c4cb3 (patch)
treee4a306d20ea0e89c62e19002ef08eee0fd2c2d7c /locale/zh-cn
parenteb3d39eaedce44c8e4e25cf03494b32e874f3ca9 (diff)
downloadlua-language-server-f0f26c65db90cddd7e45d751fb394e50165c4cb3.zip
close #319 close-non-object
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 2492c7ca..b3b59c85 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -37,6 +37,7 @@ DIAG_SET_FOR_STATE = '修改了循环变量。'
DIAG_CODE_AFTER_BREAK = '无法执行到 `break` 后的代码。'
DIAG_UNBALANCED_ASSIGNMENTS = '由于值的数量不够而被赋值为了 `nil` 。在Lua中, `x, y = 1` 等价于 `x, y = 1, nil` 。'
DIAG_REQUIRE_LIKE = '你可以在设置中将 `{}` 视为 `require`。'
+DIAG_COSE_NON_OBJECT = '无法 close 此类型的值。(除非给此类型设置 `__close` 元方法)'
DIAG_CIRCLE_DOC_CLASS = '循环继承的类。'
DIAG_DOC_FIELD_NO_CLASS = '字段必须定义在类之后。'