From e0dd1cb29d6d70829622ca0125028e98fa440f4a Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Mon, 26 Aug 2019 16:53:38 +0200 Subject: switch to Go modules --- pkg/i18n/i18n.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/i18n') 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) -- cgit v1.2.3