diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-02-02 20:08:26 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-02-02 20:08:26 +0800 |
commit | ba1e8c4ce8c4d128cef76895ae7877889ad34921 (patch) | |
tree | 98395c7a0c32016704335e0f57964ccec50a9d79 /locale/zh-cn/script.lua | |
parent | 9b45b621342c0205a503c63cc2706c1a8cf9175c (diff) | |
download | lua-language-server-ba1e8c4ce8c4d128cef76895ae7877889ad34921.zip |
improve checking for modifying config
#1859
Diffstat (limited to 'locale/zh-cn/script.lua')
-rw-r--r-- | locale/zh-cn/script.lua | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index 114546dd..4c3af355 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -538,7 +538,7 @@ WINDOW_CLIENT_NOT_SUPPORT_CONFIG = WINDOW_LCONFIG_NOT_SUPPORT_CONFIG= '暂不支持自动修改本地设置,请手动修改如下设置:' WINDOW_MANUAL_CONFIG_ADD = -'为 `{key}` 添加值 `{value:q}`;' +'为 `{key}` 添加元素 `{value:q}`;' WINDOW_MANUAL_CONFIG_SET = '将 `{key}` 的值设置为 `{value:q}`;' WINDOW_MANUAL_CONFIG_PROP = @@ -568,6 +568,22 @@ CONFIG_TYPE_ERROR = '设置文件必须是lua或json格式:{}' CONFIG_MODIFY_FAIL_SYNTAX_ERROR = '修改设置失败,设置文件中有语法错误:{}' +CONFIG_MODIFY_FAIL_NO_WORKSPACE = +[[ +修改设置失败: +* 当前模式为单文件模式,服务器只能在工作区中创建 `.luarc.json` 文件。 +* 语言客户端不支持从服务器侧修改设置。 + +请手动修改以下设置: +{} +]] +CONFIG_MODIFY_FAIL = +[[ +修改设置失败 + +请手动修改以下设置: +{} +]] PLUGIN_RUNTIME_ERROR = [[ |