From 22d7f6c23be209c7b5de149f18efa850f84915f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 23 Aug 2021 14:58:17 +0800 Subject: resolve #624 `different-requires` --- locale/en-us/script.lua | 1 + locale/zh-cn/script.lua | 1 + 2 files changed, 2 insertions(+) (limited to 'locale') diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index 35e1df8f..16a66b0a 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -41,6 +41,7 @@ DIAG_COSE_NON_OBJECT = 'Cannot close a value of this type. (Unless set `__clo DIAG_COUNT_DOWN_LOOP = 'Do you mean `{}` ?' DIAG_IMPLICIT_ANY = 'Can not infer type.' DIAG_DEPRECATED = 'Deprecated.' +DIAG_DIFFERENT_REQUIRES = 'The same file is required with different names.' 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 94787304..f1e9d95f 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -41,6 +41,7 @@ DIAG_COSE_NON_OBJECT = '无法 close 此类型的值。(除非给此类型 DIAG_COUNT_DOWN_LOOP = '你的意思是 `{}` 吗?' DIAG_IMPLICIT_ANY = '无法推测出类型。' DIAG_DEPRECATED = '已废弃。' +DIAG_DIFFERENT_REQUIRES = '使用了不同的名字 require 了同一个文件。' DIAG_CIRCLE_DOC_CLASS = '循环继承的类。' DIAG_DOC_FIELD_NO_CLASS = '字段必须定义在类之后。' -- cgit v1.2.3