diff options
Diffstat (limited to 'locale/zh-tw/setting.lua')
-rw-r--r-- | locale/zh-tw/setting.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/locale/zh-tw/setting.lua b/locale/zh-tw/setting.lua index 5f6e564e..cf0c2a4c 100644 --- a/locale/zh-tw/setting.lua +++ b/locale/zh-tw/setting.lua @@ -294,6 +294,10 @@ 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.doc.privateName = -- TODO: need translate! +'Treat specific field names as private, e.g. `m_*` means `XXX.m_id` and `XXX.m_type` are private, witch can only be accessed in the class where the definition is located.' +config.doc.protectedName = -- TODO: need translate! +'Treat specific field names as protected, e.g. `m_*` means `XXX.m_id` and `XXX.m_type` are protected, witch can only be accessed in the class where the definition is located and its subclasses.' config.diagnostics['unused-local'] = '未使用的區域變數' config.diagnostics['unused-function'] = |