Sha256: e7f31e35fa5de7b523a5af9f97d946f060a79daff4bfbddbca9d29f504d7e44c
Contents?: true
Size: 531 Bytes
Versions: 51
Compression:
Stored size: 531 Bytes
Contents
module RailsI18n module Pluralization module ScottishGaelic def self.rule lambda do |n| if n == 1 || n == 11 :one elsif n == 2 || n == 12 :two elsif ((3..10).to_a + (13..19).to_a).include?(n) :few else :other end end end end end end { :gd => { :'i18n' => { :plural => { :keys => [:one, :two, :few, :other], :rule => RailsI18n::Pluralization::ScottishGaelic.rule }}}}
Version data entries
51 entries across 51 versions & 2 rubygems