Sha256: d99c8f94bc2f804deb6f63a714308ebc4150eafff6e66e2af17f92114ad2e679
Contents?: true
Size: 447 Bytes
Versions: 4
Compression:
Stored size: 447 Bytes
Contents
--- :cs: ! '{ :''cs'' => { :i18n => { :plural => { :keys => [:one, :few, :many, :other], :rule => lambda { |n| (n.to_i == 1 && ((v = n.to_s.split(".")[1] || []).count > 1 ? v.last.length : 0) == 0) ? :one : (((n.to_i % 1).zero? && (2..4).include?(n.to_i)) && ((v = n.to_s.split(".")[1] || []).count > 1 ? v.last.length : 0) == 0) ? :few : ((v = n.to_s.split(".")[1] || []).count > 1 ? v.last.length : 0) != 0 ? :many : :other } } } } }'
Version data entries
4 entries across 4 versions & 1 rubygems