Sha256: ef545842e9d32df60abff9a8b8286fa6869c7a59f6392f4b539a155a2587ddb3

Contents?: true

Size: 621 Bytes

Versions: 53

Compression:

Stored size: 621 Bytes

Contents

{ :br => { :i18n => { :plural => { :keys => [:one, :two, :few, :many, :other], :rule => lambda { |n| n = n.respond_to?(:abs) ? n.abs : ((m = n.to_s)[0] == "-" ? m[1,m.length] : m); (n.to_f % 10 == 1 && ![11, 71, 91].include?(n.to_f % 100)) ? :one : (n.to_f % 10 == 2 && ![12, 72, 92].include?(n.to_f % 100)) ? :two : (((n.to_f % 10) == 9 || (((n.to_f % 10) % 1).zero? && (3..4).include?(n.to_f % 10))) && ((((n.to_f % 100) % 1).zero? && (!(10..19).include?(n.to_f % 100) || !(70..79).include?(n.to_f % 100) || !(90..99).include?(n.to_f % 100))))) ? :few : (n.to_f != 0 && n.to_f % 1000000 == 0) ? :many : :other } } } } }

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
worldwide-0.6.5 data/cldr/locales/br/plurals.rb
worldwide-0.6.4 data/cldr/locales/br/plurals.rb
worldwide-0.6.3 data/cldr/locales/br/plurals.rb
worldwide-0.6.2 data/cldr/locales/br/plurals.rb
worldwide-0.6.1 data/cldr/locales/br/plurals.rb
worldwide-0.6.0 data/cldr/locales/br/plurals.rb
worldwide-0.5.1 data/cldr/locales/br/plurals.rb
worldwide-0.5.0 data/cldr/locales/br/plurals.rb
worldwide-0.4.1 data/cldr/locales/br/plurals.rb
worldwide-0.4.0 data/cldr/locales/br/plurals.rb
worldwide-0.3.0 data/cldr/locales/br/plurals.rb
worldwide-0.2.0 data/cldr/locales/br/plurals.rb
worldwide-0.1.1 data/cldr/locales/br/plurals.rb