Skip to content

Commit

Permalink
pt_BR translation improvements (#967)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyruzin authored Mar 20, 2023
1 parent e9f2d9f commit 56e2f31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion translations/pt_BR/pt_BR.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func RegisterDefaultTranslations(v *validator.Validate, trans ut.Translator) (er
}{
{
tag: "required",
translation: "{0} é um campo requerido",
translation: "{0} é um campo obrigatório",
override: false,
},
{
Expand Down
6 changes: 3 additions & 3 deletions translations/pt_BR/pt_BR_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -577,15 +577,15 @@ func TestTranslations(t *testing.T) {
},
{
ns: "Test.RequiredString",
expected: "RequiredString é um campo requerido",
expected: "RequiredString é um campo obrigatório",
},
{
ns: "Test.RequiredNumber",
expected: "RequiredNumber é um campo requerido",
expected: "RequiredNumber é um campo obrigatório",
},
{
ns: "Test.RequiredMultiple",
expected: "RequiredMultiple é um campo requerido",
expected: "RequiredMultiple é um campo obrigatório",
},
{
ns: "Test.StrPtrMinLen",
Expand Down

0 comments on commit 56e2f31

Please sign in to comment.