summaryrefslogtreecommitdiff
path: root/server/locale
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-08 17:20:09 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-08 17:20:09 +0800
commit9b764835aa002f533575b8cd0d0b270a437ef954 (patch)
treecaef6d527e1812e8476da50436e616adc1bdc13c /server/locale
parentf97529aae003f635b0218ca95f8a88765b61f182 (diff)
downloadlua-language-server-9b764835aa002f533575b8cd0d0b270a437ef954.zip
诊断来源也翻译一下吧
Diffstat (limited to 'server/locale')
-rw-r--r--server/locale/en-US/script.lni2
-rw-r--r--server/locale/zh-CN/script.lni2
2 files changed, 4 insertions, 0 deletions
diff --git a/server/locale/en-US/script.lni b/server/locale/en-US/script.lni
index cda6104c..ee7d6470 100644
--- a/server/locale/en-US/script.lni
+++ b/server/locale/en-US/script.lni
@@ -7,6 +7,8 @@ DIAG_UNUSED_LABEL = 'Unused label `{}`.'
DIAG_REDEFINED_LOCAL = 'Redefined local `{}`.'
DIAG_PREVIOUS_CALL = 'Parsed as function call for the previous line. It may be necessary to add a `;` before.'
DIAG_OVER_MAX_ARGS = 'The function takes only {:d} parameters, but you passed {:d}.'
+DIAG_DIAGNOSTICS = 'Diagnostics'
+DIAG_SYNTAX_CHECK = 'Syntax Check'
MWS_NOT_SUPPORT = '{} dose not support multi workspace for now, I may need to restart to support the new workspace ...'
MWS_RESTART = 'Restart'
diff --git a/server/locale/zh-CN/script.lni b/server/locale/zh-CN/script.lni
index a5ec1a0f..3783f1ae 100644
--- a/server/locale/zh-CN/script.lni
+++ b/server/locale/zh-CN/script.lni
@@ -7,6 +7,8 @@ DIAG_UNUSED_LABEL = '未使用的标签 `{}`。'
DIAG_REDEFINED_LOCAL = '重定义局部变量 `{}`。'
DIAG_PREVIOUS_CALL = '解析为了上一行的函数调用。你可能需要在前面加一个 `;`。'
DIAG_OVER_MAX_ARGS = '函数只接收 {:d} 个参数,但你传了 {:d} 个。'
+DIAG_DIAGNOSTICS = '诊断'
+DIAG_SYNTAX_CHECK = '语法检查'
MWS_NOT_SUPPORT = '{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...'
MWS_RESTART = '重启'