summaryrefslogtreecommitdiff
path: root/locale/zh-cn
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-03-10 20:46:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-03-10 20:46:02 +0800
commit77bc1ea114cbfbad12c442c0e9794639fa0b7834 (patch)
tree4c74a091deca4298e519258a0d4f7568642974c9 /locale/zh-cn
parent48e8ce2531e4b0c96380dd565a511829415df080 (diff)
downloadlua-language-server-77bc1ea114cbfbad12c442c0e9794639fa0b7834.zip
missed syntax error `function m['x']() end`
Diffstat (limited to 'locale/zh-cn')
-rw-r--r--locale/zh-cn/script.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index c5b932c6..0cc505f2 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -108,6 +108,7 @@ PARSER_SET_CONST = '不能对常量赋值。'
PARSER_UNICODE_NAME = '包含了 Unicode 字符。'
PARSER_ERR_NONSTANDARD_SYMBOL = 'Lua中应使用符号 `{symbol}`。'
PARSER_MISS_SPACE_BETWEEN = '符号之间必须保留空格'
+PARSER_INDEX_IN_FUNC_NAME = '命名函数的名称中不能使用 `[name]` 形式。'
PARSER_LUADOC_MISS_CLASS_NAME = '缺少类名称。'
PARSER_LUADOC_MISS_EXTENDS_SYMBOL = '缺少符号 `:`。'