From 90ab42ba674b404d984fb1757f1627d4549cd37b Mon Sep 17 00:00:00 2001 From: masafumi-i Date: Thu, 8 Jul 2021 14:21:04 +0900 Subject: [PATCH] fix ja translation (#792) --- translations/ja/ja.go | 2 +- translations/ja/ja_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/translations/ja/ja.go b/translations/ja/ja.go index 43ec648..7b887c0 100644 --- a/translations/ja/ja.go +++ b/translations/ja/ja.go @@ -1226,7 +1226,7 @@ func RegisterDefaultTranslations(v *validator.Validate, trans ut.Translator) (er }, { tag: "uuid5", - translation: "{0}はバージョンが4の正しいUUIDでなければなりません", + translation: "{0}はバージョンが5の正しいUUIDでなければなりません", override: false, }, { diff --git a/translations/ja/ja_test.go b/translations/ja/ja_test.go index 0120760..eaa2743 100644 --- a/translations/ja/ja_test.go +++ b/translations/ja/ja_test.go @@ -304,7 +304,7 @@ func TestTranslations(t *testing.T) { }, { ns: "Test.UUID5", - expected: "UUID5はバージョンが4の正しいUUIDでなければなりません", + expected: "UUID5はバージョンが5の正しいUUIDでなければなりません", }, { ns: "Test.ISBN",