diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 03:23:55 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 03:23:55 +0800 |
commit | abdeade219bde1714fd8f145652d42315e1e6d25 (patch) | |
tree | 018962a9f93b3b8159a3c146fd64dd33901380f6 /locale/zh-cn | |
parent | ae024958da9a14ed837495f79972a85458ee3f0c (diff) | |
download | lua-language-server-abdeade219bde1714fd8f145652d42315e1e6d25.zip |
new diag ``redundant-return-value``
Diffstat (limited to 'locale/zh-cn')
-rw-r--r-- | locale/zh-cn/script.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index c0f478c3..fba3c9ea 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -132,6 +132,10 @@ DIAG_MISSING_RETURN_VALUE = '至少需要 {min} 个返回值,但此处只返回 {rmax} 个值。' DIAG_MISSING_RETURN_VALUE_RANGE = '至少需要 {min} 个返回值,但此处只返回 {rmin} 到 {rmax} 个值。' +DIAG_REDUNDANT_RETURN_VALUE = +'最多只有 {max} 个返回值,但此处返回了第 {rmax} 个值。' +DIAG_REDUNDANT_RETURN_VALUE_RANGE = +'最多只有 {max} 个返回值,但此处返回了第 {rmin} 到第 {rmax} 个值。' MWS_NOT_SUPPORT = '{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...' |