commit 2838d58b1daa0f6a337125c5a64d06215901c5d6 parent f330e869e42dc782a48c045aea5d29a134e225cb Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> Date: Sat, 4 May 2019 18:25:56 +0200 i18n: Move the package below /langs To get fewer top level packages. Diffstat:
5 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hugolib/hugo_sites.go b/hugolib/hugo_sites.go @@ -44,7 +44,7 @@ import ( "github.com/gohugoio/hugo/langs" "github.com/gohugoio/hugo/lazy" - "github.com/gohugoio/hugo/i18n" + "github.com/gohugoio/hugo/langs/i18n" "github.com/gohugoio/hugo/resources/page" "github.com/gohugoio/hugo/tpl" "github.com/gohugoio/hugo/tpl/tplimpl" diff --git a/i18n/i18n.go b/langs/i18n/i18n.go diff --git a/i18n/i18n_test.go b/langs/i18n/i18n_test.go diff --git a/i18n/translationProvider.go b/langs/i18n/translationProvider.go diff --git a/tpl/tplimpl/template_funcs_test.go b/tpl/tplimpl/template_funcs_test.go @@ -28,8 +28,8 @@ import ( "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/hugofs" - "github.com/gohugoio/hugo/i18n" "github.com/gohugoio/hugo/langs" + "github.com/gohugoio/hugo/langs/i18n" "github.com/gohugoio/hugo/tpl" "github.com/gohugoio/hugo/tpl/internal" "github.com/gohugoio/hugo/tpl/partials"