diff options
author | Dawid Dziurla <dawidd0811@gmail.com> | 2019-08-26 16:53:38 +0200 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-09-01 21:24:03 +1000 |
commit | e0dd1cb29d6d70829622ca0125028e98fa440f4a (patch) | |
tree | f6d792b579614df3dfbcfa661945e1bfd48f11fc /pkg | |
parent | 827837b0b940d9367cefd03eb0e779711f9489da (diff) |
switch to Go modules
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/i18n/i18n.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/i18n/i18n.go b/pkg/i18n/i18n.go index 1628df707..77092dbe4 100644 --- a/pkg/i18n/i18n.go +++ b/pkg/i18n/i18n.go @@ -87,7 +87,7 @@ func detectLanguage(langDetector func() (string, error)) string { // setupLocalizer creates a new localizer using given userLang func setupLocalizer(log *logrus.Entry, userLang string) *Localizer { // create a i18n bundle that can be used to add translations and other things - i18nBundle := &i18n.Bundle{DefaultLanguage: language.English} + i18nBundle := i18n.NewBundle(language.English) addBundles(log, i18nBundle) |