class Ransack::Nodes::Node
def translate(key, options = {})
def translate(key, options = {}) key = i18n_aliases[key.to_s] if i18n_aliases.has_key?(key.to_s) if i18n_words.include?(key.to_s) Translate.word(key) end end
def translate(key, options = {}) key = i18n_aliases[key.to_s] if i18n_aliases.has_key?(key.to_s) if i18n_words.include?(key.to_s) Translate.word(key) end end