diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-22 03:18:35 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-22 03:18:35 +0800 |
commit | 7881d1a3d91b59d2dd8c28a72453e0e6c44a902f (patch) | |
tree | 6c2466f3676d813ac9db469815f4af9834d1711a /locale/en-us/script.lua | |
parent | b85ff57a116fb252a0da35e525264e0940af88c7 (diff) | |
download | lua-language-server-7881d1a3d91b59d2dd8c28a72453e0e6c44a902f.zip |
new diagnostic `missing-parameter`
Diffstat (limited to 'locale/en-us/script.lua')
-rw-r--r-- | locale/en-us/script.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index a166cf47..f37f53ff 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -33,7 +33,9 @@ DIAG_PREVIOUS_CALL = DIAG_PREFIELD_CALL = 'Will be interpreted as `{}{}`. It may be necessary to add a `,` or `;`.' DIAG_OVER_MAX_ARGS = -'The function takes only {:d} parameters, but you passed {:d}.' +'The function received a maximum of {:d} arguments, but got {:d}.' +DIAG_MISS_ARGS = +'the function received at least {:d} arguments, but got {:d}.' DIAG_OVER_MAX_VALUES = 'Only has {} variables, but you set {} values.' DIAG_AMBIGUITY_1 = |