summaryrefslogtreecommitdiff
path: root/server/src/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-08-06 16:00:27 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-08-06 16:00:27 +0800
commit58d09d2cec471f09821488c84268c20e92fa16c5 (patch)
treedaaa1979e0c33936004958dc2c47d0f96430342e /server/src/core
parent842f98c6045f337ae30df559b451b65295f99f86 (diff)
downloadlua-language-server-58d09d2cec471f09821488c84268c20e92fa16c5.zip
加上翻译
Diffstat (limited to 'server/src/core')
-rw-r--r--server/src/core/diagnostics.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/diagnostics.lua b/server/src/core/diagnostics.lua
index 1d636e07..549ddc77 100644
--- a/server/src/core/diagnostics.lua
+++ b/server/src/core/diagnostics.lua
@@ -879,7 +879,7 @@ return function (vm, lines, uri)
-- 往表里面塞重复的method
session:doDiagnostics(session.searchDuplicateMethod, 'duplicate-method', function (key, related)
return {
- message = lang.script('DIAG_DUPLICATE_FIELD', key),
+ message = lang.script('DIAG_DUPLICATE_METHOD', key),
related = related,
}
end)