# File lib/simple_form/error_notification.rb, line 34 def translate_error_notification lookups = [] lookups << "#{object_name}""#{object_name}" lookups << :default_message lookups << "Some errors were found, please take a look:" I18n.t(lookups.shift, :scope => "simple_form.error_notification""simple_form.error_notification", :default => lookups) end