class R18n::RailsUnpluralizedTranslation
Class to mark unpluralized translation and convert Rails
plural keys
Public Instance Methods
[](name, *params)
click to toggle source
Calls superclass method
# File lib/r18n-rails-api/filters.rb, line 41 def [](name, *params) result = super if result.is_a? Untranslated fixed = super(RailsPlural.to_r18n(name), *params) result = fixed unless fixed.is_a? Untranslated end result end