Skip to content

Commit 255f1fb

Browse files
committed
remove description of "only support beta "
1 parent f8dfbbd commit 255f1fb

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

package/nls-zh-cn.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ return {
44
['config.awakened.cat'] = 'PLAY WITH ME >_<\n\n(这会启用还处于开发中的beta版,欢迎测试反馈!改变此选项需要重载窗口!)',
55
["config.runtime.version"] = "Lua运行版本。",
66
["config.runtime.path"] = "`package.path`",
7-
["config.runtime.special"] = [[`仅beta支持` 将自定义全局变量视为一些特殊的内置变量,语言服务将提供特殊的支持。
7+
["config.runtime.special"] = [[将自定义全局变量视为一些特殊的内置变量,语言服务将提供特殊的支持。
88
下面这个例子表示将 `include` 视为 `require` 。
99
]] .. example.special,
1010
["config.diagnostics.enable"] = "启用诊断。",
1111
["config.diagnostics.disable"] = "禁用的诊断(使用浮框括号内的代码)。\n",-- .. example.disable,
1212
["config.diagnostics.globals"] = "已定义的全局变量。\n",-- .. example.globals,
1313
["config.diagnostics.severity"] = "修改诊断等级。\n",-- .. example.severity,
14-
["config.diagnostics.workspaceDelay"] = "`仅beta支持` 进行工作区诊断的延迟(毫秒)。当你启动工作区,或编辑了任意文件后,将会在后台对整个工作区进行重新诊断。设置为负数可以禁用工作区诊断。",
15-
["config.diagnostics.workspaceRate"] = "`仅beta支持` 工作区诊断的运行速率(百分比)。降低该值会减少CPU占用,但是也会降低工作区诊断的速度。你当前正在编辑的文件的诊断总是全速完成,不受该选项影响。",
14+
["config.diagnostics.workspaceDelay"] = "进行工作区诊断的延迟(毫秒)。当你启动工作区,或编辑了任意文件后,将会在后台对整个工作区进行重新诊断。设置为负数可以禁用工作区诊断。",
15+
["config.diagnostics.workspaceRate"] = "工作区诊断的运行速率(百分比)。降低该值会减少CPU占用,但是也会降低工作区诊断的速度。你当前正在编辑的文件的诊断总是全速完成,不受该选项影响。",
1616
["config.workspace.ignoreDir"] = "忽略的目录(使用 `.gitignore` 语法)。\n",-- .. example.ignoreDir,
1717
["config.workspace.ignoreSubmodules"] = "忽略子模块。",
1818
["config.workspace.useGitIgnore"] = "忽略 `.gitignore` 中列举的文件。",
@@ -41,13 +41,13 @@ return {
4141
['config.hover.viewString'] = "悬停提示查看字符串内容(仅当字面量包含转义符时)。",
4242
['config.hover.viewStringMax'] = "悬停提示查看字符串内容时的最大长度。",
4343
['config.hover.viewNumber'] = "悬停提示查看数字内容(仅当字面量不是十进制时)。",
44-
['config.hover.fieldInfer'] = "`仅beta支持` 悬停提示查看表时,会对表的每个字段进行类型推测,当类型推测的用时累计达到该设定值(毫秒)时,将跳过后续字段的类型推测。",
44+
['config.hover.fieldInfer'] = "悬停提示查看表时,会对表的每个字段进行类型推测,当类型推测的用时累计达到该设定值(毫秒)时,将跳过后续字段的类型推测。",
4545
['config.zzzzzz.cat'] = 'DONT TOUCH ME, LET ME SLEEP >_<',
4646
['config.develop.enable'] = '开发者模式。请勿开启,会影响性能。',
4747
['config.develop.debuggerPort'] = '调试器监听端口。',
4848
['config.develop.debuggerWait'] = '调试器连接之前挂起。',
49-
['config.intelliSense.searchDepth'] = '`仅beta支持` 设置智能感知的搜索深度。增大该值可以增加准确度,但会降低性能。不同的项目对该设置的容忍度差异较大,请自己调整为合适的值。',
50-
['config.intelliSense.fastGlobal'] = '`仅beta支持` 在对全局变量进行补全,及查看 `_G` 的悬浮提示时进行优化。这会略微降低类型推测的准确度,但是对于大量使用全局变量的项目会有大幅的性能提升。',
49+
['config.intelliSense.searchDepth'] = '设置智能感知的搜索深度。增大该值可以增加准确度,但会降低性能。不同的项目对该设置的容忍度差异较大,请自己调整为合适的值。',
50+
['config.intelliSense.fastGlobal'] = '在对全局变量进行补全,及查看 `_G` 的悬浮提示时进行优化。这会略微降低类型推测的准确度,但是对于大量使用全局变量的项目会有大幅的性能提升。',
5151

5252
-- TODO 英文翻译
5353
['config.diagnostics.unused-local'] = '未使用的局部变量',

package/nls.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ return {
44
['config.awakened.cat'] = 'PLAY WITH ME >_<\n\n(This will enable the beta version which is still in development. Feedback is welcome! Reload the window after changing this option!)',
55
["config.runtime.version"] = "Lua runtime version.",
66
["config.runtime.path"] = "`package.path`",
7-
["config.runtime.special"] = "`Only supported in beta` The custom global variables are regarded as some special built-in variables, and the language server will provide special support",
7+
["config.runtime.special"] = "The custom global variables are regarded as some special built-in variables, and the language server will provide special support",
88
["config.diagnostics.enable"] = "Enable diagnostics.",
99
["config.diagnostics.disable"] = "Disabled diagnostic (Use code in hover brackets).\n",-- .. example.disable,
1010
["config.diagnostics.globals"] = "Defined global variables.\n",-- .. example.globals,
1111
["config.diagnostics.severity"] = "Modified diagnostic severity.\n",-- .. example.severity,
12-
["config.diagnostics.workspaceDelay"] = "`Only supported in beta` Latency (milliseconds) for workspace diagnostics. When you start the workspace, or edit any file, the entire workspace will be re-diagnosed in the background. Set to negative to disable workspace diagnostics.",
13-
["config.diagnostics.workspaceRate"] = "`Only supported in beta` Workspace diagnostics run rate (%). Decreasing this value reduces CPU usage, but also reduces the speed of workspace diagnostics. The diagnosis of the file you are currently editing is always done at full speed and is not affected by this setting.",
12+
["config.diagnostics.workspaceDelay"] = "Latency (milliseconds) for workspace diagnostics. When you start the workspace, or edit any file, the entire workspace will be re-diagnosed in the background. Set to negative to disable workspace diagnostics.",
13+
["config.diagnostics.workspaceRate"] = "Workspace diagnostics run rate (%). Decreasing this value reduces CPU usage, but also reduces the speed of workspace diagnostics. The diagnosis of the file you are currently editing is always done at full speed and is not affected by this setting.",
1414
["config.workspace.ignoreDir"] = "Ignored directories (Use `.gitignore` grammar).\n",-- .. example.ignoreDir,
1515
["config.workspace.ignoreSubmodules"] = "Ignore submodules.",
1616
["config.workspace.useGitIgnore"] = "Ignore files list in `.gitignore` .",
@@ -39,11 +39,11 @@ The following example shows loaded files in `C:/lua` and `../lib` ,exclude `../l
3939
['config.hover.viewString'] = "Hover to view the contents of a string (only if the literal contains an escape character).",
4040
['config.hover.viewStringMax'] = "The maximum length of a hover to view the contents of a string.",
4141
['config.hover.viewNumber'] = "Hover to view numeric content (only if literal is not decimal).",
42-
['config.hover.fieldInfer'] = "`Only supported in beta` When hovering to view a table, type infer will be performed for each field. When the accumulated time of type infer reaches the set value (MS), the type infer of subsequent fields will be skipped.",
42+
['config.hover.fieldInfer'] = "When hovering to view a table, type infer will be performed for each field. When the accumulated time of type infer reaches the set value (MS), the type infer of subsequent fields will be skipped.",
4343
['config.zzzzzz.cat'] = 'DONT TOUCH ME, LET ME SLEEP >_<',
4444
['config.develop.enable'] = 'Developer mode. Do not enable, performance will be affected.',
4545
['config.develop.debuggerPort'] = 'Listen port of debugger.',
4646
['config.develop.debuggerWait'] = 'Suspend before debugger connects.',
47-
['config.intelliSense.searchDepth'] = '`Only supported in beta` Set the search depth for IntelliSense. Increasing this value increases accuracy, but decreases performance. Different workspace have different tolerance for this setting. Please adjust it to the appropriate value.',
48-
['config.intelliSense.fastGlobal'] = '`Only supported in beta` In the global variable completion, and view `_G` suspension prompt. This will slightly reduce the accuracy of type speculation, but it will have a significant performance improvement for projects that use a lot of global variables.',
47+
['config.intelliSense.searchDepth'] = 'Set the search depth for IntelliSense. Increasing this value increases accuracy, but decreases performance. Different workspace have different tolerance for this setting. Please adjust it to the appropriate value.',
48+
['config.intelliSense.fastGlobal'] = 'In the global variable completion, and view `_G` suspension prompt. This will slightly reduce the accuracy of type speculation, but it will have a significant performance improvement for projects that use a lot of global variables.',
4949
}

0 commit comments

Comments
 (0)