diff options
author | AndreaWalchshoferSCCH <122894794+AndreaWalchshoferSCCH@users.noreply.github.com> | 2023-03-30 14:49:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 14:49:30 +0200 |
commit | 43794193ef981ffecb477bfce444428ded852aa0 (patch) | |
tree | 956e4c3feb41a309e1345c48aaff987501a483c2 /locale/en-us/script.lua | |
parent | 429c48fcb453aeb2de0df55492895d51ad9596f0 (diff) | |
download | lua-language-server-43794193ef981ffecb477bfce444428ded852aa0.zip |
Add diagnostic to enforce lowercase local element names (#2)
Diffstat (limited to 'locale/en-us/script.lua')
-rw-r--r-- | locale/en-us/script.lua | 5 |
1 files changed, 4 insertions, 1 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 ...' |