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.

small patch enabling automatic I18n translation of ActiveRecord::Base attribute names in labels

#1054

<%= f.label :title %> now produces "Title" ("title".humanize) - it doesn't reflect locale settings

it should use translation in case of ActiveRecord::Base attribute (if it's available)

patch added in comment or see http://github.com/jana4u/rails/c...

Reported by jana4u · September 15th, 2008 @ 10:38 PM

State: duplicate
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. jana4u
    jana4u

    ooops, it looks very bad - so once more - patch as attachment

    September 15th, 2008 @ 10:40 PM

  2. jana4u
  3. Jeremy Kemper
    Jeremy Kemper
    • State changed from new to duplicate

    Thanks for the patch, in any case!

    September 16th, 2008 @ 12:21 AM