summaryrefslogtreecommitdiff
path: root/server/locale
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-30 19:19:59 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-30 19:19:59 +0800
commitdfbdcbd3f01602307f49f1af098899264d0162e7 (patch)
tree423be756ec7460bd3fee58a101d92c9690da5788 /server/locale
parentfadb6538eaadf65764f33a2fd3e14bb640b3af27 (diff)
downloadlua-language-server-dfbdcbd3f01602307f49f1af098899264d0162e7.zip
更新语法解析
Diffstat (limited to 'server/locale')
-rw-r--r--server/locale/en-US/script.lni3
-rw-r--r--server/locale/zh-CN/script.lni5
2 files changed, 5 insertions, 3 deletions
diff --git a/server/locale/en-US/script.lni b/server/locale/en-US/script.lni
index c91d0994..604453df 100644
--- a/server/locale/en-US/script.lni
+++ b/server/locale/en-US/script.lni
@@ -15,7 +15,7 @@ MWS_COMPLETE = 'Workspace is complete now. You may try again...'
PARSER_CRASH = 'Parser crashed! Last words:{}'
PARSER_UNKNOWN = 'Unknown syntax error...'
-PARSER_MISS_NAME = '<name> expected.'
+PARSER_MISS_NAME = '<name> expected'
PARSER_UNKNOWN_SYMBOL = 'Unexpected symbol `{symbol}`'
PARSER_MISS_SYMBOL = 'Missed symbol `{symbol}`'
PARSER_MISS_ESC_X = 'Should be 2 hexadecimal digits'
@@ -25,5 +25,6 @@ PARSER_UTF8_MAX = 'Should between {min} and {max}'
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'
SYMBOL_ANONYMOUS = '<Anonymous>'
diff --git a/server/locale/zh-CN/script.lni b/server/locale/zh-CN/script.lni
index 3014b5fa..585780f1 100644
--- a/server/locale/zh-CN/script.lni
+++ b/server/locale/zh-CN/script.lni
@@ -5,10 +5,10 @@ DIAG_UNUSED_LOCAL = '未使用的局部变量 `{}`。'
DIAG_UNDEFINED_GLOBAL = '未定义的全局变量 `{}`。'
DIAG_UNUSED_LABEL = '未使用的标签 `{}`。'
DIAG_REDEFINED_LOCAL = '重定义局部变量 `{}`。'
-DIAG_PREVIOUS_CALL = '解析为了上一行的函数调用。你可能需要在前面加一个 `;`。'
+DIAG_PREVIOUS_CALL = '解析为了上一行的函数调用。你可能需要在前面加一个 `;`。'
DIAG_OVER_MAX_ARGS = '函数只接收 {:d} 个参数,但你传了 {:d} 个。'
-MWS_NOT_SUPPORT = '{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...'
+MWS_NOT_SUPPORT = '{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...'
MWS_RESTART = '重启'
MWS_NOT_COMPLETE = '工作目录还没有准备好,你可以稍后再试一下...'
MWS_COMPLETE = '工作目录准备好了,你可以再试一下了...'
@@ -25,5 +25,6 @@ PARSER_UTF8_MAX = '必须在 {min} 与 {max} 之间'
PARSER_ERR_ESC = '错误的转义符'
PARSER_MUST_X16 = '必须是16进制字符'
PARSER_MISS_EXPONENT = '缺少指数部分'
+PARSER_MISS_EXP = '缺少表达式'
SYMBOL_ANONYMOUS = '<匿名函数>'