From 0c695d8f7d7b0f0f955813f23d5814659e3d9bb2 Mon Sep 17 00:00:00 2001 From: joeybloggs Date: Wed, 10 Aug 2016 12:50:28 -0400 Subject: update function name --- cmd/translator.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/translator.tmpl b/cmd/translator.tmpl index fcfc2cc5..bfef339a 100644 --- a/cmd/translator.tmpl +++ b/cmd/translator.tmpl @@ -37,8 +37,8 @@ func(t *{{ .Locale }}) Locale() string { return t.locale } -// Plurals returns the list of plurals associated with '{{ .Locale }}' -func(t *{{ .Locale }}) Plurals() []locales.PluralRule { +// PluralsCardinal returns the list of cardinal plural rules associated with '{{ .Locale }}' +func(t *{{ .Locale }}) PluralsCardinal() []locales.PluralRule { return t.plurals } -- cgit v1.2.3