Sha256: 82874a6113a47903f60f57965b9c1dc3e368d924f4f72868822a48ea775f026c

Contents?: true

Size: 499 Bytes

Versions: 53

Compression:

Stored size: 499 Bytes

Contents

{ :sl => { :i18n => { :plural => { :keys => [:one, :two, :few, :other], :rule => lambda { |n| n = n.respond_to?(:abs) ? n.abs : ((m = n.to_s)[0] == "-" ? m[1,m.length] : m); (((v = n.to_s.split(".")[1]) ? v.length : 0) == 0 && n.to_i % 100 == 1) ? :one : (((v = n.to_s.split(".")[1]) ? v.length : 0) == 0 && n.to_i % 100 == 2) ? :two : ((((v = n.to_s.split(".")[1]) ? v.length : 0) == 0 && (3..4).include?(n.to_i % 100)) || ((v = n.to_s.split(".")[1]) ? v.length : 0) != 0) ? :few : :other } } } } }

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
worldwide-1.4.0 data/cldr/locales/sl/plurals.rb
worldwide-1.3.1 data/cldr/locales/sl/plurals.rb
worldwide-1.3.0 data/cldr/locales/sl/plurals.rb
worldwide-1.2.0 data/cldr/locales/sl/plurals.rb
worldwide-1.1.0 data/cldr/locales/sl/plurals.rb
worldwide-1.0.0 data/cldr/locales/sl/plurals.rb
worldwide-0.15.0 data/cldr/locales/sl/plurals.rb
worldwide-0.14.0 data/cldr/locales/sl/plurals.rb
worldwide-0.11.0 data/cldr/locales/sl/plurals.rb
worldwide-0.10.3 data/cldr/locales/sl/plurals.rb
worldwide-0.10.2 data/cldr/locales/sl/plurals.rb
worldwide-0.10.1 data/cldr/locales/sl/plurals.rb
worldwide-0.10.0 data/cldr/locales/sl/plurals.rb
worldwide-0.9.0 data/cldr/locales/sl/plurals.rb
worldwide-0.8.0 data/cldr/locales/sl/plurals.rb
worldwide-0.7.1 data/cldr/locales/sl/plurals.rb
worldwide-0.7.0 data/cldr/locales/sl/plurals.rb
worldwide-0.6.8 data/cldr/locales/sl/plurals.rb
worldwide-0.6.7 data/cldr/locales/sl/plurals.rb
worldwide-0.6.6 data/cldr/locales/sl/plurals.rb