diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-08-22 17:08:39 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-08-22 17:08:39 +0800 |
commit | cb16010fbb4128e2a5a31013e02b8cc4a4318be8 (patch) | |
tree | 0be2ac73f9bf987ea33fc070201d1eb238839dc3 /locale/zh-cn | |
parent | a5c3b64c217fb2691a23ca3b849567474b653ddf (diff) | |
download | lua-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.lua | 2 |
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 = |