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

github.com/gohugoio/locales.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoeybloggs <Dean.Karn@gmail.com>2016-08-10 19:50:28 +0300
committerjoeybloggs <Dean.Karn@gmail.com>2016-08-10 19:50:28 +0300
commit0c695d8f7d7b0f0f955813f23d5814659e3d9bb2 (patch)
tree328825bf9e1a68705951e6ac0cd8b81621f55203
parentcbb46634d99f11d39ebee775e1dd61b6e042a44d (diff)
update function name
-rw-r--r--cmd/translator.tmpl4
1 files 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
}