diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-08-14 14:21:37 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-08-14 14:21:37 +0800 |
commit | 63edb992a363a97dfa3f02a988f5f7771d5b0b03 (patch) | |
tree | 3be9e8ee2cfd6bcdae73630293b7fc1d3821dd0e /locale | |
parent | 525d095c55c696a36f67caae5e4e8f631e10c116 (diff) | |
download | lua-language-server-63edb992a363a97dfa3f02a988f5f7771d5b0b03.zip |
new diag: `inject-field`
#1990
Diffstat (limited to 'locale')
-rw-r--r-- | locale/en-us/script.lua | 2 | ||||
-rw-r--r-- | locale/pt-br/script.lua | 2 | ||||
-rw-r--r-- | locale/zh-cn/script.lua | 2 | ||||
-rw-r--r-- | locale/zh-tw/script.lua | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index dd8c3fa9..ff89fb75 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -170,6 +170,8 @@ DIAG_GLOBAL_ELEMENT = 'Element is global.' DIAG_MISSING_FIELDS = 'Missing fields: {}' +DIAG_INJECT_FIELD = +'Fields cannot be injected into the reference of `{class}` for `{field}`. To do so, use `---@class` for `{node}`.' MWS_NOT_SUPPORT = '{} does not support multi workspace for now, I may need to restart to support the new workspace ...' diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua index 22f42820..969ad5cf 100644 --- a/locale/pt-br/script.lua +++ b/locale/pt-br/script.lua @@ -170,6 +170,8 @@ DIAG_GLOBAL_ELEMENT = -- TODO: need translate! 'Element is global.' DIAG_MISSING_FIELDS = -- TODO: need translate! 'Missing fields: {}' +DIAG_INJECT_FIELD = -- TODO: need translate! +'Fields cannot be injected into the reference of `{class}` for `{field}`. To do so, use `---@class` for `{node}`.' MWS_NOT_SUPPORT = '{} não é suportado múltiplos espaços de trabalho por enquanto, posso precisar reiniciar para estabelecer um novo espaço de trabalho ...' diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index be0cad3b..ef408533 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -170,6 +170,8 @@ DIAG_GLOBAL_ELEMENT = '全局变量。' DIAG_MISSING_FIELDS = '缺少字段: {}' +DIAG_INJECT_FIELD = +'不能在 `{class}` 的引用中注入字段 `{field}` 。如要这么做,请对 `{node}` 使用 `---@class` 。' MWS_NOT_SUPPORT = '{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...' diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua index 995ada56..bcd7af44 100644 --- a/locale/zh-tw/script.lua +++ b/locale/zh-tw/script.lua @@ -170,6 +170,8 @@ DIAG_GLOBAL_ELEMENT = -- TODO: need translate! 'Element is global.' DIAG_MISSING_FIELDS = -- TODO: need translate! 'Missing fields: {}' +DIAG_INJECT_FIELD = -- TODO: need translate! +'Fields cannot be injected into the reference of `{class}` for `{field}`. To do so, use `---@class` for `{node}`.' MWS_NOT_SUPPORT = '{} 目前還不支援多工作目錄,我可能需要重新啟動才能支援新的工作目錄...' |