diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-08 15:54:58 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-08 15:54:58 +0800 |
commit | 93abb07995244becd028828c1bfb9ee4a76ca7f9 (patch) | |
tree | be0f7cfe7a3c86eec157585f82f407ed067b5f59 /locale/zh-cn/script.lua | |
parent | e9c0fee9f413cc55d141231a40775cb48037ccf3 (diff) | |
parent | 5a8e3212d25a5c511e25cdf00232e807a7fb5da7 (diff) | |
download | lua-language-server-93abb07995244becd028828c1bfb9ee4a76ca7f9.zip |
Merge branch 'master' into not-yieldable
Diffstat (limited to 'locale/zh-cn/script.lua')
-rw-r--r-- | locale/zh-cn/script.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index 6f27176c..89ade0e8 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -45,6 +45,7 @@ DIAG_DIFFERENT_REQUIRES = '使用了不同的名字 require 了同一个文件 DIAG_REDUNDANT_RETURN = '冗余返回。' DIAG_AWAIT_IN_SYNC = '只能在标记为异步的函数中调用异步函数。' DIAG_NOT_YIELDABLE = '此函数的第 {} 个参数没有被标记为可让出,但是传入了异步函数。(使用 `---@param name async fun()` 来标记为可让出)' +DIAG_DISCARD_RETURNS = '不能丢弃此函数的返回值。' DIAG_CIRCLE_DOC_CLASS = '循环继承的类。' DIAG_DOC_FIELD_NO_CLASS = '字段必须定义在类之后。' |