This project is archived and is in readonly mode.
Changeset [a25ef06956725f5c4c8833f86f61f1f12c4323e2] by José Valim
January 7th, 2010 @ 02:31 PM
Allow to specify default attributes names translation in I18n
yml files.
For example, you could easily specify :created_at and :updated_at
translations as:
en:
attributes:
created_at: "Created at"
updated_at: "Updated at"
This configuration is built on ActiveModel, so it means those
translations are
shared between different ORMs as well (but always as a
fallback).
http://github.com/rails/rails/commit/a25ef06956725f5c4c8833f86f61f1...
Committed by José Valim
- M activemodel/lib/active_model/translation.rb
- M activemodel/test/cases/translation_test.rb
- M activerecord/lib/active_record/locale/en.yml
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>