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