diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-09 16:59:14 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-09 16:59:14 +0800 |
commit | 55b572b1b6d7c44f23c656eecfa8498b4c1e55b9 (patch) | |
tree | fe69ff5ebf987847ac7a6a79862558b668da4d0f /server/locale | |
parent | e91edca105721ce5280f746f23eb438b27eb5d55 (diff) | |
download | lua-language-server-55b572b1b6d7c44f23c656eecfa8498b4c1e55b9.zip |
加个 do end 的快速修复
Diffstat (limited to 'server/locale')
-rw-r--r-- | server/locale/en-US/script.lni | 4 | ||||
-rw-r--r-- | server/locale/zh-CN/script.lni | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/server/locale/en-US/script.lni b/server/locale/en-US/script.lni index d70492c8..1bec292e 100644 --- a/server/locale/en-US/script.lni +++ b/server/locale/en-US/script.lni @@ -41,7 +41,8 @@ PARSER_KEYWORD = '<keyword> cannot be used as name.' PARSER_EXP_IN_ACTION = 'Unexpected <exp> .' PARSER_BREAK_OUTSIDE = '<break> not inside a loop.' PARSER_MALFORMED_NUMBER = 'Malformed number.' -PARSER_ACTION_AFTER_RETURN = '<eof> expected.' +PARSER_ACTION_AFTER_RETURN = '<eof> expected after `return`.' +PARSER_ACTION_AFTER_BREAK = '<eof> expected after `break`.' PARSER_NO_VISIBLE_LABEL = 'No visible label `{label}` .' PARSER_REDEFINE_LABEL = 'Label `{label}` already defined.' PARSER_UNSUPPORT_SYMBOL = '{version} does not support this grammar.' @@ -55,6 +56,7 @@ ACTION_ADD_SEMICOLON = 'Add `;` .' ACTION_ADD_BRACKETS = 'Add brackets.' ACTION_RUNTIME_VERSION = 'Change runtime version to {} .' ACTION_OPEN_LIBRARY = 'Load globals from {} .' +ACTION_ADD_DO_END = 'Add `do ... end` .' COMMAND_DISABLE_DIAG = 'Disable diagnostics' COMMAND_MARK_GLOBAL = 'Mark defined global' diff --git a/server/locale/zh-CN/script.lni b/server/locale/zh-CN/script.lni index bac2a238..cca71763 100644 --- a/server/locale/zh-CN/script.lni +++ b/server/locale/zh-CN/script.lni @@ -42,6 +42,7 @@ PARSER_EXP_IN_ACTION = '表达式不能独立存在。' PARSER_BREAK_OUTSIDE = '`break`必须在循环内部。' PARSER_MALFORMED_NUMBER = '无法构成有效数字。' PARSER_ACTION_AFTER_RETURN = '`return`之后不能再执行代码。' +PARSER_ACTION_AFTER_BREAK = '`break`之后不能再执行代码。' PARSER_NO_VISIBLE_LABEL = '标签`{label}`不可见。' PARSER_REDEFINE_LABEL = '标签`{label}`重复定义。' PARSER_UNSUPPORT_SYMBOL = '{version} 不支持该符号。' @@ -55,6 +56,7 @@ ACTION_ADD_SEMICOLON = '添加 `;` 。' ACTION_ADD_BRACKETS = '添加括号。' ACTION_RUNTIME_VERSION = '修改运行版本为 {} 。' ACTION_OPEN_LIBRARY = '加载 {} 中的全局变量。' +ACTION_ADD_DO_END = '添加 `do ... end` 。' COMMAND_DISABLE_DIAG = '禁用诊断' COMMAND_MARK_GLOBAL = '标记全局变量' |