diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-09-06 17:23:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-09-06 17:23:15 +0800 |
commit | b54172d818b88c41cfdc2c88f00e9caec1dea202 (patch) | |
tree | 7ccedfbe139f958e977e991d187a615099a42524 /locale/zh-cn | |
parent | 7047393031801c91c8d0cf78a77c91e5a6f64114 (diff) | |
download | lua-language-server-b54172d818b88c41cfdc2c88f00e9caec1dea202.zip |
fix #1526
Diffstat (limited to 'locale/zh-cn')
-rw-r--r-- | locale/zh-cn/script.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index 775400ec..04d5e115 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -271,6 +271,8 @@ PARSER_UNKNOWN_ATTRIBUTE = '局部变量属性应该是 `const` 或 `close`' PARSER_AMBIGUOUS_SYNTAX = '在 Lua 5.1 中,函数调用的左括号必须与函数在同一行。' +PARSER_NEED_PAREN = +'需要添加一对括号。' PARSER_LUADOC_MISS_CLASS_NAME = '缺少类名称。' PARSER_LUADOC_MISS_EXTENDS_SYMBOL = @@ -414,8 +416,10 @@ ACTION_DISABLE_DIAG_FILE= '在此文件禁用诊断 ({})。' ACTION_MARK_ASYNC = '将当前函数标记为异步。' -ACTION_ADD_DICT = -- TODO: need translate! -'Add \'{}\' to workspace dict' +ACTION_ADD_DICT = +'将 \'{}\' 添加到工作区的词典中。' +ACTION_FIX_ADD_PAREN = +'添加括号。' COMMAND_DISABLE_DIAG = '禁用诊断' |