summaryrefslogtreecommitdiff
path: root/locale/zh-cn/script.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-23 17:46:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-23 17:46:30 +0800
commit54876cb601466c409eb0be1af489c7ceca7f22cf (patch)
tree5f163db31216d283347246c04b6fe469dd4c7d76 /locale/zh-cn/script.lua
parentea72b346a69e29110482e55044b8dcf02c378863 (diff)
downloadlua-language-server-54876cb601466c409eb0be1af489c7ceca7f22cf.zip
close #415 new diagnostic: `duplicate-set-field`
Diffstat (limited to 'locale/zh-cn/script.lua')
-rw-r--r--locale/zh-cn/script.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index cfbc307a..ef975c0c 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -31,7 +31,7 @@ DIAG_CYCLIC_EXTENDS = '循环继承。'
DIAG_INEXISTENT_PARAM = '不存在的参数。'
DIAG_DUPLICATE_PARAM = '重复的参数。'
DIAG_NEED_CLASS = '需要先定义 Class 。'
-DIAG_DUPLICATE_FIELD = '重复定义的 field 。'
+DIAG_DUPLICATE_SET_FIELD= '重复定义的字段 `{}`。'
DIAG_SET_CONST = '不能对常量赋值。'
DIAG_SET_FOR_STATE = '修改了循环变量。'
DIAG_CODE_AFTER_BREAK = '无法执行到 `break` 后的代码。'