summaryrefslogtreecommitdiff
path: root/locale/en-us
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-08 19:21:55 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-08 19:21:55 +0800
commitc6e028f7eba7933bf1b6146284446dd9619da00f (patch)
treef7f512b66cb560c41f196d008600289d5ac97ec8 /locale/en-us
parentf9310f9ca75c0e75a382b6b3806e5273350bab31 (diff)
downloadlua-language-server-c6e028f7eba7933bf1b6146284446dd9619da00f.zip
update locale
Diffstat (limited to 'locale/en-us')
-rw-r--r--locale/en-us/script.lua3
-rw-r--r--locale/en-us/setting.lua12
2 files changed, 11 insertions, 4 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua
index 6f01c520..37ed5aad 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -384,7 +384,7 @@ ACTION_DISABLE_DIAG_FILE=
'Disable diagnostics in this file ({}).'
ACTION_MARK_ASYNC =
'Mark current function as async.'
-ACTION_ADD_DICT =
+ACTION_ADD_DICT =
'Add \'{}\' to workspace dict'
COMMAND_DISABLE_DIAG =
@@ -407,6 +407,7 @@ COMMAND_JSON_TO_LUA_FAILED =
'Convert JSON to Lua failed: {}'
COMMAND_ADD_DICT =
'Add Word to dictionary'
+
COMPLETION_IMPORT_FROM =
'Import from {}'
COMPLETION_DISABLE_AUTO_REQUIRE =
diff --git a/locale/en-us/setting.lua b/locale/en-us/setting.lua
index adb5579f..53fdf187 100644
--- a/locale/en-us/setting.lua
+++ b/locale/en-us/setting.lua
@@ -56,13 +56,19 @@ config.diagnostics.workspaceRate =
"Workspace diagnostics run rate (%). Decreasing this value reduces CPU usage, but also reduces the speed of workspace diagnostics. The diagnosis of the file you are currently editing is always done at full speed and is not affected by this setting."
config.diagnostics.libraryFiles =
"How to diagnose files loaded via `Lua.workspace.library`."
+config.diagnostics.libraryFiles.Enable =
+"Always diagnose these files."
+config.diagnostics.libraryFiles.Opened =
+"Only when these files are opened will it be diagnosed."
+config.diagnostics.libraryFiles.Disable =
+"These files are not diagnosed."
config.diagnostics.ignoredFiles =
"How to diagnose ignored files."
-config.diagnostics.files.Enable =
+config.diagnostics.ignoredFiles.Enable =
"Always diagnose these files."
-config.diagnostics.files.Opened =
+config.diagnostics.ignoredFiles.Opened =
"Only when these files are opened will it be diagnosed."
-config.diagnostics.files.Disable =
+config.diagnostics.ignoredFiles.Disable =
"These files are not diagnosed."
config.diagnostics.disableScheme =
'Do not diagnose Lua files that use the following scheme.'