summaryrefslogtreecommitdiff
path: root/locale/en-us/script.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-08 15:54:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-08 15:54:58 +0800
commit93abb07995244becd028828c1bfb9ee4a76ca7f9 (patch)
treebe0f7cfe7a3c86eec157585f82f407ed067b5f59 /locale/en-us/script.lua
parente9c0fee9f413cc55d141231a40775cb48037ccf3 (diff)
parent5a8e3212d25a5c511e25cdf00232e807a7fb5da7 (diff)
downloadlua-language-server-93abb07995244becd028828c1bfb9ee4a76ca7f9.zip
Merge branch 'master' into not-yieldable
Diffstat (limited to 'locale/en-us/script.lua')
-rw-r--r--locale/en-us/script.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua
index b81723b4..a03aec0a 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -45,6 +45,7 @@ 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_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.'
@@ -56,7 +57,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...'
@@ -77,7 +78,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.'
@@ -97,7 +98,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}` .'