From 8c5941c4573f0c88525846fb01fd5100a3aef607 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, 8 Nov 2022 02:55:53 +0800 Subject: some improves --- locale/pt-br/script.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'locale/pt-br/script.lua') diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua index 8f01f949..a6adc651 100644 --- a/locale/pt-br/script.lua +++ b/locale/pt-br/script.lua @@ -609,10 +609,12 @@ TYPE_ERROR_TABLE_NO_FIELD = -- TODO: need translate! 'Field `{key}` does not exist in the table' TYPE_ERROR_TABLE_FIELD_DISMATCH = -- TODO: need translate! 'The type of field `{key}` is `{child}`, which cannot match `{parent}`' -TYPE_ERROR_UNION_ALL_DISMATCH = -- TODO: need translate! +TYPE_ERROR_CHILD_ALL_DISMATCH = -- TODO: need translate! 'All subtypes in `{child}` cannot match `{parent}`' +TYPE_ERROR_PARENT_ALL_DISMATCH = -- TODO: need translate! +'`{child}` cannot match any subtypes in `{parent}`' TYPE_ERROR_UNION_DISMATCH = -- TODO: need translate! -'`{child}` in union type cannot match `{parent}`' +'`{child}` cannot match `{parent}`' TYPE_ERROR_OPTIONAL_DISMATCH = -- TODO: need translate! 'Optional type cannot match `{parent}`' TYPE_ERROR_NUMBER_LITERAL_TO_INTEGER = -- TODO: need translate! -- cgit v1.2.3