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:
-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
}