From 8ef1f94094cc5ee3457564bf3fa2ff0383b6e479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 8 Jan 2019 17:14:46 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/locale/en-US/script.lni | 6 ++++++ server/locale/zh-CN/script.lni | 6 ++++++ 2 files changed, 12 insertions(+) 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 = ' expected' PARSER_MISS_METHOD = ' expected' PARSER_ARGS_AFTER_DOTS = '`...` should be the last arg' PARSER_KEYWORD = ' cannot be used as name' +PARSER_EXP_IN_ACTION = 'Unexpected ' +PARSER_BREAK_OUTSIDE = ' not inside a loop' +PARSER_MALFORMED_NUMBER = 'Malformed number' +PARSER_ACTION_AFTER_RETURN = ' expected' +PARSER_NO_VISIBLE_LABEL = 'No visible label `{label}`' +PARSER_REDEFINE_LABEL = 'Label `{label}` already defined' SYMBOL_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 = '<匿名函数>' -- cgit v1.2.3