Merge pull request #427 from AGPDev/v9

fix import avoid wrong type when apply custom translates.
pull/433/head
Dean Karn 6 years ago committed by GitHub
commit df119a3494
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      translations/pt_BR/pt_BR.go
  2. 2
      translations/pt_BR/pt_BR_test.go

@ -10,7 +10,7 @@ import (
"github.com/go-playground/locales" "github.com/go-playground/locales"
ut "github.com/go-playground/universal-translator" ut "github.com/go-playground/universal-translator"
"github.com/go-playground/validator" "gopkg.in/go-playground/validator.v9"
) )
// RegisterDefaultTranslations registers a set of default translations // RegisterDefaultTranslations registers a set of default translations

@ -6,7 +6,7 @@ import (
brazilian_portuguese "github.com/go-playground/locales/pt_BR" brazilian_portuguese "github.com/go-playground/locales/pt_BR"
ut "github.com/go-playground/universal-translator" ut "github.com/go-playground/universal-translator"
"github.com/go-playground/validator" "gopkg.in/go-playground/validator.v9"
. "gopkg.in/go-playground/assert.v1" . "gopkg.in/go-playground/assert.v1"
) )

Loading…
Cancel
Save