summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-27 19:07:46 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-27 19:07:46 +0800
commitedc9797838506728ba65a50b94781ac99e3bdd86 (patch)
tree27aac9c1216cc2075621ad36da57183111cd6c22 /locale
parentcae348536cef3f2f5f96c5821c7e45539aeff1cf (diff)
downloadlua-language-server-edc9797838506728ba65a50b94781ac99e3bdd86.zip
diagnostic `missing-return-value`
Diffstat (limited to 'locale')
-rw-r--r--locale/zh-cn/script.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index 85ebc44d..ee6ce2b5 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -128,6 +128,10 @@ DIAG_UNKNOWN_CAST_VARIABLE =
'未知的类型转换变量 `{}`。'
DIAG_CAST_TYPE_MISMATCH =
'不能将 `{ref}` 转换为 `{def}`。'
+DIAG_MISSING_RETURN_VALUE =
+'至少需要 {min} 个返回值,但此处只返回 {rmax} 个值。'
+DIAG_MISSING_RETURN_VALUE =
+'至少需要 {min} 个返回值,但此处只返回 {rmin} 到 {rmax} 个值。'
MWS_NOT_SUPPORT =
'{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...'