diff options
author | Nick Snyder <nickdsnyder@gmail.com> | 2019-05-09 08:03:27 +0300 |
---|---|---|
committer | Nick Snyder <nickdsnyder@gmail.com> | 2019-05-09 08:03:27 +0300 |
commit | 4cc2a0fd6ae3fe13cc87cf3d4512681c9d8bcdac (patch) | |
tree | 3f5b7ad063f65a38033613dab35d02dd49fc0413 | |
parent | a8a5c0494b19b875416910c4f44b5de39504a6df (diff) |
fix build
-rw-r--r-- | v2/i18n/localizer.go | 9 |
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. |