Sha256: 8ef9b817f894d8b196a74804ea55e7f2e373134e16173ceaf98164b95c510a7b
Contents?: true
Size: 296 Bytes
Versions: 53
Compression:
Stored size: 296 Bytes
Contents
{ :da => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n = n.respond_to?(:abs) ? n.abs : ((m = n.to_s)[0] == "-" ? m[1,m.length] : m); (n.to_f == 1 || (((t = n.to_s.split(".")[1]) ? t.gsub(/0+$/, "").to_i : 0) != 0 && [0, 1].include?(n.to_i))) ? :one : :other } } } } }
Version data entries
53 entries across 53 versions & 1 rubygems