summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/service.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index 302b6335..1c8d55b4 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -226,7 +226,7 @@ function mt:readText(uri, path, buf, compiled)
self._hasShowHitMaxPreload = true
rpc:notify('window/showMessage', {
type = 3,
- message = ('预加载文件数已达上限(%d),你需要手动打开需要加载的文件。'):format(config.config.workspace.maxPreload),
+ message = lang.script('MWS_MAX_PRELOAD', config.config.workspace.maxPreload),
})
end
return