langs/i18n: Fix multiple unknown language codes

This fixes a bug upstream by temporarily using a patched version of go-i18n.

Closes #7838
This commit is contained in:
Bjørn Erik Pedersen
2021-04-23 07:55:52 +02:00
parent 78c1a6a7c6
commit 7eb80a9e6f
5 changed files with 28 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ import (
yaml "gopkg.in/yaml.v2"
"github.com/gohugoio/hugo/helpers"
"github.com/nicksnyder/go-i18n/v2/i18n"
"github.com/gohugoio/go-i18n/v2/i18n"
toml "github.com/pelletier/go-toml"
"github.com/gohugoio/hugo/deps"