Skip to content

Commit 141f5d9

Browse files
committed
update locale
1 parent 12bc09d commit 141f5d9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

locale/en-us/setting.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ config.color.mode = "Color mode."
8383
config.color.mode.Semantic = "Semantic color. You may need to set `editor.semanticHighlighting.enabled` to `true` to take effect."
8484
config.color.mode.SemanticEnhanced = "Enhanced semantic color. Like `Semantic`, but with additional analysis which might be more computationally expensive."
8585
config.color.mode.Grammar = "Grammar color."
86+
config.semantic.enable = "Enable semantic color. You may need to set `editor.semanticHighlighting.enabled` to `true` to take effect."
87+
config.semantic.variable = "Semantic coloring of variables/fields/parameters."
88+
config.semantic.annotation = "Semantic coloring of type annotations."
89+
config.semantic.keyword = "Semantic coloring of keywords/literals/operators. You only need to enable this feature if your editor cannot do syntax coloring."
8690
config.signatureHelp.enable = "Enable signature help."
8791
config.hover.enable = "Enable hover."
8892
config.hover.viewString = "Hover to view the contents of a string (only if the literal contains an escape character)."

locale/zh-cn/setting.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ config.color.mode = "着色模式。"
8383
config.color.mode.Semantic = "语义着色。你可能需要同时将 `editor.semanticHighlighting.enabled` 设置为 `true` 才能生效。"
8484
config.color.mode.SemanticEnhanced = "增强的语义颜色。 类似于`Semantic`,但会进行额外的分析(也会带来额外的开销)。"
8585
config.color.mode.Grammar = "语法着色。"
86+
config.semantic.enable = "启用语义着色。你可能需要同时将 `editor.semanticHighlighting.enabled` 设置为 `true` 才能生效。"
87+
config.semantic.variable = "对变量/字段/参数进行语义着色。"
88+
config.semantic.annotation = "对类型注解进行语义着色。"
89+
config.semantic.keyword = "对关键字/字面量/运算符进行语义着色。只有当你的编辑器无法进行语法着色时才需要启用此功能。"
8690
config.signatureHelp.enable = "启用参数提示。"
8791
config.hover.enable = "启用悬停提示。"
8892
config.hover.viewString = "悬停提示查看字符串内容(仅当字面量包含转义符时)。"

0 commit comments

Comments
 (0)