This project is archived and is in readonly mode.
small patch enabling automatic I18n translation of ActiveRecord::Base attribute names in labels
Reported by jana4u | September 15th, 2008 @ 10:38 PM | in 2.x
<%= 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...
Comments and changes to this ticket
-
jana4u September 15th, 2008 @ 10:40 PM
ooops, it looks very bad - so once more - patch as attachment
-
jana4u September 15th, 2008 @ 10:55 PM
simply ignore this - http://i18n.lighthouseapp.com/pr... is a better solution
-
Jeremy Kemper September 16th, 2008 @ 12:21 AM
- State changed from new to duplicate
Thanks for the patch, in any case!
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>