From 012572850ec31efbfe8cbcdb18be06750346e170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 2 Nov 2021 21:34:02 +0800 Subject: update locale --- locale/en-us/script.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'locale/en-us') diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index eb8c12ee..b81723b4 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -44,6 +44,7 @@ DIAG_DEPRECATED = 'Deprecated.' DIAG_DIFFERENT_REQUIRES = 'The same file is required with different names.' DIAG_REDUNDANT_RETURN = 'Redundant return.' DIAG_AWAIT_IN_SYNC = 'Async function can only be called in async function.' +DIAG_NOT_YIELDABLE = 'The {}th parameter of this function was not marked as yieldable, but an async function was passed in. (Use `---@param name async fun()` to mark as yieldable)' DIAG_CIRCLE_DOC_CLASS = 'Circularly inherited classes.' DIAG_DOC_FIELD_NO_CLASS = 'The field must be defined after the class.' -- cgit v1.2.3