summaryrefslogtreecommitdiff
path: root/locale/zh-cn
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-03-15 18:03:34 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-03-15 18:03:34 +0800
commit2426bbe0758801ecfe4369d72f6755e9ef193cc5 (patch)
tree28fd3385b767b6eea451b1cbc95bce624ce9a879 /locale/zh-cn
parent4e68872ea96a53f9c7ad5e11c83794b92f477fb4 (diff)
downloadlua-language-server-2426bbe0758801ecfe4369d72f6755e9ef193cc5.zip
diagnostic: improve `newline-call`
Diffstat (limited to 'locale/zh-cn')
-rw-r--r--locale/zh-cn/script.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index 53149a6f..386d2cc5 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -13,8 +13,8 @@ DIAG_UNUSED_VARARG = '未使用的不定参数。'
DIAG_REDEFINED_LOCAL = '重定义局部变量 `{}`。'
DIAG_DUPLICATE_INDEX = '重复的索引 `{}`。'
DIAG_DUPLICATE_METHOD = '重复的方法 `{}`。'
-DIAG_PREVIOUS_CALL = '解析为了上一行的函数调用。你可能需要在前面加一个 `;`。'
-DIAG_PREFIELD_CALL = '解析为了 `{} {}`。你可能需要在中间加一个`,`或`;`。'
+DIAG_PREVIOUS_CALL = '会被解释为 `{}{}`。你可能需要加一个 `;`。'
+DIAG_PREFIELD_CALL = '会被解释为 `{}{}`。你可能需要加一个`,`或`;`。'
DIAG_OVER_MAX_ARGS = '函数只接收 {:d} 个参数,但你传了 {:d} 个。'
DIAG_OVER_MAX_VALUES = '只有 {} 个变量,但你设置了 {} 个值。'
DIAG_AMBIGUITY_1 = '会优先运算 `{}`,你可能需要加个括号。'