twitter/twitter-cldr-rb

View on GitHub
resources/locales/en-IN/plurals.yml

Summary

Maintainability
Test Coverage
---
:en-IN:
  :cardinal:
    :rule: 'lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); f = runtime.f(num);
      t = runtime.t(num); v = runtime.v(num); w = runtime.w(num); e = runtime.e(num);
      (((i == 1) && (v == 0)) ? :one : :other) }'
    :names:
    - :one
    - :other
  :ordinal:
    :rule: 'lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); f = runtime.f(num);
      t = runtime.t(num); v = runtime.v(num); w = runtime.w(num); e = runtime.e(num);
      (((n % 10 == 1) && (n % 100 != 11)) ? :one : (((n % 10 == 2) && (n % 100 !=
      12)) ? :two : (((n % 10 == 3) && (n % 100 != 13)) ? :few : :other))) }'
    :names:
    - :one
    - :two
    - :few
    - :other