Sha256: 2c6b8a8158a37d1ab7161fa9f4e4b39461f5b772bc3e8787a89ef12b576339d5
Contents?: true
Size: 538 Bytes
Versions: 51
Compression:
Stored size: 538 Bytes
Contents
module RailsI18n module Pluralization module Irish def self.rule lambda do |n| if n == 1 :one elsif n == 2 :two elsif (3..6).to_a.include?(n) :few elsif (7..10).to_a.include?(n) :many else :other end end end end end end { :ga => { :'i18n' => { :plural => { :keys => [:one, :two, :few, :many, :other], :rule => RailsI18n::Pluralization::Irish.rule }}}}
Version data entries
51 entries across 51 versions & 2 rubygems