summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/en-us/setting.lua6
-rw-r--r--locale/pt-br/setting.lua6
-rw-r--r--locale/zh-cn/setting.lua6
-rw-r--r--locale/zh-tw/setting.lua6
4 files changed, 24 insertions, 0 deletions
diff --git a/locale/en-us/setting.lua b/locale/en-us/setting.lua
index 53fdf187..82892dc2 100644
--- a/locale/en-us/setting.lua
+++ b/locale/en-us/setting.lua
@@ -169,6 +169,10 @@ config.hover.previewFields =
"When hovering to view a table, limits the maximum number of previews for fields."
config.hover.enumsLimit =
"When the value corresponds to multiple types, limit the number of types displaying."
+config.hover.expandAlias =
+[[
+Whether to expand the alias. For example, expands `---@alias myType boolean|number` appears as `boolean|number`, otherwise it appears as `myType'.
+]]
config.develop.enable =
'Developer mode. Do not enable, performance will be affected.'
config.develop.debuggerPort =
@@ -205,6 +209,8 @@ config.hint.arrayIndex.Auto =
'Show hints only when the table is greater than 3 items, or the table is a mixed table.'
config.hint.arrayIndex.Disable =
'Disable hints of array index.'
+config.hint.await =
+'If the called function is marked `---@async`, prompt `await` at the call.'
config.format.enable =
'Enable code formatter.'
config.telemetry.enable =
diff --git a/locale/pt-br/setting.lua b/locale/pt-br/setting.lua
index 9605f09b..50ec9473 100644
--- a/locale/pt-br/setting.lua
+++ b/locale/pt-br/setting.lua
@@ -169,6 +169,10 @@ config.hover.previewFields = -- TODO: need translate!
"When hovering to view a table, limits the maximum number of previews for fields."
config.hover.enumsLimit = -- TODO: need translate!
"When the value corresponds to multiple types, limit the number of types displaying."
+config.hover.expandAlias = -- TODO: need translate!
+[[
+Whether to expand the alias. For example, expands `---@alias myType boolean|number` appears as `boolean|number`, otherwise it appears as `myType'.
+]]
config.develop.enable = -- TODO: need translate!
'Developer mode. Do not enable, performance will be affected.'
config.develop.debuggerPort = -- TODO: need translate!
@@ -205,6 +209,8 @@ config.hint.arrayIndex.Auto = -- TODO: need translate!
'Show hints only when the table is greater than 3 items, or the table is a mixed table.'
config.hint.arrayIndex.Disable = -- TODO: need translate!
'Disable hints of array index.'
+config.hint.await = -- TODO: need translate!
+'If the called function is marked `---@async`, prompt `await` at the call.'
config.format.enable = -- TODO: need translate!
'Enable code formatter.'
config.telemetry.enable = -- TODO: need translate!
diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua
index 6b8cce61..1c538c60 100644
--- a/locale/zh-cn/setting.lua
+++ b/locale/zh-cn/setting.lua
@@ -169,6 +169,10 @@ config.hover.previewFields =
"悬停提示查看表时,限制表内字段的最大预览数量。"
config.hover.enumsLimit =
"当值对应多个类型时,限制类型的显示数量。"
+config.hover.expandAlias =
+[[
+是否展开别名。例如 `---@alias myType boolean|number` 展开后显示为 `boolean|number`,否则显示为 `myType`。
+]]
config.develop.enable =
'开发者模式。请勿开启,会影响性能。'
config.develop.debuggerPort =
@@ -205,6 +209,8 @@ config.hint.arrayIndex.Auto =
'只有表大于3项,或者表是混合类型时才进行提示。'
config.hint.arrayIndex.Disable =
'禁用数组索引提示。'
+config.hint.await =
+'如果调用的函数被标记为了 `---@async` ,则在调用处提示 `await` 。'
config.format.enable =
'启用代码格式化程序。'
config.telemetry.enable =
diff --git a/locale/zh-tw/setting.lua b/locale/zh-tw/setting.lua
index 210b9eb5..d8af5dfd 100644
--- a/locale/zh-tw/setting.lua
+++ b/locale/zh-tw/setting.lua
@@ -169,6 +169,10 @@ config.hover.previewFields =
"懸浮提示檢視表時,限制表內欄位的最大預覽數量。"
config.hover.enumsLimit =
"當值對應多個型別時,限制型別的顯示數量。"
+config.hover.expandAlias = -- TODO: need translate!
+[[
+Whether to expand the alias. For example, expands `---@alias myType boolean|number` appears as `boolean|number`, otherwise it appears as `myType'.
+]]
config.develop.enable =
'開發者模式。請勿開啟,會影響效能。'
config.develop.debuggerPort =
@@ -205,6 +209,8 @@ config.hint.arrayIndex.Auto =
'只有表大於3項,或者表是混合型別時才進行提示。'
config.hint.arrayIndex.Disable =
'停用陣列索引提示。'
+config.hint.await = -- TODO: need translate!
+'If the called function is marked `---@async`, prompt `await` at the call.'
config.format.enable =
'啟用程式碼格式化程式。'
config.telemetry.enable =