Sha256: 83f72bd6264416684a277285073902856e9a2c00d0e7387f81557c404dbbcb7e
Contents?: true
Size: 498 Bytes
Versions: 4
Compression:
Stored size: 498 Bytes
Contents
--- :he: ! '{ :''he'' => { :i18n => { :plural => { :keys => [:one, :two, :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 == 2 && ((v = n.to_s.split(".")[1] || []).count > 1 ? v.last.length : 0) == 0) ? :two : (((v = n.to_s.split(".")[1] || []).count > 1 ? v.last.length : 0) == 0 && ((n.to_f.abs % 1).zero? && !(0..10).include?(n.to_f.abs)) && n.to_f.abs % 10 == 0) ? :many : :other } } } } }'
Version data entries
4 entries across 4 versions & 1 rubygems