diff options
author | sumneko <sumneko@hotmail.com> | 2019-05-30 11:26:20 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-05-30 11:26:20 +0800 |
commit | 8b9e70e10d2b9c60c647b9d9d3de96a384aacbfc (patch) | |
tree | 9754f74e79f5f96222df58e1f8eb9b1e07071757 /server/locale | |
parent | 19c5c8044f948b6b9759944511afba9dc5c18d75 (diff) | |
download | lua-language-server-8b9e70e10d2b9c60c647b9d9d3de96a384aacbfc.zip |
加上翻译
Diffstat (limited to 'server/locale')
-rw-r--r-- | server/locale/en-US/script.lni | 16 | ||||
-rw-r--r-- | 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 = '<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 = '<匿名函数>' |