diff options
author | joeybloggs <Dean.Karn@gmail.com> | 2016-08-11 00:01:13 +0300 |
---|---|---|
committer | joeybloggs <Dean.Karn@gmail.com> | 2016-08-11 00:01:13 +0300 |
commit | f81dd14d3cd97e875a6241cf395dae384457c455 (patch) | |
tree | 3292e3570ac0b00e3e893517a6a5934dda471886 /rules.go | |
parent | 0c695d8f7d7b0f0f955813f23d5814659e3d9bb2 (diff) |
add ordinal rules + some variable cleanup
Diffstat (limited to 'rules.go')
-rw-r--r-- | rules.go | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -40,9 +40,13 @@ type Translator interface { // Locale returns the string value of the translator Locale() string - // Plurals returns an array of plural rules associated + // returns an array of cardinal plural rules associated // with this translator - Plurals() []PluralRule + PluralsCardinal() []PluralRule + + // returns an array of ordinal plural rules associated + // with this translator + PluralsOrdinal() []PluralRule } // String returns the string value of PluralRule |