summaryrefslogtreecommitdiff
path: root/locale/zh-cn
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-10-25 00:55:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-10-25 00:55:15 +0800
commite3edc5d1880a392e065a71926b6f8ff113ea300c (patch)
tree1b64dc28b4bdacd6ef44769fb38588c286a3adea /locale/zh-cn
parenta90a48c328045dd3f89da78a77f977ceb2cc7ae0 (diff)
downloadlua-language-server-e3edc5d1880a392e065a71926b6f8ff113ea300c.zip
diagnostic for invisible fields
#1316
Diffstat (limited to 'locale/zh-cn')
-rw-r--r--locale/zh-cn/script.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index 04d5e115..a0384e8f 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -144,6 +144,10 @@ DIAG_UNKNOWN_OPERATOR =
'未知的运算符 `{}`。'
DIAG_UNREACHABLE_CODE =
'不可达的代码。'
+DIAG_INVISIBLE_PRIVATE =
+'字段 `{field}` 是私有的,只能在 `{class}` 类中才能访问。'
+DIAG_INVISIBLE_PROTECTED =
+'字段 `{field}` 收到保护,只能在 `{class}` 类极其子类中才能访问。'
MWS_NOT_SUPPORT =
'{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...'