summaryrefslogtreecommitdiff
path: root/server/locale
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-05-14 16:09:38 +0800
committersumneko <sumneko@hotmail.com>2019-05-14 16:09:38 +0800
commitb5a351cd77cb6f7ddde692557cf0c5049d5ffbac (patch)
treef633e19250fae4b7ccea8265cba029d435420eef /server/locale
parentfe3930a9f692c07eede7de3cb341ea0749b2e2ba (diff)
downloadlua-language-server-b5a351cd77cb6f7ddde692557cf0c5049d5ffbac.zip
检查未使用的不定参数
Diffstat (limited to 'server/locale')
-rw-r--r--server/locale/en-US/script.lni1
-rw-r--r--server/locale/zh-CN/script.lni1
2 files changed, 2 insertions, 0 deletions
diff --git a/server/locale/en-US/script.lni b/server/locale/en-US/script.lni
index 1072a894..51f99eb6 100644
--- a/server/locale/en-US/script.lni
+++ b/server/locale/en-US/script.lni
@@ -5,6 +5,7 @@ DIAG_UNDEF_GLOBAL = 'Undefined global `{}`.'
DIAG_UNDEF_ENV_CHILD = 'Undefined variable `{}` (overloaded `_ENV` ).'
DIAG_UNDEF_FENV_CHILD = 'Undefined variable `{}` (inside module).'
DIAG_UNUSED_LABEL = 'Unused label `{}`.'
+DIAG_UNUSED_VARARG = 'Unused vararg.'
DIAG_REDEFINED_LOCAL = 'Redefined local `{}`.'
DIAG_DUPLICATE_INDEX = 'Duplicate index `{}`.'
DIAG_PREVIOUS_CALL = 'Parsed as function call for the previous line. It may be necessary to add a `;` before.'
diff --git a/server/locale/zh-CN/script.lni b/server/locale/zh-CN/script.lni
index beabf898..aa2daf05 100644
--- a/server/locale/zh-CN/script.lni
+++ b/server/locale/zh-CN/script.lni
@@ -5,6 +5,7 @@ DIAG_UNDEF_GLOBAL = '未定义的全局变量 `{}`。'
DIAG_UNDEF_ENV_CHILD = '未定义的变量 `{}`(重载了 `_ENV` )。'
DIAG_UNDEF_FENV_CHILD = '未定义的变量 `{}`(处于模块中)。'
DIAG_UNUSED_LABEL = '未使用的标签 `{}`。'
+DIAG_UNUSED_VARARG = '未使用的不定参数。'
DIAG_REDEFINED_LOCAL = '重定义局部变量 `{}`。'
DIAG_DUPLICATE_INDEX = '重复的索引 `{}`。'
DIAG_PREVIOUS_CALL = '解析为了上一行的函数调用。你可能需要在前面加一个 `;`。'