From 5eb25f628dcaed93b032ba079e5262fed92de9ed Mon Sep 17 00:00:00 2001 From: jefersonf Date: Sat, 30 Oct 2021 14:13:14 -0300 Subject: fix typo dose -> does --- locale/en-us/script.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'locale/en-us/script.lua') diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index fde50ae9..e75bbcca 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -54,7 +54,7 @@ DIAG_UNDEFINED_DOC_NAME = 'Undefined type or alias `{}`.' DIAG_UNDEFINED_DOC_PARAM = 'Undefined param `{}`.' DIAG_UNKNOWN_DIAG_CODE = 'Unknown diagnostic code `{}`.' -MWS_NOT_SUPPORT = '{} dose not support multi workspace for now, I may need to restart to support the new workspace ...' +MWS_NOT_SUPPORT = '{} does not support multi workspace for now, I may need to restart to support the new workspace ...' MWS_RESTART = 'Restart' MWS_NOT_COMPLETE = 'Workspace is not complete yet. You may try again later...' MWS_COMPLETE = 'Workspace is complete now. You may try again...' -- cgit v1.2.3 From a1dc106a7cb2da5ee97c69588be8344aa8d961be Mon Sep 17 00:00:00 2001 From: jefersonf Date: Sat, 30 Oct 2021 14:25:33 -0300 Subject: missed 'be' verb --- locale/en-us/script.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'locale/en-us/script.lua') diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index e75bbcca..b897d36f 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -75,7 +75,7 @@ PARSER_UNKNOWN_SYMBOL = 'Unexpected symbol `{symbol}`.' PARSER_MISS_SYMBOL = 'Missed symbol `{symbol}`.' PARSER_MISS_ESC_X = 'Should be 2 hexadecimal digits.' PARSER_UTF8_SMALL = 'At least 1 hexadecimal digit.' -PARSER_UTF8_MAX = 'Should between {min} and {max} .' +PARSER_UTF8_MAX = 'Should be between {min} and {max} .' PARSER_ERR_ESC = 'Invalid escape sequence.' PARSER_MUST_X16 = 'Should be hexadecimal digits.' PARSER_MISS_EXPONENT = 'Missed digits for the exponent.' -- cgit v1.2.3 From 22de8f34362dd78a80020d4e2b009991c92781db Mon Sep 17 00:00:00 2001 From: jefersonf Date: Sat, 30 Oct 2021 14:32:02 -0300 Subject: fix another typo dose -> does --- locale/en-us/script.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'locale/en-us/script.lua') diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index b897d36f..31df7ec0 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -95,7 +95,7 @@ PARSER_UNSUPPORT_SYMBOL = '{version} does not support this grammar.' PARSER_UNEXPECT_DOTS = 'Cannot use `...` outside a vararg function.' PARSER_UNEXPECT_SYMBOL = 'Unexpected symbol `{symbol}` .' PARSER_UNKNOWN_TAG = 'Unknown attribute.' -PARSER_MULTI_TAG = 'Dose not support multi attributes.' +PARSER_MULTI_TAG = 'Does not support multi attributes.' PARSER_UNEXPECT_LFUNC_NAME = 'Local function can only use identifiers as name.' PARSER_UNEXPECT_EFUNC_NAME = 'Function as expression cannot be named.' PARSER_ERR_LCOMMENT_END = 'Multi-line annotations should be closed by `{symbol}` .' -- cgit v1.2.3 From 23b01e07a92ed92a40b3ee8dbdcf03174dc82db5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 3 Nov 2021 17:41:56 +0800 Subject: add mark `---@nodiscard` --- locale/en-us/script.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'locale/en-us/script.lua') diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index 3a23eee2..9181bb60 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_DISCARD_RETURNS = 'The return values of this function cannot be discarded.' DIAG_CIRCLE_DOC_CLASS = 'Circularly inherited classes.' DIAG_DOC_FIELD_NO_CLASS = 'The field must be defined after the class.' -- cgit v1.2.3