resources/locales/hr/plurals.yml in twitter_cldr-3.5.0 vs resources/locales/hr/plurals.yml in twitter_cldr-3.6.0
- old
+ new
@@ -1,12 +1,15 @@
---
:hr:
:cardinal:
:rule: 'lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); v = runtime.v(num);
- w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); ((((v == 0 && (2..4).include?(i
- % 10)) && !(12..14).include?(i % 100)) || ((2..4).include?(f % 10) && !(12..14).include?(f
- % 100))) ? :few : ((((v == 0 && i % 10 == 1) && i % 100 != 11) || (f % 10 ==
- 1 && f % 100 != 11)) ? :one : :other)) }'
+ w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); (((((((v == 0) &&
+ ((((i % 10).floor == (i % 10)) && ((i % 10) >= 2) && ((i % 10) <= 4))))) &&
+ (!(((i % 100).floor == (i % 100)) && ((i % 100) >= 12) && ((i % 100) <= 14)))))
+ || ((((((f % 10).floor == (f % 10)) && ((f % 10) >= 2) && ((f % 10) <= 4)))
+ && (!(((f % 100).floor == (f % 100)) && ((f % 100) >= 12) && ((f % 100) <= 14))))))
+ ? :few : (((((((v == 0) && (i % 10 == 1))) && (i % 100 != 11))) || (((f % 10
+ == 1) && (f % 100 != 11)))) ? :one : :other)) }'
:names:
- :few
- :one
- :other
:ordinal: