summaryrefslogtreecommitdiff
path: root/locale/zh-cn
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-08-14 14:21:37 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-08-14 14:21:37 +0800
commit63edb992a363a97dfa3f02a988f5f7771d5b0b03 (patch)
tree3be9e8ee2cfd6bcdae73630293b7fc1d3821dd0e /locale/zh-cn
parent525d095c55c696a36f67caae5e4e8f631e10c116 (diff)
downloadlua-language-server-63edb992a363a97dfa3f02a988f5f7771d5b0b03.zip
new diag: `inject-field`
#1990
Diffstat (limited to 'locale/zh-cn')
-rw-r--r--locale/zh-cn/script.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index be0cad3b..ef408533 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -170,6 +170,8 @@ DIAG_GLOBAL_ELEMENT =
'全局变量。'
DIAG_MISSING_FIELDS =
'缺少字段: {}'
+DIAG_INJECT_FIELD =
+'不能在 `{class}` 的引用中注入字段 `{field}` 。如要这么做,请对 `{node}` 使用 `---@class` 。'
MWS_NOT_SUPPORT =
'{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...'