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:
Diffstat (limited to 'rules.go')
-rw-r--r--rules.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules.go b/rules.go
index acc904f5..56ec9370 100644
--- a/rules.go
+++ b/rules.go
@@ -58,6 +58,10 @@ type Translator interface {
// with this translator
PluralsOrdinal() []PluralRule
+ // returns an array of range plural rules associated
+ // with this translator
+ PluralsRange() []PluralRule
+
// returns the cardinal PluralRule given 'num' and digits/precision of 'v' for locale
CardinalPluralRule(num float64, v uint64) PluralRule