Sha256: 7674412f66d8a09bbd9ae3dedd01dce72b8e6b26692689ceafef195b81997cbc

Contents?: true

Size: 625 Bytes

Versions: 53

Compression:

Stored size: 625 Bytes

Contents

{ :kw => { :i18n => { :plural => { :keys => [:zero, :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 == 0 ? :zero : n.to_f == 1 ? :one : ([2, 22, 42, 62, 82].include?(n.to_f % 100) || (n.to_f % 1000 == 0 && ([40000, 60000, 80000].include?(n.to_f % 100000) || (((n.to_f % 100000) % 1).zero? && (1000..20000).include?(n.to_f % 100000)))) || (n.to_f != 0 && n.to_f % 1000000 == 100000)) ? :two : [3, 23, 43, 63, 83].include?(n.to_f % 100) ? :few : (n.to_f != 1 && [1, 21, 41, 61, 81].include?(n.to_f % 100)) ? :many : :other } } } } }

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
worldwide-1.14.1 data/cldr/locales/kw/plurals.rb
worldwide-1.14.0 data/cldr/locales/kw/plurals.rb
worldwide-1.13.0 data/cldr/locales/kw/plurals.rb
worldwide-1.12.0 data/cldr/locales/kw/plurals.rb
worldwide-1.11.1 data/cldr/locales/kw/plurals.rb
worldwide-1.11.0 data/cldr/locales/kw/plurals.rb
worldwide-1.10.0 data/cldr/locales/kw/plurals.rb
worldwide-1.9.0 data/cldr/locales/kw/plurals.rb
worldwide-1.8.0 data/cldr/locales/kw/plurals.rb
worldwide-1.7.5 data/cldr/locales/kw/plurals.rb
worldwide-1.7.4 data/cldr/locales/kw/plurals.rb
worldwide-1.7.3 data/cldr/locales/kw/plurals.rb
worldwide-1.7.2 data/cldr/locales/kw/plurals.rb
worldwide-1.7.1 data/cldr/locales/kw/plurals.rb
worldwide-1.7.0 data/cldr/locales/kw/plurals.rb
worldwide-1.6.2 data/cldr/locales/kw/plurals.rb
worldwide-1.6.1 data/cldr/locales/kw/plurals.rb
worldwide-1.6.0 data/cldr/locales/kw/plurals.rb
worldwide-1.5.0 data/cldr/locales/kw/plurals.rb
worldwide-1.4.1 data/cldr/locales/kw/plurals.rb