resources/locales/ru/plurals.yml in twitter_cldr-4.4.5 vs resources/locales/ru/plurals.yml in twitter_cldr-5.0.0
- old
+ new
@@ -1,20 +1,20 @@
---
:ru:
: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) &&
- ((((i % 10).floor == (i % 10)) && ((i % 10) >= 2) && ((i % 10) <= 4))))) &&
- (!(((i % 100).floor == (i % 100)) && ((i % 100) >= 12) && ((i % 100) <= 14))))
- ? :few : (((((((v == 0) && (i % 10 == 0))) || (((v == 0) && ((((i % 10).floor
- == (i % 10)) && ((i % 10) >= 5) && ((i % 10) <= 9))))))) || (((v == 0) && ((((i
- % 100).floor == (i % 100)) && ((i % 100) >= 11) && ((i % 100) <= 14)))))) ?
- :many : (((((v == 0) && (i % 10 == 1))) && (i % 100 != 11)) ? :one : :other)))
+ (i % 10 == 1))) && (i % 100 != 11)) ? :one : (((((v == 0) && ((((i % 10).floor
+ == (i % 10)) && ((i % 10) >= 2) && ((i % 10) <= 4))))) && (!(((i % 100).floor
+ == (i % 100)) && ((i % 100) >= 12) && ((i % 100) <= 14)))) ? :few : (((((((v
+ == 0) && (i % 10 == 0))) || (((v == 0) && ((((i % 10).floor == (i % 10)) &&
+ ((i % 10) >= 5) && ((i % 10) <= 9))))))) || (((v == 0) && ((((i % 100).floor
+ == (i % 100)) && ((i % 100) >= 11) && ((i % 100) <= 14)))))) ? :many : :other)))
}'
:names:
+ - :one
- :few
- :many
- - :one
- :other
:ordinal:
: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); :other }
:names: