summaryrefslogtreecommitdiff
path: root/locale/zh-cn
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-08-22 17:08:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-08-22 17:08:39 +0800
commitcb16010fbb4128e2a5a31013e02b8cc4a4318be8 (patch)
tree0be2ac73f9bf987ea33fc070201d1eb238839dc3 /locale/zh-cn
parenta5c3b64c217fb2691a23ca3b849567474b653ddf (diff)
downloadlua-language-server-cb16010fbb4128e2a5a31013e02b8cc4a4318be8.zip
fix wrong `missing-fields` with union types
fix #2252
Diffstat (limited to 'locale/zh-cn')
-rw-r--r--locale/zh-cn/script.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index b59411a9..6459a104 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -169,7 +169,7 @@ DIAG_INVISIBLE_PACKAGE =
DIAG_GLOBAL_ELEMENT =
'全局变量。'
DIAG_MISSING_FIELDS =
-'缺少字段: {}'
+'缺少类型 `{1}` 的必要字段: {2}'
DIAG_INJECT_FIELD =
'不能在 `{class}` 的引用中注入字段 `{field}` 。{fix}'
DIAG_INJECT_FIELD_FIX_CLASS =