diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-23 17:46:30 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-23 17:46:30 +0800 |
commit | 54876cb601466c409eb0be1af489c7ceca7f22cf (patch) | |
tree | 5f163db31216d283347246c04b6fe469dd4c7d76 /locale/zh-cn | |
parent | ea72b346a69e29110482e55044b8dcf02c378863 (diff) | |
download | lua-language-server-54876cb601466c409eb0be1af489c7ceca7f22cf.zip |
close #415 new diagnostic: `duplicate-set-field`
Diffstat (limited to 'locale/zh-cn')
-rw-r--r-- | locale/zh-cn/script.lua | 2 |
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` 后的代码。' |