summaryrefslogtreecommitdiff
path: root/locale/pt-br/setting.lua
diff options
context:
space:
mode:
Diffstat (limited to 'locale/pt-br/setting.lua')
-rw-r--r--locale/pt-br/setting.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/locale/pt-br/setting.lua b/locale/pt-br/setting.lua
index 7d9a3d0e..30e29893 100644
--- a/locale/pt-br/setting.lua
+++ b/locale/pt-br/setting.lua
@@ -259,6 +259,14 @@ config.IntelliSense.traceBeSetted = -- TODO: need translate!
'Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features) to learn more.'
config.IntelliSense.traceFieldInject = -- TODO: need translate!
'Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features) to learn more.'
+config.type.castNumberToInteger = -- TODO: need translate!
+'Allowed to assign the `number` type to the `integer` type.'
+config.type.weakUnionCheck = -- TODO: need translate!
+[[
+Once one subtype of a union type meets the condition, the union type also meets the condition.
+
+When this setting is `false`, the `number|boolean` type cannot be assigned to the `number` type. It can be with `true`.
+]]
config.diagnostics['unused-local'] = -- TODO: need translate!
'未使用的局部变量'
config.diagnostics['unused-function'] = -- TODO: need translate!