summaryrefslogtreecommitdiff
path: root/script-beta/files.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-29 11:25:16 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-29 11:25:16 +0800
commit049eaa1446d8b53cef14ec3a72f315f162ead2bc (patch)
tree81a711fe508573c0f40585063f340ac09b4f9bee /script-beta/files.lua
parent5cd2e0110dfe2d1bc8c141af74baa53dab448c66 (diff)
downloadlua-language-server-049eaa1446d8b53cef14ec3a72f315f162ead2bc.zip
增加翻译
Diffstat (limited to 'script-beta/files.lua')
-rw-r--r--script-beta/files.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/script-beta/files.lua b/script-beta/files.lua
index f88ca613..b1b069bc 100644
--- a/script-beta/files.lua
+++ b/script-beta/files.lua
@@ -201,8 +201,7 @@ function m.getAst(uri)
local ws = require 'workspace'
proto.notify('window/showMessage', {
type = 3,
- -- TODO 翻译
- message = lang.script('已跳过过大的文件:{}。当前设置的大小限制为:{} KB,该文件大小为:{} KB'
+ message = lang.script('WORKSPACE_SKIP_LARGE_FILE'
, ws.getRelativePath(file.uri)
, config.config.workspace.maxPreload
, #file.text / 1000