summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--locale/en-us/script.lua3
-rw-r--r--locale/en-us/setting.lua12
-rw-r--r--locale/pt-br/script.lua4
-rw-r--r--locale/pt-br/setting.lua12
-rw-r--r--locale/zh-cn/script.lua4
-rw-r--r--locale/zh-cn/setting.lua12
-rw-r--r--locale/zh-tw/meta.lua2
-rw-r--r--locale/zh-tw/script.lua6
-rw-r--r--locale/zh-tw/setting.lua14
9 files changed, 53 insertions, 16 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.'
diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua
index a5342e1f..7dd54773 100644
--- a/locale/pt-br/script.lua
+++ b/locale/pt-br/script.lua
@@ -384,6 +384,8 @@ ACTION_DISABLE_DIAG_FILE=
'Desativa diagnósticos nesta linha ({}).'
ACTION_MARK_ASYNC = -- TODO: need translate!
'Mark current function as async.'
+ACTION_ADD_DICT = -- TODO: need translate!
+'Add \'{}\' to workspace dict'
COMMAND_DISABLE_DIAG =
'Desativar diagnósticos.'
@@ -403,6 +405,8 @@ COMMAND_JSON_TO_LUA =
'Converte de JSON para Lua.'
COMMAND_JSON_TO_LUA_FAILED =
'Converção de JSON para Lua falhou: {}.'
+COMMAND_ADD_DICT = -- TODO: need translate!
+'Add Word to dictionary'
COMPLETION_IMPORT_FROM =
'Importa de {}.'
diff --git a/locale/pt-br/setting.lua b/locale/pt-br/setting.lua
index 443539be..9605f09b 100644
--- a/locale/pt-br/setting.lua
+++ b/locale/pt-br/setting.lua
@@ -56,13 +56,19 @@ config.diagnostics.workspaceRate = -- TODO: need translate!
"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 = -- TODO: need translate!
"How to diagnose files loaded via `Lua.workspace.library`."
+config.diagnostics.libraryFiles.Enable = -- TODO: need translate!
+"Always diagnose these files."
+config.diagnostics.libraryFiles.Opened = -- TODO: need translate!
+"Only when these files are opened will it be diagnosed."
+config.diagnostics.libraryFiles.Disable = -- TODO: need translate!
+"These files are not diagnosed."
config.diagnostics.ignoredFiles = -- TODO: need translate!
"How to diagnose ignored files."
-config.diagnostics.files.Enable = -- TODO: need translate!
+config.diagnostics.ignoredFiles.Enable = -- TODO: need translate!
"Always diagnose these files."
-config.diagnostics.files.Opened = -- TODO: need translate!
+config.diagnostics.ignoredFiles.Opened = -- TODO: need translate!
"Only when these files are opened will it be diagnosed."
-config.diagnostics.files.Disable = -- TODO: need translate!
+config.diagnostics.ignoredFiles.Disable = -- TODO: need translate!
"These files are not diagnosed."
config.diagnostics.disableScheme = -- TODO: need translate!
'Do not diagnose Lua files that use the following scheme.'
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index 24bd02bd..a5a5a34c 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -384,6 +384,8 @@ ACTION_DISABLE_DIAG_FILE=
'在此文件禁用诊断 ({})。'
ACTION_MARK_ASYNC =
'将当前函数标记为异步。'
+ACTION_ADD_DICT = -- TODO: need translate!
+'Add \'{}\' to workspace dict'
COMMAND_DISABLE_DIAG =
'禁用诊断'
@@ -403,6 +405,8 @@ COMMAND_JSON_TO_LUA =
'JSON 转 Lua'
COMMAND_JSON_TO_LUA_FAILED =
'JSON 转 Lua 失败:{}'
+COMMAND_ADD_DICT = -- TODO: need translate!
+'Add Word to dictionary'
COMPLETION_IMPORT_FROM =
'从 {} 中导入'
diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua
index 4c4f8e4b..6b8cce61 100644
--- a/locale/zh-cn/setting.lua
+++ b/locale/zh-cn/setting.lua
@@ -56,13 +56,19 @@ config.diagnostics.workspaceRate =
"工作区诊断的运行速率(百分比)。降低该值会减少CPU占用,但是也会降低工作区诊断的速度。你当前正在编辑的文件的诊断总是全速完成,不受该选项影响。"
config.diagnostics.libraryFiles =
"如何诊断通过 `Lua.workspace.library` 加载的文件。"
+config.diagnostics.libraryFiles.Enable =
+"总是诊断这些文件。"
+config.diagnostics.libraryFiles.Opened =
+"只有打开这些文件时才会诊断。"
+config.diagnostics.libraryFiles.Disable =
+"不诊断这些文件。"
config.diagnostics.ignoredFiles =
"如何诊断被忽略的文件。"
-config.diagnostics.files.Enable =
+config.diagnostics.ignoredFiles.Enable =
"总是诊断这些文件。"
-config.diagnostics.files.Opened =
+config.diagnostics.ignoredFiles.Opened =
"只有打开这些文件时才会诊断。"
-config.diagnostics.files.Disable =
+config.diagnostics.ignoredFiles.Disable =
"不诊断这些文件。"
config.diagnostics.disableScheme =
'不诊断使用以下 scheme 的lua文件。'
diff --git a/locale/zh-tw/meta.lua b/locale/zh-tw/meta.lua
index 12e0e7e6..2e608a38 100644
--- a/locale/zh-tw/meta.lua
+++ b/locale/zh-tw/meta.lua
@@ -739,4 +739,4 @@ utf8.codepoint =
utf8.len =
'回傳字串 `s` 中 從位置 `i` 到 `j` 間 (包括兩端) UTF-8 字元的個數。'
utf8.offset =
-'回傳編碼在 `s` 中的第 `n` 個字元的開始位置(按位元組數)(從位置 `i` 處開始統計)。' \ No newline at end of file
+'回傳編碼在 `s` 中的第 `n` 個字元的開始位置(按位元組數)(從位置 `i` 處開始統計)。'
diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua
index 29be6df3..d51700a5 100644
--- a/locale/zh-tw/script.lua
+++ b/locale/zh-tw/script.lua
@@ -384,6 +384,8 @@ ACTION_DISABLE_DIAG_FILE=
'在此檔案停用診斷 ({})。'
ACTION_MARK_ASYNC =
'將目前函式標記為非同步。'
+ACTION_ADD_DICT = -- TODO: need translate!
+'Add \'{}\' to workspace dict'
COMMAND_DISABLE_DIAG =
'停用診斷'
@@ -403,6 +405,8 @@ COMMAND_JSON_TO_LUA =
'JSON 轉 Lua'
COMMAND_JSON_TO_LUA_FAILED =
'JSON 轉 Lua 失敗:{}'
+COMMAND_ADD_DICT = -- TODO: need translate!
+'Add Word to dictionary'
COMPLETION_IMPORT_FROM =
'從 {} 中匯入'
@@ -541,4 +545,4 @@ CLI_CHECK_INITING =
CLI_CHECK_SUCCESS =
'診斷完成,沒有發現問題'
CLI_CHECK_RESULTS =
-'診斷完成,共有 {} 個問題,請查看 {}' \ No newline at end of file
+'診斷完成,共有 {} 個問題,請查看 {}'
diff --git a/locale/zh-tw/setting.lua b/locale/zh-tw/setting.lua
index 782ca66a..210b9eb5 100644
--- a/locale/zh-tw/setting.lua
+++ b/locale/zh-tw/setting.lua
@@ -56,13 +56,19 @@ config.diagnostics.workspaceRate =
"工作區診斷的執行速率(百分比)。降低該值會減少CPU佔用,但是也會降低工作區診斷的速度。你目前正在編輯的檔案的診斷總是全速完成,不受該選項影響。"
config.diagnostics.libraryFiles =
"如何診斷透過 `Lua.workspace.library` 載入的檔案。"
+config.diagnostics.libraryFiles.Enable =
+"總是診斷這些檔案。"
+config.diagnostics.libraryFiles.Opened =
+"只有打開這些檔案時才會診斷。"
+config.diagnostics.libraryFiles.Disable =
+"不診斷這些檔案。"
config.diagnostics.ignoredFiles =
"如何診斷被忽略的檔案。"
-config.diagnostics.files.Enable =
+config.diagnostics.ignoredFiles.Enable =
"總是診斷這些檔案。"
-config.diagnostics.files.Opened =
+config.diagnostics.ignoredFiles.Opened =
"只有打開這些檔案時才會診斷。"
-config.diagnostics.files.Disable =
+config.diagnostics.ignoredFiles.Disable =
"不診斷這些檔案。"
config.diagnostics.disableScheme =
'不診斷使用以下 scheme 的lua檔案。'
@@ -248,4 +254,4 @@ config.diagnostics['duplicate-index'] =
config.diagnostics['empty-block'] =
'空程式碼區塊'
config.diagnostics['redundant-value'] =
-'賦值操作時,值的數量比被賦值的對象多' \ No newline at end of file
+'賦值操作時,值的數量比被賦值的對象多'