From edc9797838506728ba65a50b94781ac99e3bdd86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 27 Jun 2022 19:07:46 +0800 Subject: diagnostic `missing-return-value` --- locale/zh-cn/script.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'locale/zh-cn') 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 = '{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...' -- cgit v1.2.3