diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-10-25 01:28:17 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-10-25 01:28:17 +0800 |
commit | 8f2dac8ba32271e45061128070063e0ddd0d73c4 (patch) | |
tree | 38714d88cb83e1290bb19c55c259653a25e831dd /locale/zh-tw/setting.lua | |
parent | e3edc5d1880a392e065a71926b6f8ff113ea300c (diff) | |
download | lua-language-server-8f2dac8ba32271e45061128070063e0ddd0d73c4.zip |
add `doc.privateName` and `doc.protectedName`
#1316
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'] = |