diff options
Diffstat (limited to 'locale/en-us')
-rw-r--r-- | locale/en-us/script.lua | 5 | ||||
-rw-r--r-- | locale/en-us/setting.lua | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index 2a13214f..e7f4b98b 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -150,8 +150,11 @@ DIAG_INVISIBLE_PROTECTED = 'Field `{field}` is protected, it can only be accessed in class `{class}` and its subclasses.' DIAG_INVISIBLE_PACKAGE = 'Field `{field}` can only be accessed in same file `{uri}`.' -DIAG_GLOBAL_ELEMENT = +DIAG_GLOBAL_ELEMENT = 'Element is global.' +DIAG_UPPERCASE_LOCAL = +'Local element `{}` must start with lowercase letter' + MWS_NOT_SUPPORT = '{} does not support multi workspace for now, I may need to restart to support the new workspace ...' diff --git a/locale/en-us/setting.lua b/locale/en-us/setting.lua index 9f606cd7..b03e3e43 100644 --- a/locale/en-us/setting.lua +++ b/locale/en-us/setting.lua @@ -415,8 +415,10 @@ config.diagnostics['unknown-operator'] = 'Enable diagnostics for unknown operators.' config.diagnostics['unreachable-code'] = 'Enable diagnostics for unreachable code.' -config.diagnostics['global-element'] = -'Enable diagnostics to warn about global elements.' +config.diagnostics['global-element'] = +'Enable diagnostics to warn about global variables.' +config.diagnostics['uppercase-local'] = +'Enable diagnostics to warn about local element names starting with an uppercase letter.' config.typeFormat.config = 'Configures the formatting behavior while typing Lua code.' config.typeFormat.config.auto_complete_end = |