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/pt-br | |
parent | dc8d3adcd83a8d9bc33b8b783fce3f2ad76be917 (diff) | |
download | lua-language-server-2548e6d5f5744d38230866e07c1eaec1c16a1302.zip |
update locale
Diffstat (limited to 'locale/pt-br')
-rw-r--r-- | locale/pt-br/script.lua | 12 | ||||
-rw-r--r-- | locale/pt-br/setting.lua | 8 |
2 files changed, 20 insertions, 0 deletions
diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua index de84b00d..100da06b 100644 --- a/locale/pt-br/script.lua +++ b/locale/pt-br/script.lua @@ -128,6 +128,18 @@ DIAG_UNKNOWN_CAST_VARIABLE = -- TODO: need translate! 'Unknown type conversion variable `{}`.' DIAG_CAST_TYPE_MISMATCH = -- TODO: need translate! 'Cannot convert `{ref}` to `{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 = '{} 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/pt-br/setting.lua b/locale/pt-br/setting.lua index 30e29893..3a8049af 100644 --- a/locale/pt-br/setting.lua +++ b/locale/pt-br/setting.lua @@ -236,6 +236,14 @@ config.hint.arrayIndex.Disable = -- TODO: need translate! 'Disable hints of array index.' config.hint.await = -- TODO: need translate! 'If the called function is marked `---@async`, prompt `await` at the call.' +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 = -- TODO: need translate! 'Enable code formatter.' config.format.defaultConfig = -- TODO: need translate! |