summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/en-us/script.lua18
-rw-r--r--locale/zh-cn/script.lua18
2 files changed, 18 insertions, 18 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'
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index cdd0d900..94787304 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -25,8 +25,8 @@ DIAG_SYNTAX_CHECK = 'Lua 语法检查'
DIAG_NEED_VERSION = '在 {} 中是合法的,当前为 {}'
DIAG_DEFINED_VERSION = '在 {} 中有定义,当前为 {}'
DIAG_DEFINED_CUSTOM = '在 {} 中有定义'
-DIAG_DUPLICATE_CLASS = '重复定义的 Class 。'
-DIAG_UNDEFINED_CLASS = '未定义的 Class 。'
+DIAG_DUPLICATE_CLASS = '重复定义的 Class `{}`。'
+DIAG_UNDEFINED_CLASS = '未定义的 Class `{}`。'
DIAG_CYCLIC_EXTENDS = '循环继承。'
DIAG_INEXISTENT_PARAM = '不存在的参数。'
DIAG_DUPLICATE_PARAM = '重复的参数。'
@@ -44,13 +44,13 @@ DIAG_DEPRECATED = '已废弃。'
DIAG_CIRCLE_DOC_CLASS = '循环继承的类。'
DIAG_DOC_FIELD_NO_CLASS = '字段必须定义在类之后。'
-DIAG_DUPLICATE_DOC_CLASS = '重复定义的类。'
-DIAG_DUPLICATE_DOC_FIELD = '重复定义的字段。'
-DIAG_DUPLICATE_DOC_PARAM = '重复指向的参数。'
-DIAG_UNDEFINED_DOC_CLASS = '未定义的类。'
-DIAG_UNDEFINED_DOC_NAME = '未定义的类型或别名。'
-DIAG_UNDEFINED_DOC_PARAM = '指向了未定义的参数。'
-DIAG_UNKNOWN_DIAG_CODE = '未知的诊断代号。'
+DIAG_DUPLICATE_DOC_CLASS = '重复定义的类 `{}`。'
+DIAG_DUPLICATE_DOC_FIELD = '重复定义的字段 `{}`。'
+DIAG_DUPLICATE_DOC_PARAM = '重复指向的参数 `{}`。'
+DIAG_UNDEFINED_DOC_CLASS = '未定义的类 `{}`。'
+DIAG_UNDEFINED_DOC_NAME = '未定义的类型或别名 `{}`。'
+DIAG_UNDEFINED_DOC_PARAM = '指向了未定义的参数 `{}`。'
+DIAG_UNKNOWN_DIAG_CODE = '未知的诊断代号 `{}`。'
MWS_NOT_SUPPORT = '{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...'
MWS_RESTART = '重启'