diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-05-04 18:25:56 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-05-04 18:25:56 +0200 |
commit | 2838d58b1daa0f6a337125c5a64d06215901c5d6 (patch) | |
tree | 11ae254adf5d4665193ab9f3239a9adb0c3a48f3 | |
parent | f330e869e42dc782a48c045aea5d29a134e225cb (diff) |
i18n: Move the package below /langs
To get fewer top level packages.
-rw-r--r-- | hugolib/hugo_sites.go | 2 | ||||
-rw-r--r-- | langs/i18n/i18n.go (renamed from i18n/i18n.go) | 0 | ||||
-rw-r--r-- | langs/i18n/i18n_test.go (renamed from i18n/i18n_test.go) | 0 | ||||
-rw-r--r-- | langs/i18n/translationProvider.go (renamed from i18n/translationProvider.go) | 0 | ||||
-rw-r--r-- | tpl/tplimpl/template_funcs_test.go | 2 |
5 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/hugo_sites.go b/hugolib/hugo_sites.go index 6f95dbb12..fdd4e890c 100644 --- 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 index 5beef8683..5beef8683 100644 --- a/i18n/i18n.go +++ b/langs/i18n/i18n.go diff --git a/i18n/i18n_test.go b/langs/i18n/i18n_test.go index b67cabc55..b67cabc55 100644 --- a/i18n/i18n_test.go +++ b/langs/i18n/i18n_test.go diff --git a/i18n/translationProvider.go b/langs/i18n/translationProvider.go index 74e144007..74e144007 100644 --- 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 index c21ef38a6..449d20fd4 100644 --- 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" |