Sha256: 528252b59d75704a374787b6349497f5fca8af27c2adc44bb5dca008e384628e

Contents?: true

Size: 945 Bytes

Versions: 4

Compression:

Stored size: 945 Bytes

Contents

---
:lv: ! '{ :''lv'' => { :i18n => { :plural => { :keys => [:zero, :one, :other], :rule
  => lambda { |n| (n.to_f.abs % 10 == 0 || (((n.to_f.abs % 100) % 1).zero? && (11..19).include?(n.to_f.abs
  % 100)) || (((v = n.to_s.split(".")[1] || []).count > 1 ? v.last.length : 0) ==
  2 && (((((f = n.to_s.split(".")[1] || []).count > 1 ? f.last.to_i : 0) % 100) %
  1).zero? && (11..19).include?(((f = n.to_s.split(".")[1] || []).count > 1 ? f.last.to_i
  : 0) % 100)))) ? :zero : ((n.to_f.abs % 10 == 1 && n.to_f.abs % 100 != 11) || (((v
  = n.to_s.split(".")[1] || []).count > 1 ? v.last.length : 0) == 2 && ((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) || (((v = n.to_s.split(".")[1] || []).count
  > 1 ? v.last.length : 0) != 2 && ((f = n.to_s.split(".")[1] || []).count > 1 ? f.last.to_i
  : 0) % 10 == 1)) ? :one : :other } } } } }'

Version data entries

4 entries across 4 versions & 1 rubygems

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