diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-07-21 14:28:51 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-07-21 14:28:51 +0800 |
commit | 998927a2c8f33dabf8b079657f111a03f37570af (patch) | |
tree | 9414abf4b7570bcae4ff541060dacdc3ffdd03b1 /script/core | |
parent | e50b20f07f44de64667143984f2ea0564db09ff7 (diff) | |
download | lua-language-server-998927a2c8f33dabf8b079657f111a03f37570af.zip |
添加翻译
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/diagnostics/missing-fields.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/core/diagnostics/missing-fields.lua b/script/core/diagnostics/missing-fields.lua index e23352bc..4b65172c 100644 --- a/script/core/diagnostics/missing-fields.lua +++ b/script/core/diagnostics/missing-fields.lua @@ -2,6 +2,7 @@ local vm = require 'vm' local files = require 'files' local guide = require 'parser.guide' local await = require 'await' +local lang = require 'language' ---@async return function (uri, callback) @@ -66,7 +67,7 @@ return function (uri, callback) callback { start = src.start, finish = src.finish, - message = string.format('Missing fields: %s', table.concat(missedKeys, ', ')), + message = lang.script('DIAG_MISSING_FIELDS', table.concat(missedKeys, ', ')), } end) end |