diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-04-13 11:38:50 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-04-13 11:38:50 +0800 |
commit | 7ff91cdfa6cd43f0e3d628c94709db9dc5e2922f (patch) | |
tree | cb26ae5c0b19656d32cb38d0b44b2d5a1fb899c2 /locale | |
parent | e4c388b1ec0aa9129d1339b09a15260cbf1f7489 (diff) | |
download | lua-language-server-7ff91cdfa6cd43f0e3d628c94709db9dc5e2922f.zip |
resolve #494 new diagnostic: `deprecated`
Diffstat (limited to 'locale')
-rw-r--r-- | locale/en-us/script.lua | 1 | ||||
-rw-r--r-- | locale/zh-cn/script.lua | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index 28ccb8a7..9fbcb72e 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -40,6 +40,7 @@ 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_DEPRECATED = 'Deprecated.' 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 14e7a01c..ab369a8e 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -40,6 +40,7 @@ DIAG_REQUIRE_LIKE = '你可以在设置中将 `{}` 视为 `require`。' DIAG_COSE_NON_OBJECT = '无法 close 此类型的值。(除非给此类型设置 `__close` 元方法)' DIAG_COUNT_DOWN_LOOP = '你的意思是 `{}` 吗?' DIAG_IMPLICIT_ANY = '无法推测出类型。' +DIAG_DEPRECATED = '已废弃。' DIAG_CIRCLE_DOC_CLASS = '循环继承的类。' DIAG_DOC_FIELD_NO_CLASS = '字段必须定义在类之后。' |