diff options
author | AndreaWalchshoferSCCH <122894794+AndreaWalchshoferSCCH@users.noreply.github.com> | 2023-03-30 15:52:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 15:52:53 +0200 |
commit | 4eb508f5390b3de5aeb59e9e6cb5c0742c9ee97b (patch) | |
tree | 47b4b4583aefd4693cde2395ab063c0e96a8f27c /locale/pt-br | |
parent | 43794193ef981ffecb477bfce444428ded852aa0 (diff) | |
download | lua-language-server-4eb508f5390b3de5aeb59e9e6cb5c0742c9ee97b.zip |
Revert "Add diagnostic to enforce lowercase local element names (#2)" (#5)
This reverts commit 43794193ef981ffecb477bfce444428ded852aa0.
Diffstat (limited to 'locale/pt-br')
-rw-r--r-- | locale/pt-br/script.lua | 4 | ||||
-rw-r--r-- | locale/pt-br/setting.lua | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua index 6497c520..affcd893 100644 --- a/locale/pt-br/script.lua +++ b/locale/pt-br/script.lua @@ -150,10 +150,8 @@ 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}`.' -DIAG_GLOBAL_ELEMENT = -- TODO: need translate! +DIAG_GLOBAL_ELEMENT = -- TODO: need translate! 'Element is global.' -DIAG_UPPERCASE_LOCAL = -- TODO: need translate! -'Local element `{}` must start with lowercase letter' 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 ec94f575..95f26b76 100644 --- a/locale/pt-br/setting.lua +++ b/locale/pt-br/setting.lua @@ -415,10 +415,8 @@ config.diagnostics['unknown-operator'] = -- TODO: need translate! 'Enable diagnostics for unknown operators.' config.diagnostics['unreachable-code'] = -- TODO: need translate! 'Enable diagnostics for unreachable code.' -config.diagnostics['global-element'] = -- TODO: need translate! -'Enable diagnostics to warn about global variables.' -config.diagnostics['uppercase-local'] = -- TODO: need translate! -'Enable diagnostics to warn about local element names starting with an uppercase letter.' +config.diagnostics['global-element'] = -- TODO: need translate! +'Enable diagnostics to warn about global elements.' config.typeFormat.config = -- TODO: need translate! 'Configures the formatting behavior while typing Lua code.' config.typeFormat.config.auto_complete_end = -- TODO: need translate! |