diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-24 16:53:37 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-24 16:53:37 +0800 |
commit | 4059df8b731c25a0463e1383f5b69fe54ae4f912 (patch) | |
tree | 85d27d937c3a3595be5538c3114edcb28482a0d1 /locale/pt-br | |
parent | 829e0da21315c1dda2f2e23a1754109788a6635a (diff) | |
download | lua-language-server-4059df8b731c25a0463e1383f5b69fe54ae4f912.zip |
update locale
Diffstat (limited to 'locale/pt-br')
-rw-r--r-- | locale/pt-br/script.lua | 12 | ||||
-rw-r--r-- | locale/pt-br/setting.lua | 36 |
2 files changed, 46 insertions, 2 deletions
diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua index 3b784636..7224a360 100644 --- a/locale/pt-br/script.lua +++ b/locale/pt-br/script.lua @@ -116,6 +116,18 @@ DIAG_UNDEFINED_DOC_PARAM = 'Parâmetro indefinido `{}`.' DIAG_UNKNOWN_DIAG_CODE = 'Código de diagnóstico desconhecido `{}`.' +DIAG_CAST_LOCAL_TYPE = -- TODO: need translate! +'This variable has explicitly defined as `{def}`. Cannot convert its type to `{ref}`.' +DIAG_CAST_FIELD_TYPE = -- TODO: need translate! +'This field has explicitly defined as `{def}`. Cannot convert its type to `{ref}`.' +DIAG_ASSIGN_TYPE_MISMATCH = -- TODO: need translate! +'Cannot assign `{ref}` to `{def}`.' +DIAG_PARAM_TYPE_MISMATCH = -- TODO: need translate! +'Cannot assign `{ref}` to parameter `{def}`.' +DIAG_UNKNOWN_CAST_VARIABLE = -- TODO: need translate! +'Unknown type conversion variable `{}`.' +DIAG_CAST_TYPE_MISMATCH = -- TODO: need translate! +'Cannot convert `{ref}` to `{def}`。' MWS_NOT_SUPPORT = '{} não é suportado múltiplos espaços de trabalho por enquanto, posso precisar reiniciar para estabelecer um novo espaço de trabalho ...' diff --git a/locale/pt-br/setting.lua b/locale/pt-br/setting.lua index 50ec9473..7d9a3d0e 100644 --- a/locale/pt-br/setting.lua +++ b/locale/pt-br/setting.lua @@ -36,6 +36,8 @@ Adjust the enabled state of the built-in library. You can disable (or redefine) * `enable`: always enable * `disable`: always disable ]] +config.runtime.meta = -- TODO: need translate! +'Format of the directory name of the meta files.' config.diagnostics.enable = -- TODO: need translate! "Enable diagnostics." config.diagnostics.disable = -- TODO: need translate! @@ -43,12 +45,35 @@ config.diagnostics.disable = -- TODO: need translate! config.diagnostics.globals = -- TODO: need translate! "Defined global variables." config.diagnostics.severity = -- TODO: need translate! -"Modified diagnostic severity." +[[ +Modify the diagnostic severity. + +End with `!` means override the group setting `diagnostics.groupSeverity`. +]] config.diagnostics.neededFileStatus = -- TODO: need translate! [[ * Opened: only diagnose opened files * Any: diagnose all files -* Disable: disable this diagnostic +* None: disable this diagnostic + +End with `!` means override the group setting `diagnostics.groupFileStatus`. +]] +config.diagnostics.groupSeverity = -- TODO: need translate! +[[ +Modify the diagnostic severity in a group. +`Fallback` means that diagnostics in this group are controlled by `diagnostics.severity` separately. +Other settings will override individual settings without end of `!`. +]] +config.diagnostics.groupFileStatus = -- TODO: need translate! +[[ +Modify the diagnostic needed file status in a group. + +* Opened: only diagnose opened files +* Any: diagnose all files +* None: disable this diagnostic + +`Fallback` means that diagnostics in this group are controlled by `diagnostics.neededFileStatus` separately. +Other settings will override individual settings without end of `!`. ]] config.diagnostics.workspaceDelay = -- TODO: need translate! "Latency (milliseconds) for workspace diagnostics. When you start the workspace, or edit any file, the entire workspace will be re-diagnosed in the background. Set to negative to disable workspace diagnostics." @@ -213,6 +238,13 @@ 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.format.defaultConfig = -- TODO: need translate! +[[ +The default format configuration. Has a lower priority than `.editorconfig` file in the workspace. +Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage. +]] +config.spell.dict = -- TODO: need translate! +'Custom words for spell checking.' config.telemetry.enable = -- TODO: need translate! [[ Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Privacy-Policy). |