From 0db0e59ea3649d5be702b977073b5418c1d3b8ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 27 Jun 2022 14:32:50 +0800 Subject: improve description of `duplicate alias` --- locale/en-us/script.lua | 4 ++-- locale/pt-br/script.lua | 4 ++-- locale/zh-cn/script.lua | 4 ++-- locale/zh-tw/script.lua | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'locale') diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index 6c545d69..53b8f9ab 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -102,8 +102,8 @@ 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_ALIAS = +'Duplicate defined alias `{}`.' DIAG_DUPLICATE_DOC_FIELD = 'Duplicate defined fields `{}`.' DIAG_DUPLICATE_DOC_PARAM = diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua index f8216c5c..de84b00d 100644 --- a/locale/pt-br/script.lua +++ b/locale/pt-br/script.lua @@ -102,8 +102,8 @@ DIAG_CIRCLE_DOC_CLASS = 'Classes com herança cíclica.' DIAG_DOC_FIELD_NO_CLASS = 'O campo deve ser definido após a classe.' -DIAG_DUPLICATE_DOC_CLASS = -'Classe definida duplicada `{}`.' +DIAG_DUPLICATE_DOC_ALIAS = -- TODO: need translate! +'Duplicate defined alias `{}`.' DIAG_DUPLICATE_DOC_FIELD = 'Campos definidos duplicados `{}`.' DIAG_DUPLICATE_DOC_PARAM = diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index f555312b..85ebc44d 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -102,8 +102,8 @@ DIAG_CIRCLE_DOC_CLASS = '循环继承的类。' DIAG_DOC_FIELD_NO_CLASS = '字段必须定义在类之后。' -DIAG_DUPLICATE_DOC_CLASS = -'重复定义的类 `{}`。' +DIAG_DUPLICATE_DOC_ALIAS = +'重复定义的别名 `{}`。' DIAG_DUPLICATE_DOC_FIELD = '重复定义的字段 `{}`。' DIAG_DUPLICATE_DOC_PARAM = diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua index 91fd1bb7..df02d094 100644 --- a/locale/zh-tw/script.lua +++ b/locale/zh-tw/script.lua @@ -102,8 +102,8 @@ DIAG_CIRCLE_DOC_CLASS = '循環繼承的類別。' DIAG_DOC_FIELD_NO_CLASS = '欄位必須定義在類別之後。' -DIAG_DUPLICATE_DOC_CLASS = -'重複定義的類別 `{}`。' +DIAG_DUPLICATE_DOC_ALIAS = -- TODO: need translate! +'Duplicate defined alias `{}`.' DIAG_DUPLICATE_DOC_FIELD = '重複定義的欄位 `{}`。' DIAG_DUPLICATE_DOC_PARAM = -- cgit v1.2.3