summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-07-23 14:55:32 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-07-23 14:55:32 +0800
commitbbe054ceeb542330732a510ca87dfe45c63b30f1 (patch)
treec988cf36a6c9b230d2b15b3905b32044a9a8747b /server/src
parent9d0be3adf375639eb2477492d48a7cd6f1aa09f7 (diff)
downloadlua-language-server-bbe054ceeb542330732a510ca87dfe45c63b30f1.zip
更新翻译
Diffstat (limited to 'server/src')
-rw-r--r--server/src/core/code_action.lua2
-rw-r--r--server/src/parser/ast.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/src/core/code_action.lua b/server/src/core/code_action.lua
index b28bda34..9f3e0338 100644
--- a/server/src/core/code_action.lua
+++ b/server/src/core/code_action.lua
@@ -236,7 +236,7 @@ local function solveSyntaxByFix(uri, err, lines, callback)
}
end
callback {
- title = lang.script[err.fix.title],
+ title = lang.script['ACTION_' .. err.fix.title],
kind = 'quickfix',
edit = {
changes = {
diff --git a/server/src/parser/ast.lua b/server/src/parser/ast.lua
index 204802c5..019cbb5c 100644
--- a/server/src/parser/ast.lua
+++ b/server/src/parser/ast.lua
@@ -1865,7 +1865,7 @@ local Defs = {
start = start,
finish = finish - 1,
fix = {
- title = 'ERR_DO_AS_THEN',
+ title = 'FIX_DO_AS_THEN',
{
start = start,
finish = finish - 1,