diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 21:25:21 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 21:25:21 +0800 |
commit | 2548e6d5f5744d38230866e07c1eaec1c16a1302 (patch) | |
tree | 19bf1e4d7a41eb898d15ff5b1638f6bbb8515f97 /locale/zh-tw | |
parent | dc8d3adcd83a8d9bc33b8b783fce3f2ad76be917 (diff) | |
download | lua-language-server-2548e6d5f5744d38230866e07c1eaec1c16a1302.zip |
update locale
Diffstat (limited to 'locale/zh-tw')
-rw-r--r-- | locale/zh-tw/script.lua | 12 | ||||
-rw-r--r-- | locale/zh-tw/setting.lua | 8 |
2 files changed, 20 insertions, 0 deletions
diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua index df02d094..14716598 100644 --- a/locale/zh-tw/script.lua +++ b/locale/zh-tw/script.lua @@ -128,6 +128,18 @@ DIAG_UNKNOWN_CAST_VARIABLE = '未知的類型轉換變數 `{}`.' DIAG_CAST_TYPE_MISMATCH = '不能將 `{ref}` 轉換為 `{def}`。' +DIAG_MISSING_RETURN_VALUE = -- TODO: need translate! +'At least {min} return values are required, but here only {rmax} values are returned.' +DIAG_MISSING_RETURN_VALUE_RANGE = -- TODO: need translate! +'At least {min} return values are required, but here only {rmin} to {rmax} values are returned.' +DIAG_REDUNDANT_RETURN_VALUE = -- TODO: need translate! +'At most {max} values returned, but the {rmax}th value was returned here.' +DIAG_REDUNDANT_RETURN_VALUE_RANGE = -- TODO: need translate! +'At most {max} values returned, but {rmin}th to {rmax}th values were returned here.' +DIAG_MISSING_RETURN = -- TODO: need translate! +'Return value is required here.' +DIAG_RETURN_TYPE_MISMATCH = -- TODO: need translate! +'The type of the {index} return value is `{def}`, but the actual return is `{ref}`.' MWS_NOT_SUPPORT = '{} 目前還不支援多工作目錄,我可能需要重新啟動才能支援新的工作目錄...' diff --git a/locale/zh-tw/setting.lua b/locale/zh-tw/setting.lua index 108c642d..9369bbcd 100644 --- a/locale/zh-tw/setting.lua +++ b/locale/zh-tw/setting.lua @@ -235,6 +235,14 @@ config.hint.arrayIndex.Disable = '停用陣列索引提示。' config.hint.await = '如果呼叫的函數被標記為了 `---@async`,則在呼叫處提示 `await`。' +config.hint.semicolon = -- TODO: need translate! +'If there is no semicolon at the end of the statement, display a virtual semicolon.' +config.hint.semicolon.All = -- TODO: need translate! +'All statements display virtual semicolons.' +config.hint.semicolon.SameLine = -- TODO: need translate! +'When two statements are on the same line, display a semicolon between them.' +config.hint.semicolon.Disable = -- TODO: need translate! +'Disable virtual semicolons.' config.format.enable = '啟用程式碼格式化程式。' config.format.defaultConfig = |