Module: RailsI18n::Pluralization::Other
- Defined in:
- lib/rails_i18n/common_pluralizations/other.rb
Class Method Summary collapse
Class Method Details
.rule ⇒ Object
4 5 6 |
# File 'lib/rails_i18n/common_pluralizations/other.rb', line 4 def self.rule Proc.new { :other } end |
.with_locale(locale) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/rails_i18n/common_pluralizations/other.rb', line 8 def self.with_locale(locale) { locale => { :'i18n' => { :plural => { :keys => [:other], :rule => rule }}}} end |