diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-11-08 02:26:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-11-08 02:26:43 +0800 |
commit | 8da147487c4995b8ef6d0386b9e438de047fc238 (patch) | |
tree | 5397344a307fdced8ceb78a6d0a598459f6856b8 | |
parent | ebf3d6ce1a24270ba796c9819c40d1964edec220 (diff) | |
download | lua-language-server-8da147487c4995b8ef6d0386b9e438de047fc238.zip |
update locale (thanks fanyi.baidu.com)
-rw-r--r-- | locale/en-us/script.lua | 33 | ||||
-rw-r--r-- | locale/pt-br/script.lua | 33 | ||||
-rw-r--r-- | locale/zh-cn/script.lua | 1 | ||||
-rw-r--r-- | locale/zh-tw/script.lua | 33 |
4 files changed, 99 insertions, 1 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index 5a6a5c9b..c9cb991c 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -589,6 +589,39 @@ CLI_CHECK_SUCCESS = CLI_CHECK_RESULTS = 'Diagnosis complete, {} problems found, see {}' +TYPE_ERROR_ENUM_GLOBAL_DISMATCH = +'Type `{child}` cannot match enumeration type of `{parent}`' +TYPE_ERROR_ENUM_GENERIC_UNSUPPORTED = +'Cannot use generic `{child}` in enumeration' +TYPE_ERROR_ENUM_LITERAL_DISMATCH = +'Literal `{child}` cannot match the enumeration value of `{parent}`' +TYPE_ERROR_ENUM_OBJECT_DISMATCH = +'The object `{child}` cannot match the enumeration value of `{parent}`. They must be the same object' +TYPE_ERROR_ENUM_NO_OBJECT = +'The passed in enumeration value `{child}` is not recognized' +TYPE_ERROR_INTEGER_DISMATCH = +'Literal `{child}` cannot match integer `{parent}`' +TYPE_ERROR_STRING_DISMATCH = +'Literal `{child}` cannot match string `{parent}`' +TYPE_ERROR_BOOLEAN_DISMATCH = +'Literal `{child}` cannot match boolean `{parent}`' +TYPE_ERROR_TABLE_NO_FIELD = +'Field `{key}` does not exist in the table' +TYPE_ERROR_TABLE_FIELD_DISMATCH = +'The type of field `{key}` is `{child}`, which cannot match `{parent}`' +TYPE_ERROR_UNION_ALL_DISMATCH = +'All subtypes in `{child}` cannot match `{parent}`' +TYPE_ERROR_UNION_DISMATCH = +'`{child}` in union type cannot match `{parent}`' +TYPE_ERROR_OPTIONAL_DISMATCH = +'Optional type cannot match `{parent}`' +TYPE_ERROR_NUMBER_LITERAL_TO_INTEGER = +'The number `{child}` cannot be converted to an integer' +TYPE_ERROR_NUMBER_TYPE_TO_INTEGER = +'Cannot convert number type to integer type' +TYPE_ERROR_DISMATCH = +'Type `{child}` cannot match `{parent}`' + LUADOC_DESC_CLASS = [=[ Defines a class/table structure diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua index be084abb..8f01f949 100644 --- a/locale/pt-br/script.lua +++ b/locale/pt-br/script.lua @@ -589,6 +589,39 @@ CLI_CHECK_SUCCESS = CLI_CHECK_RESULTS = 'Diagnóstico completo, {} problemas encontrados, veja {}' +TYPE_ERROR_ENUM_GLOBAL_DISMATCH = -- TODO: need translate! +'Type `{child}` cannot match enumeration type of `{parent}`' +TYPE_ERROR_ENUM_GENERIC_UNSUPPORTED = -- TODO: need translate! +'Cannot use generic `{child}` in enumeration' +TYPE_ERROR_ENUM_LITERAL_DISMATCH = -- TODO: need translate! +'Literal `{child}` cannot match the enumeration value of `{parent}`' +TYPE_ERROR_ENUM_OBJECT_DISMATCH = -- TODO: need translate! +'The object `{child}` cannot match the enumeration value of `{parent}`. They must be the same object' +TYPE_ERROR_ENUM_NO_OBJECT = -- TODO: need translate! +'The passed in enumeration value `{child}` is not recognized' +TYPE_ERROR_INTEGER_DISMATCH = -- TODO: need translate! +'Literal `{child}` cannot match integer `{parent}`' +TYPE_ERROR_STRING_DISMATCH = -- TODO: need translate! +'Literal `{child}` cannot match string `{parent}`' +TYPE_ERROR_BOOLEAN_DISMATCH = -- TODO: need translate! +'Literal `{child}` cannot match boolean `{parent}`' +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! +'All subtypes in `{child}` cannot match `{parent}`' +TYPE_ERROR_UNION_DISMATCH = -- TODO: need translate! +'`{child}` in union type cannot match `{parent}`' +TYPE_ERROR_OPTIONAL_DISMATCH = -- TODO: need translate! +'Optional type cannot match `{parent}`' +TYPE_ERROR_NUMBER_LITERAL_TO_INTEGER = -- TODO: need translate! +'The number `{child}` cannot be converted to an integer' +TYPE_ERROR_NUMBER_TYPE_TO_INTEGER = -- TODO: need translate! +'Cannot convert number type to integer type' +TYPE_ERROR_DISMATCH = -- TODO: need translate! +'Type `{child}` cannot match `{parent}`' + LUADOC_DESC_CLASS = -- TODO: need translate! [=[ Defines a class/table structure diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index 5bf157ad..5c86a1d0 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -622,7 +622,6 @@ TYPE_ERROR_NUMBER_TYPE_TO_INTEGER = TYPE_ERROR_DISMATCH = '类型 `{child}` 无法匹配 `{parent}`' - LUADOC_DESC_CLASS = -- TODO: need translate! [=[ Defines a class/table structure diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua index 0f753381..36615a05 100644 --- a/locale/zh-tw/script.lua +++ b/locale/zh-tw/script.lua @@ -589,6 +589,39 @@ CLI_CHECK_SUCCESS = CLI_CHECK_RESULTS = '診斷完成,共有 {} 個問題,請查看 {}' +TYPE_ERROR_ENUM_GLOBAL_DISMATCH = -- TODO: need translate! +'Type `{child}` cannot match enumeration type of `{parent}`' +TYPE_ERROR_ENUM_GENERIC_UNSUPPORTED = -- TODO: need translate! +'Cannot use generic `{child}` in enumeration' +TYPE_ERROR_ENUM_LITERAL_DISMATCH = -- TODO: need translate! +'Literal `{child}` cannot match the enumeration value of `{parent}`' +TYPE_ERROR_ENUM_OBJECT_DISMATCH = -- TODO: need translate! +'The object `{child}` cannot match the enumeration value of `{parent}`. They must be the same object' +TYPE_ERROR_ENUM_NO_OBJECT = -- TODO: need translate! +'The passed in enumeration value `{child}` is not recognized' +TYPE_ERROR_INTEGER_DISMATCH = -- TODO: need translate! +'Literal `{child}` cannot match integer `{parent}`' +TYPE_ERROR_STRING_DISMATCH = -- TODO: need translate! +'Literal `{child}` cannot match string `{parent}`' +TYPE_ERROR_BOOLEAN_DISMATCH = -- TODO: need translate! +'Literal `{child}` cannot match boolean `{parent}`' +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! +'All subtypes in `{child}` cannot match `{parent}`' +TYPE_ERROR_UNION_DISMATCH = -- TODO: need translate! +'`{child}` in union type cannot match `{parent}`' +TYPE_ERROR_OPTIONAL_DISMATCH = -- TODO: need translate! +'Optional type cannot match `{parent}`' +TYPE_ERROR_NUMBER_LITERAL_TO_INTEGER = -- TODO: need translate! +'The number `{child}` cannot be converted to an integer' +TYPE_ERROR_NUMBER_TYPE_TO_INTEGER = -- TODO: need translate! +'Cannot convert number type to integer type' +TYPE_ERROR_DISMATCH = -- TODO: need translate! +'Type `{child}` cannot match `{parent}`' + LUADOC_DESC_CLASS = [=[ 定義一個類別/表結構 |