diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-25 03:58:51 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-25 03:58:51 +0800 |
commit | eff02b11a8186ef25f35aa34be2e59470fd69cb3 (patch) | |
tree | 08f10dc0fdddf6dcd9865dce0c429b4a2aed191a /locale/pt-br/setting.lua | |
parent | fa7375775e97d68ce7507b0c7e50eced84bab2ac (diff) | |
download | lua-language-server-eff02b11a8186ef25f35aa34be2e59470fd69cb3.zip |
update locale for new settings
Diffstat (limited to 'locale/pt-br/setting.lua')
-rw-r--r-- | locale/pt-br/setting.lua | 8 |
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! |