Sha256: fb31282bb5edd92834702093bbe85a03776a1f1be3f9958cdeb02eb1c798f81b

Contents?: true

Size: 400 Bytes

Versions: 4

Compression:

Stored size: 400 Bytes

Contents

# -*- encoding: utf-8 -*-

module Inflections
  ActiveSupport::Inflector.inflections(:tr) do |inflect|
    inflect.clear

    inflect.plural(/([aoıu][^aoıueöiü]{,6})$/, '\1lar')
    inflect.plural(/([eöiü][^aoıueöiü]{,6})$/, '\1ler')

    inflect.singular(/l[ae]r$/i, '')

    inflect.irregular('ben', 'biz')
    inflect.irregular('sen', 'siz')
    inflect.irregular('o', 'onlar')
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
inflections-4.1.0 lib/inflections/tr.rb
inflections-4.0.1 lib/inflections/tr.rb
inflections-4.0.0 lib/inflections/tr.rb
inflections-4.0.0.beta1 lib/inflections/tr.rb