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

3
go.mod
View File

@@ -26,6 +26,8 @@ require (
github.com/ghodss/yaml v1.0.0
github.com/gobuffalo/flect v0.2.2
github.com/gobwas/glob v0.2.3
github.com/gohugoio/go-i18n v2.1.3-0.20210430103248-4c28c89f8013+incompatible // indirect
github.com/gohugoio/go-i18n/v2 v2.1.3-0.20210430103248-4c28c89f8013
github.com/gohugoio/testmodBuilder/mods v0.0.0-20190520184928-c56af20f2e95
github.com/google/go-cmp v0.5.5
github.com/gorilla/websocket v1.4.2
@@ -39,7 +41,6 @@ require (
github.com/mitchellh/mapstructure v1.3.3
github.com/muesli/smartcrop v0.3.0
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect
github.com/nicksnyder/go-i18n/v2 v2.1.2
github.com/niklasfasching/go-org v1.5.0
github.com/olekukonko/tablewriter v0.0.5
github.com/pelletier/go-toml v1.9.0