close #1920 * added two to pluralizations, see http://www.unicode.org/reports/tr35/tr35-21.html#Language_Plural_Rules * updated pluralization rules to CLDR 2.0.1
1 line
No EOL
218 B
Ruby
1 line
No EOL
218 B
Ruby
{ :ga => { :i18n => {:plural => { :keys => [:one, :two, :few, :many, :other], :rule => lambda { |n| n == 1 ? :one : n == 2 ? :two : [3, 4, 5, 6].include?(n) ? :few : [7, 8, 9, 10].include?(n) ? :many : :other } } } } } |