diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-08-14 15:07:49 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-08-14 15:07:49 +0800 |
commit | 01a741f8416f074199303235eb533b8f3446e85b (patch) | |
tree | f2822f3f76500855879ba2515b097405df5a2327 /locale/zh-cn | |
parent | 63edb992a363a97dfa3f02a988f5f7771d5b0b03 (diff) | |
download | lua-language-server-01a741f8416f074199303235eb533b8f3446e85b.zip |
also check `doc.type.table`
Diffstat (limited to 'locale/zh-cn')
-rw-r--r-- | locale/zh-cn/script.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index ef408533..b59411a9 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -171,7 +171,11 @@ DIAG_GLOBAL_ELEMENT = DIAG_MISSING_FIELDS = '缺少字段: {}' DIAG_INJECT_FIELD = -'不能在 `{class}` 的引用中注入字段 `{field}` 。如要这么做,请对 `{node}` 使用 `---@class` 。' +'不能在 `{class}` 的引用中注入字段 `{field}` 。{fix}' +DIAG_INJECT_FIELD_FIX_CLASS = +'如要允许注入,请对 `{node}` 使用 `{fix}` 。' +DIAG_INJECT_FIELD_FIX_TABLE = +'如要允许注入,请在定义中添加 `{fix}` 。' MWS_NOT_SUPPORT = '{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...' |