Sha256: e736da8da5bd9fc06b97bd7203c123dc3f2064711cc7599628909c30135a1a7f

Contents?: true

Size: 351 Bytes

Versions: 11

Compression:

Stored size: 351 Bytes

Contents

{
  "fr-CA": {
    number: {
      nth: {
        ordinals: -> (_key, number:, **_options) {
          if number.to_i.abs == 1
            'er'
          else
            'e'
          end
        },

        ordinalized:  -> (_key, number:, **_options) {
          "#{number}#{ActiveSupport::Inflector.ordinal(number)}"
        }
      }
    }
  }
}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
rails-i18n-8.0.1 rails/ordinals/fr-CA.rb
rails-i18n-8.0.0 rails/ordinals/fr-CA.rb
rails-i18n-7.0.10 rails/ordinals/fr-CA.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/rails-i18n-7.0.9/rails/ordinals/fr-CA.rb
rails-i18n-7.0.9 rails/ordinals/fr-CA.rb
rails-i18n-7.0.8 rails/ordinals/fr-CA.rb
rails-i18n-7.0.7 rails/ordinals/fr-CA.rb
rails-i18n-7.0.6 rails/ordinals/fr-CA.rb
rails-i18n-7.0.5 rails/ordinals/fr-CA.rb
rails-i18n-7.0.3 rails/ordinals/fr-CA.rb
rails-i18n-7.0.2 rails/ordinals/fr-CA.rb