summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-12 02:17:35 +0800
committerGitHub <noreply@github.com>2022-06-12 02:17:35 +0800
commit2dc94335203311d87ecf501b34fa9b973b4b8cb0 (patch)
treefbd014545d28e3b4394267c93d46356a0101acea
parentd99c23af4bf8be944f58b374141dbfb81d48b5f5 (diff)
parent07e33a247a9278d63b9abd96f1b86697dcb96940 (diff)
downloadlua-language-server-2dc94335203311d87ecf501b34fa9b973b4b8cb0.zip
Merge pull request #1197 from carsakiller/master
Fix weird wording for parameter counts
-rw-r--r--locale/en-us/script.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua
index 37ed5aad..e3071bcc 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -33,9 +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 received a maximum of {:d} arguments, but got {:d}.'
+'This function expects a maximum of {:d} argument(s) but instead it is receiving {:d}.'
DIAG_MISS_ARGS =
-'the function received at least {:d} arguments, but got {:d}.'
+'This function requires {:d} argument(s) but instead it is receiving {:d}.'
DIAG_OVER_MAX_VALUES =
'Only has {} variables, but you set {} values.'
DIAG_AMBIGUITY_1 =