From 97987e5c0254e35668dca7f89e67b79553e617c8 Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Sun, 2 Jun 2019 11:11:46 +0200 Subject: langs/i18n: Upgrade to go-i18n v2 Fixes #5242 --- deps/deps.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deps') diff --git a/deps/deps.go b/deps/deps.go index 07fe2fc7d..cfd39bf7d 100644 --- a/deps/deps.go +++ b/deps/deps.go @@ -66,7 +66,7 @@ type Deps struct { FileCaches filecache.Caches // The translation func to use - Translate func(translationID string, args ...interface{}) string `json:"-"` + Translate func(translationID string, templateData interface{}) string `json:"-"` // The language in use. TODO(bep) consolidate with site Language *langs.Language -- cgit v1.2.3