Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

I18n labels don't appear in error_messages_for

#4310

When a label is defined in locales file it appears as a label on the form, but the error_messages_for helper does not reflect this name. It still shows the human readable name based on the attribute.

Reported by Mike (at coverallcrew) · April 2nd, 2010 @ 04:56 AM

State: invalid
Milestone: 3.0.2
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. José Valim
    José Valim
    • State changed from new to invalid
    • Assigned user set to José Valim
    • Milestone cleared.

    The label is supposed to be used in labels. Many people like to use: "Type your name here:" and showing "Type your name here" in error messages would be ugly (if you want to change both, change the human name). Anyway, error_messages_for was removed from the framework.

    April 10th, 2010 @ 12:54 PM

  2. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to Low

    October 15th, 2010 @ 11:01 PM