Sha256: e418b0fd72e0b794d6f56c82de100f79506b36a1f7adeb07a141d9fa3693772c

Contents?: true

Size: 277 Bytes

Versions: 8

Compression:

Stored size: 277 Bytes

Contents

{
  pl: {
    papla: {
      pluralization: lambda do |n|
        return :one if n == 1

        case n % 100
        when 12..14 then :other
        else
          case n % 10
          when 2..4 then :few
          else :other
          end
        end
      end
    }
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
papla-0.2.1 lib/papla/locale/pl.rb
papla-0.2.0 lib/papla/locale/pl.rb
papla-0.1.2 lib/papla/locale/pl.rb
papla-0.1.1 lib/papla/locale/pl.rb
papla-0.1.0 lib/papla/locale/pl.rb
papla-0.0.5 lib/papla/locale/pl.rb
papla-0.0.4 lib/papla/locale/pl.rb
papla-0.0.3 lib/papla/locale/pl.rb