diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 21:25:21 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 21:25:21 +0800 |
commit | 2548e6d5f5744d38230866e07c1eaec1c16a1302 (patch) | |
tree | 19bf1e4d7a41eb898d15ff5b1638f6bbb8515f97 /locale/en-us/script.lua | |
parent | dc8d3adcd83a8d9bc33b8b783fce3f2ad76be917 (diff) | |
download | lua-language-server-2548e6d5f5744d38230866e07c1eaec1c16a1302.zip |
update locale
Diffstat (limited to 'locale/en-us/script.lua')
-rw-r--r-- | locale/en-us/script.lua | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index 53b8f9ab..2607907d 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -127,7 +127,19 @@ DIAG_PARAM_TYPE_MISMATCH = DIAG_UNKNOWN_CAST_VARIABLE = 'Unknown type conversion variable `{}`.' DIAG_CAST_TYPE_MISMATCH = -'Cannot convert `{ref}` to `{def}`。' +'Cannot convert `{def}` to `{ref}`。' +DIAG_MISSING_RETURN_VALUE = +'At least {min} return values are required, but here only {rmax} values are returned.' +DIAG_MISSING_RETURN_VALUE_RANGE = +'At least {min} return values are required, but here only {rmin} to {rmax} values are returned.' +DIAG_REDUNDANT_RETURN_VALUE = +'At most {max} values returned, but the {rmax}th value was returned here.' +DIAG_REDUNDANT_RETURN_VALUE_RANGE = +'At most {max} values returned, but {rmin}th to {rmax}th values were returned here.' +DIAG_MISSING_RETURN = +'Return value is required here.' +DIAG_RETURN_TYPE_MISMATCH = +'The type of the {index} return value is `{def}`, but the actual return is `{ref}`.' MWS_NOT_SUPPORT = '{} does not support multi workspace for now, I may need to restart to support the new workspace ...' |