summaryrefslogtreecommitdiff
path: root/server/locale/en-US
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/en-US
parent4b96bc247b4b345757e43bb54451b482d7bfd5bc (diff)
downloadlua-language-server-8b0c14300059fa949b6d8fe5d95305c8be5ccd60.zip
重载变量未定义的诊断
Diffstat (limited to 'server/locale/en-US')
-rw-r--r--server/locale/en-US/script.lni3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/locale/en-US/script.lni b/server/locale/en-US/script.lni
index 65d5743e..b66e52c3 100644
--- a/server/locale/en-US/script.lni
+++ b/server/locale/en-US/script.lni
@@ -2,7 +2,8 @@
DIAG_LINE_ONLY_SPACE = 'Line with spaces only.'
DIAG_LINE_POST_SPACE = 'Line with postspace.'
DIAG_UNUSED_LOCAL = 'Unused local `{}`.'
-DIAG_UNDEFINED_GLOBAL = 'Undefined global `{}`.'
+DIAG_UNDEF_GLOBAL = 'Undefined global `{}`.'
+DIAG_UNDEF_ENV_CHILD = 'Undefined variable `{}` (overloaded `_ENV` ).'
DIAG_UNUSED_LABEL = 'Unused label `{}`.'
DIAG_REDEFINED_LOCAL = 'Redefined local `{}`.'
DIAG_PREVIOUS_CALL = 'Parsed as function call for the previous line. It may be necessary to add a `;` before.'