Sha256: ffc86a5b6faa1bebd4f7d4a212bbe46805ab4b316621e1d4a0e982d2d77bc803

Contents?: true

Size: 390 Bytes

Versions: 18

Compression:

Stored size: 390 Bytes

Contents

module RailsI18n
  module Pluralization
    module Latvian
      def self.rule
        lambda do |n|
          if n % 10 == 1 && n % 100 != 11
            :one
          else
            :other
          end
        end
      end
    end
  end
end

{ :lv => {
    :'i18n' => {
      :plural => {
        :keys => [:one, :other],
        :rule => RailsI18n::Pluralization::Latvian.rule }}}}

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rails-i18n-4.0.3 rails/pluralization/lv.rb
rails-i18n-3.0.1 rails/pluralization/lv.rb
rails-i18n-4.0.2 rails/pluralization/lv.rb
rails-i18n-4.0.1 rails/pluralization/lv.rb
rails-i18n-3.0.0 rails/pluralization/lv.rb
rails-i18n-4.0.0 rails/pluralization/lv.rb
rails-i18n-3.0.0.pre2 rails/pluralization/lv.rb
rails-i18n-4.0.0.pre2 rails/pluralization/lv.rb
rails-i18n-4.0.0.pre rails/pluralization/lv.rb
rails-i18n-3.0.0.pre rails/pluralization/lv.rb
rails-i18n-0.7.4 rails/pluralization/lv.rb
rails-i18n-0.7.3 rails/pluralization/lv.rb
rails-i18n-0.7.2 rails/pluralization/lv.rb
rails-i18n-0.7.1 rails/pluralization/lv.rb
rails-i18n-0.7.0 rails/pluralization/lv.rb
rails-i18n-0.6.6 rails/pluralization/lv.rb
rails-i18n-0.6.5 rails/pluralization/lv.rb
rails-i18n-0.6.4 rails/pluralization/lv.rb