Sha256: be9e0175c1d6ee2710576449cfe7ebb0baf4cb10a1d885782017bb78e4c794fa

Contents?: true

Size: 679 Bytes

Versions: 53

Compression:

Stored size: 679 Bytes

Contents

{ :pl => { :i18n => { :plural => { :keys => [:one, :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_i == 1 && ((v = n.to_s.split(".")[1]) ? v.length : 0) == 0) ? :one : (((v = n.to_s.split(".")[1]) ? v.length : 0) == 0 && (2..4).include?(n.to_i % 10) && !(12..14).include?(n.to_i % 100)) ? :few : ((((v = n.to_s.split(".")[1]) ? v.length : 0) == 0 && n.to_i != 1 && (0..1).include?(n.to_i % 10)) || (((v = n.to_s.split(".")[1]) ? v.length : 0) == 0 && (5..9).include?(n.to_i % 10)) || (((v = n.to_s.split(".")[1]) ? v.length : 0) == 0 && (12..14).include?(n.to_i % 100))) ? :many : :other } } } } }

Version data entries

53 entries across 53 versions & 1 rubygems

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