diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-01-07 18:00:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-01-07 18:00:32 +0800 |
commit | 9313a2b7be1b08b736b925a472c742b4155d29d9 (patch) | |
tree | dfcab93813334a30a81d4847ac65dbf29e1f511a /server/locale | |
parent | 3adbc5362cb766f37432609579091f3e6538c147 (diff) | |
download | lua-language-server-9313a2b7be1b08b736b925a472c742b4155d29d9.zip |
更新翻译
Diffstat (limited to 'server/locale')
-rw-r--r-- | server/locale/en-US/script.lni | 4 | ||||
-rw-r--r-- | server/locale/zh-CN/script.lni | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/server/locale/en-US/script.lni b/server/locale/en-US/script.lni index 604453df..ee7cef3f 100644 --- a/server/locale/en-US/script.lni +++ b/server/locale/en-US/script.lni @@ -26,5 +26,9 @@ PARSER_ERR_ESC = 'Invalid escape sequence' PARSER_MUST_X16 = 'Should be hexadecimal digits' PARSER_MISS_EXPONENT = 'Missed digits for the exponent' PARSER_MISS_EXP = '<exp> expected' +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' SYMBOL_ANONYMOUS = '<Anonymous>' diff --git a/server/locale/zh-CN/script.lni b/server/locale/zh-CN/script.lni index 585780f1..e41a2c66 100644 --- a/server/locale/zh-CN/script.lni +++ b/server/locale/zh-CN/script.lni @@ -15,7 +15,7 @@ MWS_COMPLETE = '工作目录准备好了,你可以再试一下了.. PARSER_CRASH = '语法解析崩溃了!遗言:{}' PARSER_UNKNOWN = '未知语法错误...' -PARSER_MISS_NAME = '需要一个名字' +PARSER_MISS_NAME = '缺少名称' PARSER_UNKNOWN_SYMBOL = '未知符号`{symbol}`' PARSER_MISS_SYMBOL = '缺少符号`{symbol}`' PARSER_MISS_ESC_X = '必须是2个16进制字符' @@ -26,5 +26,9 @@ PARSER_ERR_ESC = '错误的转义符' PARSER_MUST_X16 = '必须是16进制字符' PARSER_MISS_EXPONENT = '缺少指数部分' PARSER_MISS_EXP = '缺少表达式' +PARSER_MISS_FIELD = '缺少域名' +PARSER_MISS_METHOD = '缺少方法名' +PARSER_ARGS_AFTER_DOTS = '`...`必须是最后一个参数' +PARSER_KEYWORD = '关键字无法作为名称' SYMBOL_ANONYMOUS = '<匿名函数>' |