fix ja translation (#792)

pull/787/merge
masafumi-i 3 years ago committed by GitHub
parent b1b32b2064
commit 90ab42ba67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      translations/ja/ja.go
  2. 2
      translations/ja/ja_test.go

@ -1226,7 +1226,7 @@ func RegisterDefaultTranslations(v *validator.Validate, trans ut.Translator) (er
}, },
{ {
tag: "uuid5", tag: "uuid5",
translation: "{0}はバージョンが4の正しいUUIDでなければなりません", translation: "{0}はバージョンが5の正しいUUIDでなければなりません",
override: false, override: false,
}, },
{ {

@ -304,7 +304,7 @@ func TestTranslations(t *testing.T) {
}, },
{ {
ns: "Test.UUID5", ns: "Test.UUID5",
expected: "UUID5はバージョンが4の正しいUUIDでなければなりません", expected: "UUID5はバージョンが5の正しいUUIDでなければなりません",
}, },
{ {
ns: "Test.ISBN", ns: "Test.ISBN",

Loading…
Cancel
Save