Sha256: 9aedf10980855f816b4dde6df1e84149ce6daeed67ade2701d24afdca48fbfcb

Contents?: true

Size: 866 Bytes

Versions: 4

Compression:

Stored size: 866 Bytes

Contents

---
:uk: ! '{ :''uk'' => { :i18n => { :plural => { :keys => [:one, :few, :many, :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) ? :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))) ? :few
  : ((((v = n.to_s.split(".")[1] || []).count > 1 ? v.last.length : 0) == 0 && n.to_i
  % 10 == 0) || (((v = n.to_s.split(".")[1] || []).count > 1 ? v.last.length : 0)
  == 0 && (((n.to_i % 10) % 1).zero? && (5..9).include?(n.to_i % 10))) || (((v = n.to_s.split(".")[1]
  || []).count > 1 ? v.last.length : 0) == 0 && (((n.to_i % 100) % 1).zero? && (11..14).include?(n.to_i
  % 100)))) ? :many : :other } } } } }'

Version data entries

4 entries across 4 versions & 1 rubygems

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