resources/locales/af/plurals.yml in twitter_cldr-3.0.3 vs resources/locales/af/plurals.yml in twitter_cldr-3.0.4
- old
+ new
@@ -1,3 +1,4 @@
---
:af: ! '{ :''af'' => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda
- { |n| n.to_f.abs == 1 ? :one : :other } } } } }'
+ { |n| n = n.respond_to?(:abs) ? n.abs : ((m = n.to_s)[0] == "-" ? m[1,m.length]
+ : m); n.to_f == 1 ? :one : :other } } } } }'