summaryrefslogtreecommitdiff
path: root/locale/zh-cn/setting.lua
diff options
context:
space:
mode:
Diffstat (limited to 'locale/zh-cn/setting.lua')
-rw-r--r--locale/zh-cn/setting.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua
index 93bdc7ff..3f57f995 100644
--- a/locale/zh-cn/setting.lua
+++ b/locale/zh-cn/setting.lua
@@ -294,6 +294,10 @@ config.type.weakNilCheck =
此设置为 `false` 时,`numer|nil` 类型无法赋给 `number` 类型;为 `true` 是则可以。
]]
+config.doc.privateName =
+'将特定名称的字段视为私有,例如 `m_*` 意味着 `XXX.m_id` 与 `XXX.m_type` 是私有字段,只能在定义所在的类中访问。'
+config.doc.protectedName =
+'将特定名称的字段视为受保护,例如 `m_*` 意味着 `XXX.m_id` 与 `XXX.m_type` 是受保护的字段,只能在定义所在的类极其子类中访问。'
config.diagnostics['unused-local'] =
'未使用的局部变量'
config.diagnostics['unused-function'] =