forked from NightrainsRbx/RobloxLsp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.nls.zh-cn.json
44 lines (44 loc) · 4.08 KB
/
package.nls.zh-cn.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"config.color.mode": "着色模式。",
"config.color.mode.Grammar": "语法着色。",
"config.color.mode.Semantic": "语义着色(测试中。你的颜色主题必须要支持语义着色才有效。)。",
"config.completion.callSnippet": "显示函数调用片段。",
"config.completion.callSnippet.Both": "显示 `函数名` 与 `调用片段`。",
"config.completion.callSnippet.Disable": "只显示 `函数名`。",
"config.completion.callSnippet.Replace": "只显示 `调用片段`。",
"config.completion.displayContext": "预览建议的相关代码片段,可能可以帮助你了解这项建议的用法。设置的数字表示代码片段的截取行数,设置为`0`可以禁用此功能。",
"config.completion.enable": "启用自动完成。",
"config.completion.fastAutocompletion": "EXPERIMENTAL. Enable it only if Auto-Completion is too slow.",
"config.completion.keywordSnippet": "显示关键字语法片段",
"config.completion.keywordSnippet.Both": "显示 `关键字` 与 `语法片段`。",
"config.completion.keywordSnippet.Disable": "只显示 `关键字`。",
"config.completion.keywordSnippet.Replace": "只显示 `语法片段`。",
"config.develop.debuggerPort": "调试器监听端口。",
"config.develop.debuggerWait": "调试器连接之前挂起。",
"config.develop.enable": "开发者模式。请勿开启,会影响性能。",
"config.diagnostics.disable": "禁用的诊断(使用浮框括号内的代码)。\n```json\n\"Lua.diagnostics.disable\" : [\n \"unused-local\",\n \"lowercase-global\"\n]\n```\n",
"config.diagnostics.enable": "启用诊断。",
"config.diagnostics.syntax": "Enable syntax errors.",
"config.diagnostics.datamodelAsIgnore": "Use datamodel.json as ignore list.",
"config.diagnostics.globals": "已定义的全局变量。\n```json\n\"Lua.diagnostics.globals\" : [\n \"GLOBAL1\",\n \"GLOBAL2\"\n]\n```\n",
"config.diagnostics.ignore": "Ignored instance members.\n```json\n\"Lua.diagnostics.ignore\" : [\n \"NAME1\",\n \"NAME2\"\n]\n```\n",
"config.diagnostics.severity": "修改诊断等级。\n```json\n\"Lua.diagnostics.severity\" : {\n \"redefined-local\" : \"Warning\",\n \"emmy-lua\" : \"Hint\"\n}\n```\n",
"config.hover.enable": "启用悬停提示。",
"config.hover.viewNumber": "悬停提示查看数字内容(仅当字面量不是十进制时)。",
"config.hover.viewString": "悬停提示查看字符串内容(仅当字面量包含转义符时)。",
"config.hover.viewStringMax": "悬停提示查看字符串内容时的最大长度。",
"config.runtime.path": "`package.path`",
"config.runtime.version": "Lua运行版本。",
"config.signatureHelp.enable": "启用参数提示。",
"config.workspace.ignoreDir": "忽略的目录(使用 `.gitignore` 语法)。\n```json\n\"Lua.workspace.ignoreDir\" : [\n \"temp/*.*\",\n \"!temp/*.lua\"\n]\n```\n",
"config.workspace.ignoreSubmodules": "忽略子模块。",
"config.workspace.rojoProjectFile": "The name of the .project.json file without the extension.",
"config.workspace.loadMode": "What files should be preloaded.",
"config.workspace.loadMode.allFiles": "Load all files in workspace.",
"config.workspace.loadMode.rojoProject": "Load all files found in Rojo Project.",
"config.workspace.library": "加载外部函数库。\n该功能可以加载外部的Lua文件,用于函数定义、自动完成等功能。注意,语言服务不会监视外部文件的变化,如果修改了外部文件需要重启。\n下面这个例子表示加载`C:/lua`与`../lib`中的所有文件,但不加载`../lib/temp`中的文件。\n```json\n\"Lua.workspace.library\": {\n \"C:/lua\": true,\n \"../lib\": [\n \"temp/*\"\n ]\n}\n```\n",
"config.workspace.maxPreload": "最大预加载文件数。",
"config.workspace.preloadFileSize": "预加载时跳过大小大于该值(KB)的文件。",
"config.workspace.useGitIgnore": "忽略 `.gitignore` 中列举的文件。",
"config.zzzzzz.cat": "DONT TOUCH ME, LET ME SLEEP >_<"
}