summaryrefslogtreecommitdiff
path: root/locale/zh-tw/script.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-11-08 02:55:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-11-08 02:55:53 +0800
commit8c5941c4573f0c88525846fb01fd5100a3aef607 (patch)
tree61eb8af74959d693bf27501f372254cce6d53d8f /locale/zh-tw/script.lua
parent8da147487c4995b8ef6d0386b9e438de047fc238 (diff)
downloadlua-language-server-8c5941c4573f0c88525846fb01fd5100a3aef607.zip
some improves
Diffstat (limited to 'locale/zh-tw/script.lua')
-rw-r--r--locale/zh-tw/script.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua
index 36615a05..060ae8ab 100644
--- a/locale/zh-tw/script.lua
+++ b/locale/zh-tw/script.lua
@@ -609,10 +609,12 @@ TYPE_ERROR_TABLE_NO_FIELD = -- TODO: need translate!
'Field `{key}` does not exist in the table'
TYPE_ERROR_TABLE_FIELD_DISMATCH = -- TODO: need translate!
'The type of field `{key}` is `{child}`, which cannot match `{parent}`'
-TYPE_ERROR_UNION_ALL_DISMATCH = -- TODO: need translate!
+TYPE_ERROR_CHILD_ALL_DISMATCH = -- TODO: need translate!
'All subtypes in `{child}` cannot match `{parent}`'
+TYPE_ERROR_PARENT_ALL_DISMATCH = -- TODO: need translate!
+'`{child}` cannot match any subtypes in `{parent}`'
TYPE_ERROR_UNION_DISMATCH = -- TODO: need translate!
-'`{child}` in union type cannot match `{parent}`'
+'`{child}` cannot match `{parent}`'
TYPE_ERROR_OPTIONAL_DISMATCH = -- TODO: need translate!
'Optional type cannot match `{parent}`'
TYPE_ERROR_NUMBER_LITERAL_TO_INTEGER = -- TODO: need translate!