module I18n::Backend::Metadata

def translate(locale, key, options = EMPTY_HASH)

def translate(locale, key, options = EMPTY_HASH)
  metadata = {
    :locale    => locale,
    :key       => key,
    :scope     => options[:scope],
    :default   => options[:default],
    :separator => options[:separator],
    :values    => options.reject { |name, _value| RESERVED_KEYS.include?(name) }
  }
  with_metadata(metadata) { super }
end