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/zh-tw/setting.lua | |
parent | fa7375775e97d68ce7507b0c7e50eced84bab2ac (diff) | |
download | lua-language-server-eff02b11a8186ef25f35aa34be2e59470fd69cb3.zip |
update locale for new settings
Diffstat (limited to 'locale/zh-tw/setting.lua')
-rw-r--r-- | locale/zh-tw/setting.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/locale/zh-tw/setting.lua b/locale/zh-tw/setting.lua index 2e32ec19..108c642d 100644 --- a/locale/zh-tw/setting.lua +++ b/locale/zh-tw/setting.lua @@ -258,6 +258,14 @@ config.IntelliSense.traceBeSetted = '請查閱[文件](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)瞭解用法。' config.IntelliSense.traceFieldInject = '請查閱[文件](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)瞭解用法。' +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'] = '未使用的區域變數' config.diagnostics['unused-function'] = @@ -291,4 +299,4 @@ config.diagnostics['duplicate-index'] = config.diagnostics['empty-block'] = '空程式碼區塊' config.diagnostics['redundant-value'] = -'賦值操作時,值的數量比被賦值的對象多'
\ No newline at end of file +'賦值操作時,值的數量比被賦值的對象多' |