diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-05-25 18:05:02 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-05-25 18:05:02 +0800 |
commit | 99e124ef95b65fe29f56cb5492538585574e8ded (patch) | |
tree | be7733d737a72ec4cefcadce7814ea1b917b015f /locale/zh-tw/script.lua | |
parent | c586a11e9ae9b3f001c39d7f2f6762b0cf7af671 (diff) | |
download | lua-language-server-99e124ef95b65fe29f56cb5492538585574e8ded.zip |
don't scan huge directories
* if `rootUri` or `workspaceFolder` is set to `ROOT` or `HOME`, this extension will refuse to load these directories and show an error message.
* show warning message when scanning more than 100,000 files.
Diffstat (limited to 'locale/zh-tw/script.lua')
-rw-r--r-- | locale/zh-tw/script.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua index cef05b54..4fc652d4 100644 --- a/locale/zh-tw/script.lua +++ b/locale/zh-tw/script.lua @@ -142,6 +142,10 @@ WORKSPACE_DIAGNOSTIC = '正在對工作目錄進行診斷' WORKSPACE_SKIP_HUGE_FILE = '出於效能考慮,已停止對此檔案解析:{}' +WORKSPACE_NOT_ALLOWED = -- TODO: need translate! +'Your workspace is set to `{}`. Lua language server refused to load this directory. Please check your configuration.[learn more here](https://github.com/sumneko/lua-language-server/wiki/Why-scanning-home-folder)' +WORKSPACE_SCAN_TOO_MUCH = -- TODO: need translate! +'More than {} files have been scanned. The current scanned directory is `{}`. Please confirm whether the configuration is correct.' PARSER_CRASH = '語法解析崩潰了!遺言:{}' |