resources/locales/cs/plurals.yml in twitter_cldr-3.0.0.beta1 vs resources/locales/cs/plurals.yml in twitter_cldr-3.0.0
- old
+ new
@@ -1,3 +1,7 @@
---
-:cs: ! '{ :cs => { :i18n => { :plural => { :keys => [:one, :few, :other], :rule =>
- lambda { |n| n == 1 ? :one : [2, 3, 4].include?(n) ? :few : :other } } } } }'
+:cs: ! '{ :''cs'' => { :i18n => { :plural => { :keys => [:one, :few, :many, :other],
+ :rule => lambda { |n| (n.to_i == 1 && ((v = n.to_s.split(".")[1] || []).count >
+ 1 ? v.last.length : 0) == 0) ? :one : (((n.to_i % 1).zero? && (2..4).include?(n.to_i))
+ && ((v = n.to_s.split(".")[1] || []).count > 1 ? v.last.length : 0) == 0) ? :few
+ : ((v = n.to_s.split(".")[1] || []).count > 1 ? v.last.length : 0) != 0 ? :many
+ : :other } } } } }'