summaryrefslogtreecommitdiff
path: root/locale/zh-cn/script.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-28 19:09:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-28 19:09:39 +0800
commit7e778b31476831864dff995ae3ae4e5f223c5726 (patch)
treeb570499b7b70014067d9e5cd737088df474b7c76 /locale/zh-cn/script.lua
parent09cd9882be4b66f270c74516759844683832b1d4 (diff)
downloadlua-language-server-7e778b31476831864dff995ae3ae4e5f223c5726.zip
new diag `return-type-mismatch`
Diffstat (limited to 'locale/zh-cn/script.lua')
-rw-r--r--locale/zh-cn/script.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index 4c468cea..aa0aea29 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -138,6 +138,8 @@ DIAG_REDUNDANT_RETURN_VALUE_RANGE =
'最多只有 {max} 个返回值,但此处返回了第 {rmin} 到第 {rmax} 个值。'
DIAG_MISSING_RETURN =
'此处需要返回值。'
+DIAG_RETURN_TYPE_MISMATCH =
+'第 {index} 个返回值的类型为 `{def}` ,但实际返回的是 `{ref}`。'
MWS_NOT_SUPPORT =
'{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...'