This project is archived and is in readonly mode.

#2754 ✓committed
Jacob Burkhart

"Validation failed" not available for translation

Reported by Jacob Burkhart | June 3rd, 2009 @ 05:29 PM | in 2.3.4

The automatic message formed by ActiveRecord::RecordInvalid is

"Validation failed: #{@record.errors.full_messages.join(", ")}"

It should be changed so that it is available for translation. Something like:

I18n.t('activerecord.errors.validation_failed', :full_messages => @record.errors.full_messages.join(I18n.t('support.array.words_connector'))

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Tags

Referenced by

Pages