summaryrefslogtreecommitdiff
path: root/server/locale
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-09 14:20:16 +0800
committersumneko <sumneko@hotmail.com>2019-04-09 14:20:16 +0800
commit3858df0c6ff9811d112757efbf2de31e06b77dc8 (patch)
tree7d581838e504684f8e99202fe9d8d401fa0a6591 /server/locale
parent264e332acd1dbfb91c3f6633f6b48f3e4119f832 (diff)
downloadlua-language-server-3858df0c6ff9811d112757efbf2de31e06b77dc8.zip
默认不加载自定义库中的全局变量
Diffstat (limited to 'server/locale')
-rw-r--r--server/locale/en-US/libs/@lua/package.lni2
-rw-r--r--server/locale/en-US/script.lni2
-rw-r--r--server/locale/zh-CN/script.lni2
3 files changed, 5 insertions, 1 deletions
diff --git a/server/locale/en-US/libs/@lua/package.lni b/server/locale/en-US/libs/@lua/package.lni
index 3b482ae9..1c8b633a 100644
--- a/server/locale/en-US/libs/@lua/package.lni
+++ b/server/locale/en-US/libs/@lua/package.lni
@@ -26,4 +26,4 @@ description = 'A table used by `require` to control how to load modules.'
description = 'Searches for the given `name` in the given `path`.'
[seeall]
-describing = 'Sets a metatable for `module` with its `__index` field referring to the global environment, so that this module inherits values from the global environment. To be used as an option to function `module` .
+describing = 'Sets a metatable for `module` with its `__index` field referring to the global environment, so that this module inherits values from the global environment. To be used as an option to function `module` .'
diff --git a/server/locale/en-US/script.lni b/server/locale/en-US/script.lni
index 38f571c3..d70492c8 100644
--- a/server/locale/en-US/script.lni
+++ b/server/locale/en-US/script.lni
@@ -54,12 +54,14 @@ ACTION_REMOVE_SPACE = 'Clear all postemptive spaces.'
ACTION_ADD_SEMICOLON = 'Add `;` .'
ACTION_ADD_BRACKETS = 'Add brackets.'
ACTION_RUNTIME_VERSION = 'Change runtime version to {} .'
+ACTION_OPEN_LIBRARY = 'Load globals from {} .'
COMMAND_DISABLE_DIAG = 'Disable diagnostics'
COMMAND_MARK_GLOBAL = 'Mark defined global'
COMMAND_REMOVE_SPACE = 'Clear all postemptive spaces'
COMMAND_ADD_BRACKETS = 'Add brackets'
COMMAND_RUNTIME_VERSION = 'Change runtime version'
+COMMAND_OPEN_LIBRARY = 'Load globals from 3rd library'
DEBUG_MEMORY_LEAK = "{} I'm sorry for the serious memory leak. The language service will be restarted soon."
DEBUG_RESTART_NOW = 'Restart now'
diff --git a/server/locale/zh-CN/script.lni b/server/locale/zh-CN/script.lni
index a5b61475..bac2a238 100644
--- a/server/locale/zh-CN/script.lni
+++ b/server/locale/zh-CN/script.lni
@@ -54,12 +54,14 @@ ACTION_REMOVE_SPACE = '清除所有后置空格。'
ACTION_ADD_SEMICOLON = '添加 `;` 。'
ACTION_ADD_BRACKETS = '添加括号。'
ACTION_RUNTIME_VERSION = '修改运行版本为 {} 。'
+ACTION_OPEN_LIBRARY = '加载 {} 中的全局变量。'
COMMAND_DISABLE_DIAG = '禁用诊断'
COMMAND_MARK_GLOBAL = '标记全局变量'
COMMAND_REMOVE_SPACE = '清除所有后置空格'
COMMAND_ADD_BRACKETS = '添加括号'
COMMAND_RUNTIME_VERSION = '修改运行版本'
+COMMAND_OPEN_LIBRARY = '加载第三方库中的全局变量'
DEBUG_MEMORY_LEAK = '{} 很抱歉发生了严重的内存泄漏,语言服务即将重启。'
DEBUG_RESTART_NOW = '立即重启'