Sha256: ec5a9cb748dd007db0ef0aa3ada6ef18d50e6c53efbdee347ad93b3a0442dc7e
Contents?: true
Size: 506 Bytes
Versions: 51
Compression:
Stored size: 506 Bytes
Contents
module RailsI18n module Pluralization module Welsh def self.rule lambda do |n| case n when 0 then :zero when 1 then :one when 2 then :two when 3 then :few when 6 then :many else :other end end end end end end { :cy => { :'i18n' => { :plural => { :keys => [:zero, :one, :two, :few, :many, :other], :rule => RailsI18n::Pluralization::Welsh.rule }}}}
Version data entries
51 entries across 51 versions & 2 rubygems