summaryrefslogtreecommitdiff
path: root/server/locale/zh-CN/script.lni
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-29 16:22:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-29 16:22:02 +0800
commit8b0c14300059fa949b6d8fe5d95305c8be5ccd60 (patch)
treef594756f9a25fcdfa0a5926f7e49c3be282d5d46 /server/locale/zh-CN/script.lni
parent4b96bc247b4b345757e43bb54451b482d7bfd5bc (diff)
downloadlua-language-server-8b0c14300059fa949b6d8fe5d95305c8be5ccd60.zip
重载变量未定义的诊断
Diffstat (limited to 'server/locale/zh-CN/script.lni')
-rw-r--r--server/locale/zh-CN/script.lni3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/locale/zh-CN/script.lni b/server/locale/zh-CN/script.lni
index 0d9dc6cf..d3a18b36 100644
--- a/server/locale/zh-CN/script.lni
+++ b/server/locale/zh-CN/script.lni
@@ -2,7 +2,8 @@
DIAG_LINE_ONLY_SPACE = '只有空格的空行。'
DIAG_LINE_POST_SPACE = '后置空格。'
DIAG_UNUSED_LOCAL = '未使用的局部变量 `{}`。'
-DIAG_UNDEFINED_GLOBAL = '未定义的全局变量 `{}`。'
+DIAG_UNDEF_GLOBAL = '未定义的全局变量 `{}`。'
+DIAG_UNDEF_ENV_CHILD = '未定义的变量 `{}`(重载了 `_ENV` )。'
DIAG_UNUSED_LABEL = '未使用的标签 `{}`。'
DIAG_REDEFINED_LOCAL = '重定义局部变量 `{}`。'
DIAG_PREVIOUS_CALL = '解析为了上一行的函数调用。你可能需要在前面加一个 `;`。'