Sha256: 9b2b89f631f25897d8fe909e748925ce65996d544624c6800874753988e715e5

Contents?: true

Size: 323 Bytes

Versions: 59

Compression:

Stored size: 323 Bytes

Contents

module RailsI18n
  module Pluralization
    module Other
      def self.rule
        Proc.new { :other }
      end

      def self.with_locale(locale)
        { locale => {
            :'i18n' => {
              :plural => {
                :keys => [:other],
                :rule => rule }}}}
      end
    end
  end
end

Version data entries

59 entries across 59 versions & 3 rubygems

Version Path
rails-i18n-8.0.1 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-8.0.0 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-7.0.10 lib/rails_i18n/common_pluralizations/other.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/rails-i18n-7.0.9/lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-7.0.9 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-7.0.8 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-7.0.7 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-7.0.6 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-7.0.5 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-7.0.3 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-7.0.2 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-7.0.1 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-6.0.0 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-6.0.0.beta1 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-5.1.3 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-5.1.2 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-5.1.1 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-5.1.0 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-5.0.4 lib/rails_i18n/common_pluralizations/other.rb
rails-i18n-5.0.3 lib/rails_i18n/common_pluralizations/other.rb