diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-11-08 02:55:53 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-11-08 02:55:53 +0800 |
commit | 8c5941c4573f0c88525846fb01fd5100a3aef607 (patch) | |
tree | 61eb8af74959d693bf27501f372254cce6d53d8f /locale/zh-cn | |
parent | 8da147487c4995b8ef6d0386b9e438de047fc238 (diff) | |
download | lua-language-server-8c5941c4573f0c88525846fb01fd5100a3aef607.zip |
some improves
Diffstat (limited to 'locale/zh-cn')
-rw-r--r-- | locale/zh-cn/script.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index 5c86a1d0..86815da3 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -609,10 +609,12 @@ TYPE_ERROR_TABLE_NO_FIELD = '表中不存在字段 `{key}`' TYPE_ERROR_TABLE_FIELD_DISMATCH = '字段 `{key}` 的类型为 `{child}`,无法匹配 `{parent}`' -TYPE_ERROR_UNION_ALL_DISMATCH = +TYPE_ERROR_CHILD_ALL_DISMATCH = '`{child}` 中的所有子类型均无法匹配 `{parent}`' +TYPE_ERROR_PARENT_ALL_DISMATCH = +'`{child}` 无法匹配 `{parent}` 中的任何子类' TYPE_ERROR_UNION_DISMATCH = -'联合类型中的 `{child}` 无法匹配 `{parent}`' +'`{child}` 无法匹配 `{parent}`' TYPE_ERROR_OPTIONAL_DISMATCH = '可选类型无法匹配 `{parent}`' TYPE_ERROR_NUMBER_LITERAL_TO_INTEGER = |