summaryrefslogtreecommitdiff
path: root/server/locale
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-26 13:03:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-26 13:03:30 +0800
commit2304c9722132da29ff98c01de18db7daef5e8aac (patch)
tree0a5f65712cc5bbd52ee4be4a63a8f8c37c3ee7e9 /server/locale
parent3e2b0549a646dd98815fef896946ab6d5159d825 (diff)
downloadlua-language-server-2304c9722132da29ff98c01de18db7daef5e8aac.zip
翻译
Diffstat (limited to 'server/locale')
-rw-r--r--server/locale/en-US/script.lni9
-rw-r--r--server/locale/zh-CN/script.lni9
2 files changed, 18 insertions, 0 deletions
diff --git a/server/locale/en-US/script.lni b/server/locale/en-US/script.lni
index e69de29b..da01d7d5 100644
--- a/server/locale/en-US/script.lni
+++ b/server/locale/en-US/script.lni
@@ -0,0 +1,9 @@
+<root>
+DIAG_LINE_ONLY_SPACE = 'Line with spaces only.'
+DIAG_LINE_POST_SPACE = 'Line with postspace.'
+DIAG_UNUSED_LOCAL = 'Unused local `{}`.'
+DIAG_UNDEFINED_GLOBAL = 'Undefined global `{}`.'
+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}.'
diff --git a/server/locale/zh-CN/script.lni b/server/locale/zh-CN/script.lni
new file mode 100644
index 00000000..6b322fb4
--- /dev/null
+++ b/server/locale/zh-CN/script.lni
@@ -0,0 +1,9 @@
+<root>
+DIAG_LINE_ONLY_SPACE = '只有空格的空行。'
+DIAG_LINE_POST_SPACE = '后置空格。'
+DIAG_UNUSED_LOCAL = '未使用的局部变量 `{}`。'
+DIAG_UNDEFINED_GLOBAL = '未定义的全局变量 `{}`。'
+DIAG_UNUSED_LABEL = '未使用的标签 `{}`。'
+DIAG_REDEFINED_LOCAL = '重定义局部变量 `{}`。'
+DIAG_PREVIOUS_CALL = '解析为了上一行的函数调用。你可能需要在前面加一个 `;`。'
+DIAG_OVER_MAX_ARGS = '函数只接收 {:d} 个参数,但你传了 {:d} 个。'