Sha256: 2105918c146e04ebb5168ffa8302ea25bf34ab221e92df68947abecd345671aa
Contents?: true
Size: 440 Bytes
Versions: 7
Compression:
Stored size: 440 Bytes
Contents
--- :sk: ! '{ :''sk'' => { :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
7 entries across 7 versions & 1 rubygems