summaryrefslogtreecommitdiff
path: root/locale/en-us/script.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-06 16:42:14 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-06 16:42:14 +0800
commitd5ed27c9bf11908a2543db2aec9524f4ce69da61 (patch)
tree80c8b60d1607c363496fb95c357fc76e281c6ac1 /locale/en-us/script.lua
parent957f2610312545756f71bc0d08ca151e3efdb061 (diff)
downloadlua-language-server-d5ed27c9bf11908a2543db2aec9524f4ce69da61.zip
improve diag info
Diffstat (limited to 'locale/en-us/script.lua')
-rw-r--r--locale/en-us/script.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua
index 7af86ba0..35e1df8f 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -25,8 +25,8 @@ DIAG_SYNTAX_CHECK = 'Lua Syntax Check.'
DIAG_NEED_VERSION = 'Supported in {}, current is {}.'
DIAG_DEFINED_VERSION = 'Defined in {}, current is {}.'
DIAG_DEFINED_CUSTOM = 'Defined in {}.'
-DIAG_DUPLICATE_CLASS = 'Duplicate class.'
-DIAG_UNDEFINED_CLASS = 'Undefined Class.'
+DIAG_DUPLICATE_CLASS = 'Duplicate Class `{}`.'
+DIAG_UNDEFINED_CLASS = 'Undefined Class `{}`.'
DIAG_CYCLIC_EXTENDS = 'Cyclic extends.'
DIAG_INEXISTENT_PARAM = 'Inexistent param.'
DIAG_DUPLICATE_PARAM = 'Duplicate param.'
@@ -44,13 +44,13 @@ DIAG_DEPRECATED = 'Deprecated.'
DIAG_CIRCLE_DOC_CLASS = 'Circularly inherited classes.'
DIAG_DOC_FIELD_NO_CLASS = 'The field must be defined after the class.'
-DIAG_DUPLICATE_DOC_CLASS = 'Duplicate defined class.'
-DIAG_DUPLICATE_DOC_FIELD = 'Duplicate defined fields.'
-DIAG_DUPLICATE_DOC_PARAM = 'Duplicate params.'
-DIAG_UNDEFINED_DOC_CLASS = 'Undefined class.'
-DIAG_UNDEFINED_DOC_NAME = 'Undefined type or alias.'
-DIAG_UNDEFINED_DOC_PARAM = 'Undefined param.'
-DIAG_UNKNOWN_DIAG_CODE = 'Unknown diagnostic code.'
+DIAG_DUPLICATE_DOC_CLASS = 'Duplicate defined class `{}`.'
+DIAG_DUPLICATE_DOC_FIELD = 'Duplicate defined fields `{}`.'
+DIAG_DUPLICATE_DOC_PARAM = 'Duplicate params `{}`.'
+DIAG_UNDEFINED_DOC_CLASS = 'Undefined class `{}`.'
+DIAG_UNDEFINED_DOC_NAME = 'Undefined type or alias `{}`.'
+DIAG_UNDEFINED_DOC_PARAM = 'Undefined param `{}`.'
+DIAG_UNKNOWN_DIAG_CODE = 'Unknown diagnostic code `{}`.'
MWS_NOT_SUPPORT = '{} dose not support multi workspace for now, I may need to restart to support the new workspace ...'
MWS_RESTART = 'Restart'