diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-08 19:21:55 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-08 19:21:55 +0800 |
commit | c6e028f7eba7933bf1b6146284446dd9619da00f (patch) | |
tree | f7f512b66cb560c41f196d008600289d5ac97ec8 /locale/zh-cn | |
parent | f9310f9ca75c0e75a382b6b3806e5273350bab31 (diff) | |
download | lua-language-server-c6e028f7eba7933bf1b6146284446dd9619da00f.zip |
update locale
Diffstat (limited to 'locale/zh-cn')
-rw-r--r-- | locale/zh-cn/script.lua | 4 | ||||
-rw-r--r-- | locale/zh-cn/setting.lua | 12 |
2 files changed, 13 insertions, 3 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index 24bd02bd..a5a5a34c 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -384,6 +384,8 @@ ACTION_DISABLE_DIAG_FILE= '在此文件禁用诊断 ({})。' ACTION_MARK_ASYNC = '将当前函数标记为异步。' +ACTION_ADD_DICT = -- TODO: need translate! +'Add \'{}\' to workspace dict' COMMAND_DISABLE_DIAG = '禁用诊断' @@ -403,6 +405,8 @@ COMMAND_JSON_TO_LUA = 'JSON 转 Lua' COMMAND_JSON_TO_LUA_FAILED = 'JSON 转 Lua 失败:{}' +COMMAND_ADD_DICT = -- TODO: need translate! +'Add Word to dictionary' COMPLETION_IMPORT_FROM = '从 {} 中导入' diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua index 4c4f8e4b..6b8cce61 100644 --- a/locale/zh-cn/setting.lua +++ b/locale/zh-cn/setting.lua @@ -56,13 +56,19 @@ config.diagnostics.workspaceRate = "工作区诊断的运行速率(百分比)。降低该值会减少CPU占用,但是也会降低工作区诊断的速度。你当前正在编辑的文件的诊断总是全速完成,不受该选项影响。" config.diagnostics.libraryFiles = "如何诊断通过 `Lua.workspace.library` 加载的文件。" +config.diagnostics.libraryFiles.Enable = +"总是诊断这些文件。" +config.diagnostics.libraryFiles.Opened = +"只有打开这些文件时才会诊断。" +config.diagnostics.libraryFiles.Disable = +"不诊断这些文件。" config.diagnostics.ignoredFiles = "如何诊断被忽略的文件。" -config.diagnostics.files.Enable = +config.diagnostics.ignoredFiles.Enable = "总是诊断这些文件。" -config.diagnostics.files.Opened = +config.diagnostics.ignoredFiles.Opened = "只有打开这些文件时才会诊断。" -config.diagnostics.files.Disable = +config.diagnostics.ignoredFiles.Disable = "不诊断这些文件。" config.diagnostics.disableScheme = '不诊断使用以下 scheme 的lua文件。' |