From e711e31059775e088bc2ab1a0be1723ab0126a8f Mon Sep 17 00:00:00 2001 From: James <5511220+Zamiell@users.noreply.github.com> Date: Fri, 1 Jul 2022 16:51:04 -0400 Subject: [PATCH] chore: grammar --- locale/en-us/script.lua | 4 ++-- locale/pt-br/script.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index 2607907d7..b1ef9545b 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -117,9 +117,9 @@ DIAG_UNDEFINED_DOC_PARAM = DIAG_UNKNOWN_DIAG_CODE = 'Unknown diagnostic code `{}`.' DIAG_CAST_LOCAL_TYPE = -'This variable has explicitly defined as `{def}`. Cannot convert its type to `{ref}`.' +'This variable is defined as type `{def}`. Cannot convert its type to `{ref}`.' DIAG_CAST_FIELD_TYPE = -'This field has explicitly defined as `{def}`. Cannot convert its type to `{ref}`.' +'This field is defined as type `{def}`. Cannot convert its type to `{ref}`.' DIAG_ASSIGN_TYPE_MISMATCH = 'Cannot assign `{ref}` to `{def}`.' DIAG_PARAM_TYPE_MISMATCH = diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua index 100da06b7..05e208e76 100644 --- a/locale/pt-br/script.lua +++ b/locale/pt-br/script.lua @@ -117,9 +117,9 @@ DIAG_UNDEFINED_DOC_PARAM = DIAG_UNKNOWN_DIAG_CODE = 'Código de diagnóstico desconhecido `{}`.' DIAG_CAST_LOCAL_TYPE = -- TODO: need translate! -'This variable has explicitly defined as `{def}`. Cannot convert its type to `{ref}`.' +'This variable is defined as type `{def}`. Cannot convert its type to `{ref}`.' DIAG_CAST_FIELD_TYPE = -- TODO: need translate! -'This field has explicitly defined as `{def}`. Cannot convert its type to `{ref}`.' +'This field is defined as type `{def}`. Cannot convert its type to `{ref}`.' DIAG_ASSIGN_TYPE_MISMATCH = -- TODO: need translate! 'Cannot assign `{ref}` to `{def}`.' DIAG_PARAM_TYPE_MISMATCH = -- TODO: need translate!