Sha256: daed0124fd2a492f2d0954d695173b62456e297d2ae030b090057015f5218481
Contents?: true
Size: 472 Bytes
Versions: 1
Compression:
Stored size: 472 Bytes
Contents
module RailsI18n module Pluralization module Hebrew def self.rule lambda do |n| if n == 1 :one elsif n == 2 :two elsif n != 0 && n % 10 == 0 :many else :other end end end end end end { :he => { :i18n => { :plural => { :keys => [:one, :two, :many, :other], :rule => RailsI18n::Pluralization::Hebrew.rule }}}}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails-i18n-0.6.3 | rails/pluralization/he.rb |