diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-01-08 17:14:46 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-01-08 17:14:46 +0800 |
commit | 8ef1f94094cc5ee3457564bf3fa2ff0383b6e479 (patch) | |
tree | 462fa901816ecfcae50250a6776d293bf174074a /server/locale | |
parent | 9ee91212ed2ef074be13d945d9acd67e6126fd38 (diff) | |
download | lua-language-server-8ef1f94094cc5ee3457564bf3fa2ff0383b6e479.zip |
更新翻译
Diffstat (limited to 'server/locale')
-rw-r--r-- | server/locale/en-US/script.lni | 6 | ||||
-rw-r--r-- | server/locale/zh-CN/script.lni | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/server/locale/en-US/script.lni b/server/locale/en-US/script.lni index bddd8999..b8ade8e4 100644 --- a/server/locale/en-US/script.lni +++ b/server/locale/en-US/script.lni @@ -29,5 +29,11 @@ PARSER_MISS_FIELD = '<field> expected' PARSER_MISS_METHOD = '<method> expected' PARSER_ARGS_AFTER_DOTS = '`...` should be the last arg' 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_NO_VISIBLE_LABEL = 'No visible label `{label}`' +PARSER_REDEFINE_LABEL = 'Label `{label}` already defined' SYMBOL_ANONYMOUS = '<Anonymous>' diff --git a/server/locale/zh-CN/script.lni b/server/locale/zh-CN/script.lni index 86911fe1..7cd559fd 100644 --- a/server/locale/zh-CN/script.lni +++ b/server/locale/zh-CN/script.lni @@ -29,5 +29,11 @@ PARSER_MISS_FIELD = '缺少域名' PARSER_MISS_METHOD = '缺少方法名' PARSER_ARGS_AFTER_DOTS = '`...`必须是最后一个参数' PARSER_KEYWORD = '关键字无法作为名称' +PARSER_EXP_IN_ACTION = '表达式不能独立存在' +PARSER_BREAK_OUTSIDE = '`break`必须在循环内部' +PARSER_MALFORMED_NUMBER = '无法构成有效数字' +PARSER_ACTION_AFTER_RETURN = '`return`之后不能再执行代码' +PARSER_NO_VISIBLE_LABEL = '标签`{label}`不可见' +PARSER_REDEFINE_LABEL = '标签`{label}`重复定义' SYMBOL_ANONYMOUS = '<匿名函数>' |