diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-10-31 14:30:26 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-10-31 14:30:26 +0800 |
commit | 4d65d77f5214bf5dd935956c861580ff2b46bfe4 (patch) | |
tree | 05266557abeb44e99ac242f16d13f90ecb86c7a7 /locale/zh-tw | |
parent | a498527cd98f683bf61e86430766ddc20e063c49 (diff) | |
download | lua-language-server-4d65d77f5214bf5dd935956c861580ff2b46bfe4.zip |
add `---@package`
Diffstat (limited to 'locale/zh-tw')
-rw-r--r-- | locale/zh-tw/script.lua | 2 | ||||
-rw-r--r-- | locale/zh-tw/setting.lua | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua index b76d2fd1..0f753381 100644 --- a/locale/zh-tw/script.lua +++ b/locale/zh-tw/script.lua @@ -148,6 +148,8 @@ 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.' +DIAG_INVISIBLE_PACKAGE = -- TODO: need translate! +'Field `{field}` can only be accessed in same file `{uri}`.' MWS_NOT_SUPPORT = '{} 目前還不支援多工作目錄,我可能需要重新啟動才能支援新的工作目錄...' diff --git a/locale/zh-tw/setting.lua b/locale/zh-tw/setting.lua index cf0c2a4c..a2c34e29 100644 --- a/locale/zh-tw/setting.lua +++ b/locale/zh-tw/setting.lua @@ -298,6 +298,8 @@ 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.doc.packageName = -- TODO: need translate! +'Treat specific field names as package, e.g. `m_*` means `XXX.m_id` and `XXX.m_type` are package, witch can only be accessed in the file where the definition is located.' config.diagnostics['unused-local'] = '未使用的區域變數' config.diagnostics['unused-function'] = |