summaryrefslogtreecommitdiff
path: root/locale/zh-tw
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-10-25 01:28:17 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-10-25 01:28:17 +0800
commit8f2dac8ba32271e45061128070063e0ddd0d73c4 (patch)
tree38714d88cb83e1290bb19c55c259653a25e831dd /locale/zh-tw
parente3edc5d1880a392e065a71926b6f8ff113ea300c (diff)
downloadlua-language-server-8f2dac8ba32271e45061128070063e0ddd0d73c4.zip
add `doc.privateName` and `doc.protectedName`
#1316
Diffstat (limited to 'locale/zh-tw')
-rw-r--r--locale/zh-tw/setting.lua4
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'] =