summaryrefslogtreecommitdiff
path: root/server/locale/en-US/script.lni
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-15 14:46:03 +0800
committersumneko <sumneko@hotmail.com>2019-04-15 14:46:03 +0800
commit31cb7ffd42ba378b1d8f7688c81a0af8562d2d86 (patch)
tree9c1f70ef88e11b0f149e744e92eb9e305c330a0c /server/locale/en-US/script.lni
parentdb94d34ffad249c83022ef861677dfda7c6e3f36 (diff)
downloadlua-language-server-31cb7ffd42ba378b1d8f7688c81a0af8562d2d86.zip
诊断支持重复索引
Diffstat (limited to 'server/locale/en-US/script.lni')
-rw-r--r--server/locale/en-US/script.lni1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/locale/en-US/script.lni b/server/locale/en-US/script.lni
index 1bec292e..5da02108 100644
--- a/server/locale/en-US/script.lni
+++ b/server/locale/en-US/script.lni
@@ -6,6 +6,7 @@ DIAG_UNDEF_ENV_CHILD = 'Undefined variable `{}` (overloaded `_ENV` ).'
DIAG_UNDEF_FENV_CHILD = 'Undefined variable `{}` (inside module).'
DIAG_UNUSED_LABEL = 'Unused label `{}`.'
DIAG_REDEFINED_LOCAL = 'Redefined local `{}`.'
+DIAG_DUPLICATE_INDEX = 'Duplicate index `{}`.'
DIAG_PREVIOUS_CALL = 'Parsed as function call for the previous line. It may be necessary to add a `;` before.'
DIAG_OVER_MAX_ARGS = 'The function takes only {:d} parameters, but you passed {:d}.'
DIAG_AMBIGUITY_1 = 'Compute `0 {op} {num}` first. You may need to add brackets.'