diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-02 17:59:54 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-02 17:59:54 +0800 |
commit | c16264eac3b25f6f2bce14b0504071787bd2bc54 (patch) | |
tree | 25a76c376b0bcb244e1281ff89afd5aa55600615 /locale/zh-cn/script.lua | |
parent | a1fc6ac2f84804d3dbbde2ce5df02907f496ce7f (diff) | |
download | lua-language-server-c16264eac3b25f6f2bce14b0504071787bd2bc54.zip |
#687 await-in-sync
Diffstat (limited to 'locale/zh-cn/script.lua')
-rw-r--r-- | locale/zh-cn/script.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index 120ce765..2843d2b0 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -43,6 +43,7 @@ DIAG_IMPLICIT_ANY = '无法推测出类型。' DIAG_DEPRECATED = '已废弃。' DIAG_DIFFERENT_REQUIRES = '使用了不同的名字 require 了同一个文件。' DIAG_REDUNDANT_RETURN = '冗余返回。' +DIAG_AWAIT_IN_SYNC = '只能在标记为异步的函数中调用异步函数。' DIAG_CIRCLE_DOC_CLASS = '循环继承的类。' DIAG_DOC_FIELD_NO_CLASS = '字段必须定义在类之后。' @@ -190,6 +191,7 @@ ACTION_FIX_INSERT_SPACE = '插入空格' ACTION_JSON_TO_LUA = '把 JSON 转成 Lua' ACTION_DISABLE_DIAG_LINE= '在此行禁用诊断 ({})。' ACTION_DISABLE_DIAG_FILE= '在此文件禁用诊断 ({})。' +ACTION_MARK_ASYNC = '将当前函数标记为异步。' COMMAND_DISABLE_DIAG = '禁用诊断' COMMAND_MARK_GLOBAL = '标记全局变量' |