Sha256: b6e779f7dc8c0ace907f917f2c4e79ca9a516d5d6c4263e736d2504cd4062374

Contents?: true

Size: 996 Bytes

Versions: 4

Compression:

Stored size: 996 Bytes

Contents

---
:sr: ! '{ :''sr'' => { :i18n => { :plural => { :keys => [:one, :few, :other], :rule
  => lambda { |n| ((((v = n.to_s.split(".")[1] || []).count > 1 ? v.last.length :
  0) == 0 && n.to_i % 10 == 1 && n.to_i % 100 != 11) || (((f = n.to_s.split(".")[1]
  || []).count > 1 ? f.last.to_i : 0) % 10 == 1 && ((f = n.to_s.split(".")[1] || []).count
  > 1 ? f.last.to_i : 0) % 100 != 11)) ? :one : ((((v = n.to_s.split(".")[1] || []).count
  > 1 ? v.last.length : 0) == 0 && (((n.to_i % 10) % 1).zero? && (2..4).include?(n.to_i
  % 10)) && (((n.to_i % 100) % 1).zero? && !(12..14).include?(n.to_i % 100))) || ((((((f
  = n.to_s.split(".")[1] || []).count > 1 ? f.last.to_i : 0) % 10) % 1).zero? && (2..4).include?(((f
  = n.to_s.split(".")[1] || []).count > 1 ? f.last.to_i : 0) % 10)) && (((((f = n.to_s.split(".")[1]
  || []).count > 1 ? f.last.to_i : 0) % 100) % 1).zero? && !(12..14).include?(((f
  = n.to_s.split(".")[1] || []).count > 1 ? f.last.to_i : 0) % 100)))) ? :few : :other
  } } } } }'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twitter_cldr-3.0.3 resources/locales/sr/plurals.yml
twitter_cldr-3.0.2 resources/locales/sr/plurals.yml
twitter_cldr-3.0.1 resources/locales/sr/plurals.yml
twitter_cldr-3.0.0 resources/locales/sr/plurals.yml