diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-01-11 21:08:10 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-01-11 21:08:10 +0800 |
commit | 141f5d98b593a4eb2c626e2219ac33d91a524a1d (patch) | |
tree | e1776b26fd63303c245767aa679a9c2d51b6cf17 | |
parent | 12bc09de1e6c30c5c241a22640579268f51e07e4 (diff) | |
download | lua-language-server-141f5d98b593a4eb2c626e2219ac33d91a524a1d.zip |
update locale
-rw-r--r-- | locale/en-us/setting.lua | 4 | ||||
-rw-r--r-- | locale/zh-cn/setting.lua | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/locale/en-us/setting.lua b/locale/en-us/setting.lua index 30afe9c8..6abc5734 100644 --- a/locale/en-us/setting.lua +++ b/locale/en-us/setting.lua @@ -83,6 +83,10 @@ config.color.mode = "Color mode." config.color.mode.Semantic = "Semantic color. You may need to set `editor.semanticHighlighting.enabled` to `true` to take effect." config.color.mode.SemanticEnhanced = "Enhanced semantic color. Like `Semantic`, but with additional analysis which might be more computationally expensive." config.color.mode.Grammar = "Grammar color." +config.semantic.enable = "Enable semantic color. You may need to set `editor.semanticHighlighting.enabled` to `true` to take effect." +config.semantic.variable = "Semantic coloring of variables/fields/parameters." +config.semantic.annotation = "Semantic coloring of type annotations." +config.semantic.keyword = "Semantic coloring of keywords/literals/operators. You only need to enable this feature if your editor cannot do syntax coloring." config.signatureHelp.enable = "Enable signature help." config.hover.enable = "Enable hover." config.hover.viewString = "Hover to view the contents of a string (only if the literal contains an escape character)." diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua index 092638c8..2a56d287 100644 --- a/locale/zh-cn/setting.lua +++ b/locale/zh-cn/setting.lua @@ -83,6 +83,10 @@ config.color.mode = "着色模式。" config.color.mode.Semantic = "语义着色。你可能需要同时将 `editor.semanticHighlighting.enabled` 设置为 `true` 才能生效。" config.color.mode.SemanticEnhanced = "增强的语义颜色。 类似于`Semantic`,但会进行额外的分析(也会带来额外的开销)。" config.color.mode.Grammar = "语法着色。" +config.semantic.enable = "启用语义着色。你可能需要同时将 `editor.semanticHighlighting.enabled` 设置为 `true` 才能生效。" +config.semantic.variable = "对变量/字段/参数进行语义着色。" +config.semantic.annotation = "对类型注解进行语义着色。" +config.semantic.keyword = "对关键字/字面量/运算符进行语义着色。只有当你的编辑器无法进行语法着色时才需要启用此功能。" config.signatureHelp.enable = "启用参数提示。" config.hover.enable = "启用悬停提示。" config.hover.viewString = "悬停提示查看字符串内容(仅当字面量包含转义符时)。" |