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.14.1 data/cldr/locales/sl/plurals.rb
worldwide-1.14.0 data/cldr/locales/sl/plurals.rb
worldwide-1.13.0 data/cldr/locales/sl/plurals.rb
worldwide-1.12.0 data/cldr/locales/sl/plurals.rb
worldwide-1.11.1 data/cldr/locales/sl/plurals.rb
worldwide-1.11.0 data/cldr/locales/sl/plurals.rb
worldwide-1.10.0 data/cldr/locales/sl/plurals.rb
worldwide-1.9.0 data/cldr/locales/sl/plurals.rb
worldwide-1.8.0 data/cldr/locales/sl/plurals.rb
worldwide-1.7.5 data/cldr/locales/sl/plurals.rb
worldwide-1.7.4 data/cldr/locales/sl/plurals.rb
worldwide-1.7.3 data/cldr/locales/sl/plurals.rb
worldwide-1.7.2 data/cldr/locales/sl/plurals.rb
worldwide-1.7.1 data/cldr/locales/sl/plurals.rb
worldwide-1.7.0 data/cldr/locales/sl/plurals.rb
worldwide-1.6.2 data/cldr/locales/sl/plurals.rb
worldwide-1.6.1 data/cldr/locales/sl/plurals.rb
worldwide-1.6.0 data/cldr/locales/sl/plurals.rb
worldwide-1.5.0 data/cldr/locales/sl/plurals.rb
worldwide-1.4.1 data/cldr/locales/sl/plurals.rb