From 7351042dcf9bfe2dc720489650eaf37243f78e17 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Fri, 31 May 2024 14:09:57 +0200 Subject: i18n: Punctuation changes --- i18nerr/i18nerr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i18nerr') diff --git a/i18nerr/i18nerr.go b/i18nerr/i18nerr.go index 82d591a..3e807f2 100644 --- a/i18nerr/i18nerr.go +++ b/i18nerr/i18nerr.go @@ -52,7 +52,7 @@ func (e *Error) translated(t language.Tag) string { }) msg := printerOrNew(t).Sprintf(e.key, e.args...) if e.wrapped != nil { - return printerOrNew(t).Sprintf("%s. The cause of the error is: %s", msg, e.wrapped.Error()) + return printerOrNew(t).Sprintf("%s. The cause of the error is: %s.", msg, e.wrapped.Error()) } return msg } -- cgit v1.2.3