summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-23 19:31:48 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-23 19:31:48 +0800
commit63396ada5c7d2037ec19ed45e99e1a56f23c590b (patch)
tree9a1beb761861b8628cd86715aee4a5040f6f3b3b /locale
parent54876cb601466c409eb0be1af489c7ceca7f22cf (diff)
downloadlua-language-server-63396ada5c7d2037ec19ed45e99e1a56f23c590b.zip
close #328 new diagnostic: `no-implicit-any`
Diffstat (limited to 'locale')
-rw-r--r--locale/en-us/script.lua1
-rw-r--r--locale/zh-cn/script.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua
index a11772cb..3d04b55c 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -39,6 +39,7 @@ DIAG_UNBALANCED_ASSIGNMENTS = 'The value is assigned as `nil` because the number
DIAG_REQUIRE_LIKE = 'You can treat `{}` as `require` by setting.'
DIAG_COSE_NON_OBJECT = 'Cannot close a value of this type. (Unless set `__close` meta method)'
DIAG_COUNT_DOWN_LOOP = 'Do you mean `{}` ?'
+DIAG_IMPLICIT_ANY = 'Can not infer type.'
DIAG_CIRCLE_DOC_CLASS = 'Circularly inherited classes.'
DIAG_DOC_FIELD_NO_CLASS = 'The field must be defined after the class.'
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index ef975c0c..a1bc4f5c 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -39,6 +39,7 @@ DIAG_UNBALANCED_ASSIGNMENTS = '由于值的数量不够而被赋值为了 `nil`
DIAG_REQUIRE_LIKE = '你可以在设置中将 `{}` 视为 `require`。'
DIAG_COSE_NON_OBJECT = '无法 close 此类型的值。(除非给此类型设置 `__close` 元方法)'
DIAG_COUNT_DOWN_LOOP = '你的意思是 `{}` 吗?'
+DIAG_IMPLICIT_ANY = '无法推测出类型。'
DIAG_CIRCLE_DOC_CLASS = '循环继承的类。'
DIAG_DOC_FIELD_NO_CLASS = '字段必须定义在类之后。'