Skip to content

Commit bf338ab

Browse files
committed
仅beta支持
1 parent a1f09ad commit bf338ab

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package/nls-zh-cn.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ return {
4141
['config.hover.viewString'] = "悬停提示查看字符串内容(仅当字面量包含转义符时)。",
4242
['config.hover.viewStringMax'] = "悬停提示查看字符串内容时的最大长度。",
4343
['config.hover.viewNumber'] = "悬停提示查看数字内容(仅当字面量不是十进制时)。",
44-
['config.hover.fieldInfer'] = "悬停提示查看表时,会对表的每个字段进行类型推测,当类型推测的用时累计达到该设定值(毫秒)时,将跳过后续字段的类型推测。",
44+
['config.hover.fieldInfer'] = "`仅beta支持` 悬停提示查看表时,会对表的每个字段进行类型推测,当类型推测的用时累计达到该设定值(毫秒)时,将跳过后续字段的类型推测。",
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'] = '设置智能感知的搜索深度。增大该值可以增加准确度,但会降低性能。不同的项目对该设置的容忍度差异较大,请自己调整为合适的值。',
50-
['config.intelliSense.fastGlobal'] = '在对全局变量进行补全,及查看 `_G` 的悬浮提示时进行优化。这会略微降低类型推测的准确度,但是对于大量使用全局变量的项目会有大幅的性能提升。',
49+
['config.intelliSense.searchDepth'] = '`仅beta支持` 设置智能感知的搜索深度。增大该值可以增加准确度,但会降低性能。不同的项目对该设置的容忍度差异较大,请自己调整为合适的值。',
50+
['config.intelliSense.fastGlobal'] = '`仅beta支持` 在对全局变量进行补全,及查看 `_G` 的悬浮提示时进行优化。这会略微降低类型推测的准确度,但是对于大量使用全局变量的项目会有大幅的性能提升。',
5151

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

package/nls.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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'] = "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'] = "`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.",
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'] = '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.',
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.',
4949
}

0 commit comments

Comments
 (0)