diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-03-12 18:36:58 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-03-12 18:36:58 +0800 |
commit | 1fa9ad87670ca2f6a27a708f6f039ed398e9fa2a (patch) | |
tree | 7492bd9e14faea2d2f2a46961c1c8f8bb26fadb5 /locale/zh-cn/script.lua | |
parent | 36e59b4cee467b6db3c16d86df17e312608033da (diff) | |
download | lua-language-server-1fa9ad87670ca2f6a27a708f6f039ed398e9fa2a.zip |
quick fix: disable diagnostic in line/file
Diffstat (limited to 'locale/zh-cn/script.lua')
-rw-r--r-- | locale/zh-cn/script.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index 0cc505f2..53149a6f 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -156,7 +156,7 @@ HOVER_USE_LUA_PATH = '(假设搜索路径包含 `{}`)' HOVER_EXTENDS = '展开为 {}' HOVER_TABLE_TIME_UP = '出于性能考虑,已禁用了部分类型推断。' -ACTION_DISABLE_DIAG = '禁用诊断({})。' +ACTION_DISABLE_DIAG = '在工作区禁用诊断 ({})。' ACTION_MARK_GLOBAL = '标记 `{}` 为已定义的全局变量。' ACTION_REMOVE_SPACE = '清除所有后置空格。' ACTION_ADD_SEMICOLON = '添加 `;` 。' @@ -181,6 +181,8 @@ ACTION_RUNTIME_UNICODE_NAME = '允许使用 Unicode 字符。' ACTION_SWAP_PARAMS = '将其改为 `{node}` 的第 {index} 个参数' ACTION_FIX_INSERT_SPACE = '插入空格' ACTION_JSON_TO_LUA = '把 JSON 转成 Lua' +ACTION_DISABLE_DIAG_LINE= '在此行禁用诊断 ({})。' +ACTION_DISABLE_DIAG_FILE= '在此文件禁用诊断 ({})。' COMMAND_DISABLE_DIAG = '禁用诊断' COMMAND_MARK_GLOBAL = '标记全局变量' |