From 9f6c1cdebf290c5304ab9c9ef0f7103bde6dc823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Sj=C3=B6sten?= Date: Fri, 12 Jul 2019 09:22:34 +0200 Subject: [PATCH] Fixed typo --- errors.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/errors.go b/errors.go index 7dc0a35..46c24c9 100644 --- a/errors.go +++ b/errors.go @@ -152,8 +152,8 @@ type FieldError interface { // returns the FieldError's translated error // from the provided 'ut.Translator' and registered 'TranslationFunc' // - // NOTE: is not registered translation can be found it returns the same - // as calling fe.Error() + // NOTE: if no registered translator can be found it returns the same as + // calling fe.Error() Translate(ut ut.Translator) string }