summaryrefslogtreecommitdiff
path: root/i18nerr
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-05-31 14:09:57 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2024-05-31 14:09:57 +0200
commit7351042dcf9bfe2dc720489650eaf37243f78e17 (patch)
treeb50375a149dd4b73a68fc6a7863f9880c1deb425 /i18nerr
parent517d31c289ec2370838348226420b6d77d86ac64 (diff)
i18n: Punctuation changes
Diffstat (limited to 'i18nerr')
-rw-r--r--i18nerr/i18nerr.go2
1 files changed, 1 insertions, 1 deletions
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
}