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.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/locale/pt-br/setting.lua b/locale/pt-br/setting.lua
index 3a8049af..e8271ce5 100644
--- a/locale/pt-br/setting.lua
+++ b/locale/pt-br/setting.lua
@@ -275,6 +275,12 @@ Once one subtype of a union type meets the condition, the union type also meets
When this setting is `false`, the `number|boolean` type cannot be assigned to the `number` type. It can be with `true`.
]]
+config.type.weakNilCheck = -- TODO: need translate!
+[[
+When checking the type of union type, ignore the `nil` in it.
+
+When this setting is `false`, the `number|nil` 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!