summaryrefslogtreecommitdiff
path: root/server/locale/zh-CN
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/zh-CN
parentdb94d34ffad249c83022ef861677dfda7c6e3f36 (diff)
downloadlua-language-server-31cb7ffd42ba378b1d8f7688c81a0af8562d2d86.zip
诊断支持重复索引
Diffstat (limited to 'server/locale/zh-CN')
-rw-r--r--server/locale/zh-CN/script.lni1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/locale/zh-CN/script.lni b/server/locale/zh-CN/script.lni
index cca71763..a0fe9701 100644
--- a/server/locale/zh-CN/script.lni
+++ b/server/locale/zh-CN/script.lni
@@ -6,6 +6,7 @@ DIAG_UNDEF_ENV_CHILD = '未定义的变量 `{}`(重载了 `_ENV` )。'
DIAG_UNDEF_FENV_CHILD = '未定义的变量 `{}`(处于模块中)。'
DIAG_UNUSED_LABEL = '未使用的标签 `{}`。'
DIAG_REDEFINED_LOCAL = '重定义局部变量 `{}`。'
+DIAG_DUPLICATE_INDEX = '重复的索引 `{}`。'
DIAG_PREVIOUS_CALL = '解析为了上一行的函数调用。你可能需要在前面加一个 `;`。'
DIAG_OVER_MAX_ARGS = '函数只接收 {:d} 个参数,但你传了 {:d} 个。'
DIAG_AMBIGUITY_1 = '会优先运算 `0 {op} {num}`,你可能需要加个括号。'