Skip to content

Commit 28d2c1f

Browse files
committed
deps: Move from github.com/gohugoio/go-i18n/v2 => github.com/nicksnyder/go-i18n/v2
Closes #14064
1 parent 5bad0d5 commit 28d2c1f

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

‎go.mod‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ require (
156156
github.com/mattn/go-runewidth v0.0.16 // indirect
157157
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
158158
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect
159+
github.com/nicksnyder/go-i18n/v2 v2.6.0 // indirect
159160
github.com/oasdiff/yaml v0.0.0-20250309154309-f31be36b4037 // indirect
160161
github.com/oasdiff/yaml3 v0.0.0-20250309153720-d2182401db90 // indirect
161162
github.com/olekukonko/errors v1.1.0 // indirect

‎go.sum‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,8 @@ github.com/muesli/smartcrop v0.3.0/go.mod h1:i2fCI/UorTfgEpPPLWiFBv4pye+YAG78Rwc
432432
github.com/neurosnap/sentences v1.0.6/go.mod h1:pg1IapvYpWCJJm/Etxeh0+gtMf1rI1STY9S7eUCPbDc=
433433
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 h1:zYyBkD/k9seD2A7fsi6Oo2LfFZAehjjQMERAvZLEDnQ=
434434
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646/go.mod h1:jpp1/29i3P1S/RLdc7JQKbRpFeM1dOBd8T9ki5s+AY8=
435+
github.com/nicksnyder/go-i18n/v2 v2.6.0 h1:C/m2NNWNiTB6SK4Ao8df5EWm3JETSTIGNXBpMJTxzxQ=
436+
github.com/nicksnyder/go-i18n/v2 v2.6.0/go.mod h1:88sRqr0C6OPyJn0/KRNaEz1uWorjxIKP7rUUcvycecE=
435437
github.com/niklasfasching/go-org v1.9.1 h1:/3s4uTPOF06pImGa2Yvlp24yKXZoTYM+nsIlMzfpg/0=
436438
github.com/niklasfasching/go-org v1.9.1/go.mod h1:ZAGFFkWvUQcpazmi/8nHqwvARpr1xpb+Es67oUGX/48=
437439
github.com/oasdiff/yaml v0.0.0-20250309154309-f31be36b4037 h1:G7ERwszslrBzRxj//JalHPu/3yz+De2J+4aLtSRlHiY=

‎langs/i18n/i18n.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
"github.com/gohugoio/hugo/config"
2727
"github.com/gohugoio/hugo/resources/page"
2828

29-
"github.com/gohugoio/go-i18n/v2/i18n"
29+
"github.com/nicksnyder/go-i18n/v2/i18n"
3030
)
3131

3232
type translateFunc func(ctx context.Context, translationID string, templateData any) string

‎langs/i18n/translationProvider.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import (
2424
"github.com/gohugoio/hugo/common/herrors"
2525
"golang.org/x/text/language"
2626

27-
"github.com/gohugoio/go-i18n/v2/i18n"
2827
"github.com/gohugoio/hugo/helpers"
28+
"github.com/nicksnyder/go-i18n/v2/i18n"
2929
toml "github.com/pelletier/go-toml/v2"
3030

3131
"github.com/gohugoio/hugo/deps"

0 commit comments

Comments
 (0)