Sha256: ffbc86bd698ca61f1b0fe9a394eacfdc81a5792c6c4787ae96ff83460b98294c
Contents?: true
Size: 412 Bytes
Versions: 53
Compression:
Stored size: 412 Bytes
Contents
{ :cs => { :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 : ((2..4).include?(n.to_i) && ((v = n.to_s.split(".")[1]) ? v.length : 0) == 0) ? :few : ((v = n.to_s.split(".")[1]) ? v.length : 0) != 0 ? :many : :other } } } } }
Version data entries
53 entries across 53 versions & 1 rubygems