summaryrefslogtreecommitdiff
path: root/server/locale/zh-CN
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-09-29 16:44:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-09-29 16:44:43 +0800
commit734d9c6abeffaf8f70ef043a7a960fdd6cf16ca1 (patch)
treea25317a492f36a79323a7c15f775b38c09f92589 /server/locale/zh-CN
parent41b4fe57bf46f5e67a8f41bde4ded038955e178d (diff)
downloadlua-language-server-734d9c6abeffaf8f70ef043a7a960fdd6cf16ca1.zip
new field call 的诊断
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 b441db5a..98cc01c8 100644
--- a/server/locale/zh-CN/script.lni
+++ b/server/locale/zh-CN/script.lni
@@ -13,6 +13,7 @@ DIAG_REDEFINED_LOCAL = '重定义局部变量 `{}`。'
DIAG_DUPLICATE_INDEX = '重复的索引 `{}`。'
DIAG_DUPLICATE_METHOD = '重复的方法 `{}`。'
DIAG_PREVIOUS_CALL = '解析为了上一行的函数调用。你可能需要在前面加一个 `;`。'
+DIAG_PREFIELD_CALL = '解析为了 `{} {}`。你可能需要在中间加一个`,`或`;`。'
DIAG_OVER_MAX_ARGS = '函数只接收 {:d} 个参数,但你传了 {:d} 个。'
DIAG_OVER_MAX_VALUES = '只有 {} 个变量,但你设置了 {} 个值。'
DIAG_AMBIGUITY_1 = '会优先运算 `{}`,你可能需要加个括号。'