aboutsummaryrefslogtreecommitdiffhomepage
path: root/deps
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2019-06-02 11:11:46 +0200
committerBjørn Erik Pedersen <[email protected]>2020-09-29 17:48:07 +0200
commit97987e5c0254e35668dca7f89e67b79553e617c8 (patch)
tree3ea30314a22d25f8ffa0caad5db129fc977657b0 /deps
parent111344113bf8c16ae45528d67ff408da15961727 (diff)
downloadhugo-97987e5c0254e35668dca7f89e67b79553e617c8.tar.gz
hugo-97987e5c0254e35668dca7f89e67b79553e617c8.zip
langs/i18n: Upgrade to go-i18n v2
Fixes #5242
Diffstat (limited to 'deps')
-rw-r--r--deps/deps.go2
1 files changed, 1 insertions, 1 deletions
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