summaryrefslogtreecommitdiff
path: root/locale/zh-cn/script.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-20 19:20:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-20 19:20:53 +0800
commita04cffb43132645f63e5a319f6ca69e0df87dcdb (patch)
tree6a86e894e08bf45d258bedd0240e61389ba6a94e /locale/zh-cn/script.lua
parentf7399c6206378b76c87a7386707cf8e24d5a98ac (diff)
downloadlua-language-server-a04cffb43132645f63e5a319f6ca69e0df87dcdb.zip
update
Diffstat (limited to 'locale/zh-cn/script.lua')
-rw-r--r--locale/zh-cn/script.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index 4f9b0dd5..9cbe43d2 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -116,6 +116,12 @@ DIAG_UNDEFINED_DOC_PARAM =
'指向了未定义的参数 `{}`。'
DIAG_UNKNOWN_DIAG_CODE =
'未知的诊断代号 `{}`。'
+DIAG_CAST_LOCAL_TYPE =
+'已显式定义变量的类型为 `{def}` ,不能再将其类型转换为 `{ref}`。'
+DIAG_CAST_FIELD_TYPE =
+'已显式定义字段的类型为 `{def}` ,不能再将其类型转换为 `{ref}`。'
+DIAG_ASSIGN_TYPE_MISMATCH =
+'不能将类型 `{ref}` 赋值给类型 `{def}`。'
MWS_NOT_SUPPORT =
'{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...'