Sha256: 508b2282b0ed51c2f866a7fcb49f4b4ef0ab63c0e712ceab3c59220791684aab
Contents?: true
Size: 547 Bytes
Versions: 27
Compression:
Stored size: 547 Bytes
Contents
module RailsI18n module Pluralization module UpperSorbian def self.rule lambda do |n| n ||= 0 mod100 = n % 100 if mod100 == 1 :one elsif mod100 == 2 :two elsif mod100 == 3 || mod100 == 4 :few else :other end end end end end end { :hsb => { :'i18n' => { :plural => { :keys => [:one, :two, :few, :other], :rule => RailsI18n::Pluralization::UpperSorbian.rule }}}}
Version data entries
27 entries across 27 versions & 2 rubygems