From e3edc5d1880a392e065a71926b6f8ff113ea300c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 25 Oct 2022 00:55:15 +0800 Subject: diagnostic for invisible fields #1316 --- locale/zh-tw/script.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'locale/zh-tw') diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua index 8f03d7ca..b76d2fd1 100644 --- a/locale/zh-tw/script.lua +++ b/locale/zh-tw/script.lua @@ -144,6 +144,10 @@ DIAG_UNKNOWN_OPERATOR = -- TODO: need translate! 'Unknown operator `{}`.' DIAG_UNREACHABLE_CODE = -- TODO: need translate! 'Unreachable code.' +DIAG_INVISIBLE_PRIVATE = -- TODO: need translate! +'Field `{field}` is private, it can only be accessed in class `{class}`.' +DIAG_INVISIBLE_PROTECTED = -- TODO: need translate! +'Field `{field}` is protected, it can only be accessed in class `{class}` and its subclasses.' MWS_NOT_SUPPORT = '{} 目前還不支援多工作目錄,我可能需要重新啟動才能支援新的工作目錄...' -- cgit v1.2.3