summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-06-24 18:07:47 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-06-24 18:07:47 +0800
commit56c5182628423a803a2ebe8565fb2aeca313da95 (patch)
tree0ec7376a5988d918dd0b5db1cfccdf91ebd6939b
parent42ef1ad45f7afcca6657b8ad94de4ad460b636af (diff)
downloadlua-language-server-56c5182628423a803a2ebe8565fb2aeca313da95.zip
翻译错了
-rw-r--r--package.nls.json2
-rw-r--r--server/test/build_package.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/package.nls.json b/package.nls.json
index d3cc2102..9362a31a 100644
--- a/package.nls.json
+++ b/package.nls.json
@@ -6,7 +6,7 @@
"config.runtime.version": "Lua runtime version.",
"config.workspace.ignoreDir": "Ignored directories (Use `.gitignore` grammar).\n```json\n\"Lua.workspace.ignoreDir\" : [\n \"temp/*.*\",\n \"!temp/*.lua\"\n]\n```\n",
"config.workspace.ignoreSubmodules": "Ignore submodules.",
- "config.workspace.library": "(Plz help me to translate these into nice English!)\nLoad external library.\nThis feature can load external Lua files, which can be used for definition, automatic completion and other functions. Note that the language server does not monitor changes in external files and needs to restart if the external files are modified.\nThe following example shows loaded files in `C:/lua` without `../lib/temp`.\n```json\n\"Lua.workspace.library\": {\n \"C:/lua\": true,\n \"../lib\": [\n \"temp/*\"\n ]\n}\n```\n",
+ "config.workspace.library": "(Plz help me to translate these into nice English!)\nLoad external library.\nThis feature can load external Lua files, which can be used for definition, automatic completion and other functions. Note that the language server does not monitor changes in external files and needs to restart if the external files are modified.\nThe following example shows loaded files in `C:/lua` and `../lib` ,exclude `../lib/temp`.\n```json\n\"Lua.workspace.library\": {\n \"C:/lua\": true,\n \"../lib\": [\n \"temp/*\"\n ]\n}\n```\n",
"config.workspace.maxPreload": "Max preloaded files.",
"config.workspace.preloadFileSize": "Skip files larger than this value (KB) when preloading.",
"config.workspace.useGitIgnore": "Ignore files list in `.gitignore` ."
diff --git a/server/test/build_package.lua b/server/test/build_package.lua
index 381df7dc..a0ce2396 100644
--- a/server/test/build_package.lua
+++ b/server/test/build_package.lua
@@ -215,7 +215,7 @@ io.save(ROOT:parent_path() / 'package.nls.json', json.encode {
(Plz help me to translate these into nice English!)
Load external library.
This feature can load external Lua files, which can be used for definition, automatic completion and other functions. Note that the language server does not monitor changes in external files and needs to restart if the external files are modified.
-The following example shows loaded files in `C:/lua` without `../lib/temp`.
+The following example shows loaded files in `C:/lua` and `../lib` ,exclude `../lib/temp`.
]] .. example.library,
})