Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/go-i18n.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Snyder <nickdsnyder@gmail.com>2019-05-09 08:03:27 +0300
committerNick Snyder <nickdsnyder@gmail.com>2019-05-09 08:03:27 +0300
commit4cc2a0fd6ae3fe13cc87cf3d4512681c9d8bcdac (patch)
tree3f5b7ad063f65a38033613dab35d02dd49fc0413
parenta8a5c0494b19b875416910c4f44b5de39504a6df (diff)
fix build
-rw-r--r--v2/i18n/localizer.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/v2/i18n/localizer.go b/v2/i18n/localizer.go
index 8c3be3e..f44b362 100644
--- a/v2/i18n/localizer.go
+++ b/v2/i18n/localizer.go
@@ -159,15 +159,6 @@ func (l *Localizer) LocalizeWithTag(lc *LocalizeConfig) (string, language.Tag, e
return msg, tag, nil
}
- MessageID: messageID,
- PluralCount: kv["PluralCount"],
- TemplateData: args,
- }
-
- return l.Localize(lc)
- }
-}
-
func (l *Localizer) getTemplate(id string, defaultMessage *Message) (language.Tag, *MessageTemplate) {
// Fast path.
// Optimistically assume this message id is defined in each language.