From cb16010fbb4128e2a5a31013e02b8cc4a4318be8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 22 Aug 2023 17:08:39 +0800 Subject: fix wrong `missing-fields` with union types fix #2252 --- locale/pt-br/script.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'locale/pt-br/script.lua') diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua index 05730d56..2357aa50 100644 --- a/locale/pt-br/script.lua +++ b/locale/pt-br/script.lua @@ -169,7 +169,7 @@ DIAG_INVISIBLE_PACKAGE = -- TODO: need translate! DIAG_GLOBAL_ELEMENT = -- TODO: need translate! 'Element is global.' DIAG_MISSING_FIELDS = -- TODO: need translate! -'Missing fields: {}' +'Missing required fields in type `{1}`: {2}' DIAG_INJECT_FIELD = -- TODO: need translate! 'Fields cannot be injected into the reference of `{class}` for `{field}`. {fix}' DIAG_INJECT_FIELD_FIX_CLASS = -- TODO: need translate! -- cgit v1.2.3