Sha256: a7fb96db21acb71dacaa8d811badf80cf57a68786ef0dc70aa2ccb1a91350b04

Contents?: true

Size: 395 Bytes

Versions: 4

Compression:

Stored size: 395 Bytes

Contents

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

module Inflections
  ActiveSupport::Inflector.inflections 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-3.3.0 lib/inflections/tr.rb
inflections-3.2.12.20130314 lib/inflections/tr.rb
inflections-3.2.12.20130305 lib/inflections/tr.rb
inflections-3.2.12 lib/inflections/tr.rb