From 8b9e70e10d2b9c60c647b9d9d3de96a384aacbfc Mon Sep 17 00:00:00 2001 From: sumneko Date: Thu, 30 May 2019 11:26:20 +0800 Subject: =?UTF-8?q?=E5=8A=A0=E4=B8=8A=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 | 16 +++++++++------- server/locale/zh-CN/script.lni | 2 ++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/server/locale/en-US/script.lni b/server/locale/en-US/script.lni index 811f94ce..e73661e5 100644 --- a/server/locale/en-US/script.lni +++ b/server/locale/en-US/script.lni @@ -12,13 +12,13 @@ DIAG_PREVIOUS_CALL = 'Parsed as function call for the previous line. It may DIAG_OVER_MAX_ARGS = 'The function takes only {:d} parameters, but you passed {:d}.' DIAG_OVER_MAX_ARGS = 'Only has {} variables, but you set {} values.' DIAG_AMBIGUITY_1 = 'Compute `0 {op} {num}` first. You may need to add brackets.' -DIAG_LOWERCASE_GLOBAL = 'Global variable in lowercase initial' -DIAG_EMPTY_BLOCK = 'Empty block' -DIAG_DIAGNOSTICS = 'Diagnostics' -DIAG_SYNTAX_CHECK = 'Syntax Check' -DIAG_NEED_VERSION = 'Supported in {}' -DIAG_DEFINED_VERSION = 'Defined in {}, current is {}' -DIAG_DEFINED_CUSTOM = 'Defined in {}' +DIAG_LOWERCASE_GLOBAL = 'Global variable in lowercase initial.' +DIAG_EMPTY_BLOCK = 'Empty block.' +DIAG_DIAGNOSTICS = 'Diagnostics.' +DIAG_SYNTAX_CHECK = 'Syntax Check.' +DIAG_NEED_VERSION = 'Supported in {}.' +DIAG_DEFINED_VERSION = 'Defined in {}, current is {}.' +DIAG_DEFINED_CUSTOM = 'Defined in {}.' DIAG_DUPLICATE_CLASS = 'Duplicate class.' DIAG_UNDEFINED_CLASS = 'Undefined Class.' DIAG_CYCLIC_EXTENDS = 'Cyclic extends.' @@ -26,6 +26,7 @@ DIAG_INEXISTENT_PARAM = 'Inexistent param.' DIAG_DUPLICATE_PARAM = 'Duplicate param.' DIAG_NEED_CLASS = 'Class needs to be defined first.' DIAG_DUPLICATE_FIELD = 'Duplicate field.' +DIAG_SET_CONST = 'Assignment to const variable.' MWS_NOT_SUPPORT = '{} dose not support multi workspace for now, I may need to restart to support the new workspace ...' MWS_RESTART = 'Restart' @@ -58,6 +59,7 @@ PARSER_NO_VISIBLE_LABEL = 'No visible label `{label}` .' PARSER_REDEFINE_LABEL = 'Label `{label}` already defined.' PARSER_UNSUPPORT_SYMBOL = '{version} does not support this grammar.' PARSER_UNEXPECT_DOTS = 'Cannot use `...` outside a vararg function.' +PARSER_UNKNOWN_TAG = 'Unknown tag.' SYMBOL_ANONYMOUS = '' diff --git a/server/locale/zh-CN/script.lni b/server/locale/zh-CN/script.lni index 5d9d735e..16e52552 100644 --- a/server/locale/zh-CN/script.lni +++ b/server/locale/zh-CN/script.lni @@ -26,6 +26,7 @@ DIAG_INEXISTENT_PARAM = '不存在的参数。' DIAG_DUPLICATE_PARAM = '重复的参数。' DIAG_NEED_CLASS = '需要先定义 Class 。' DIAG_DUPLICATE_FIELD = '重复定义的 field 。' +DIAG_SET_CONST = '不能对常量赋值。' MWS_NOT_SUPPORT = '{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...' MWS_RESTART = '重启' @@ -58,6 +59,7 @@ PARSER_NO_VISIBLE_LABEL = '标签`{label}`不可见。' PARSER_REDEFINE_LABEL = '标签`{label}`重复定义。' PARSER_UNSUPPORT_SYMBOL = '{version} 不支持该符号。' PARSER_UNEXPECT_DOTS = '`...`只能在不定参函数中使用。' +PARSER_UNKNOWN_TAG = '不支持的标签。' SYMBOL_ANONYMOUS = '<匿名函数>' -- cgit v1.2.3