summaryrefslogtreecommitdiffstats
path: root/tpl/lang
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/lang')
-rw-r--r--tpl/lang/lang.go6
-rw-r--r--tpl/lang/lang_test.go2
2 files changed, 4 insertions, 4 deletions
diff --git a/tpl/lang/lang.go b/tpl/lang/lang.go
index 0cf448caa..49f4dc1ec 100644
--- a/tpl/lang/lang.go
+++ b/tpl/lang/lang.go
@@ -20,8 +20,8 @@ import (
"strconv"
"strings"
- translators "github.com/bep/gotranslators"
- "github.com/go-playground/locales"
+ translators "github.com/gohugoio/localescompressed"
+ "github.com/gohugoio/locales"
"github.com/pkg/errors"
"github.com/gohugoio/hugo/deps"
@@ -186,7 +186,7 @@ func (ns *Namespace) FormatNumberCustom(precision, number interface{}, options .
exp := math.Pow(10.0, float64(prec))
r := math.Round(n*exp) / exp
- // Logic from MIT Licensed github.com/go-playground/locales/
+ // Logic from MIT Licensed github.com/gohugoio/locales/
// Original Copyright (c) 2016 Go Playground
s := strconv.FormatFloat(math.Abs(r), 'f', prec, 64)
diff --git a/tpl/lang/lang_test.go b/tpl/lang/lang_test.go
index 782a0a69a..3a1f66df7 100644
--- a/tpl/lang/lang_test.go
+++ b/tpl/lang/lang_test.go
@@ -3,7 +3,7 @@ package lang
import (
"testing"
- translators "github.com/bep/gotranslators"
+ translators "github.com/gohugoio/localescompressed"
qt "github.com/frankban/quicktest"
"github.com/gohugoio/hugo/deps"
)