Sha256: de2db285a1f9e9f5c0c5f554833621ab5f7fbb1176a69d0b93cf4b1220dee063

Contents?: true

Size: 410 Bytes

Versions: 4

Compression:

Stored size: 410 Bytes

Contents

module RailsI18n
  module Pluralization
    module Macedonian
      def self.rule
        lambda do |n|
          if n.is_a?(Numeric) && n % 10 == 1 && n != 11
            :one
          else
            :other
          end
        end
      end
    end
  end
end

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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/rails-i18n-7.0.9/rails/pluralization/mk.rb
rails-i18n-7.0.9 rails/pluralization/mk.rb
rails-i18n-7.0.8 rails/pluralization/mk.rb
rails-i18n-7.0.7 rails/pluralization/mk.rb