diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-30 13:07:48 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-30 13:12:12 +0100 |
commit | d6e2f5013cdc0aa830d167a84582f48dc636dc81 (patch) | |
tree | ff2f5726ad2a452a768fc551571ed3e09a80d1e6 /activerecord/lib/active_record/locale | |
parent | 431fc3c81735f8873e52f4a1942a5ac761d18cc9 (diff) | |
download | rails-d6e2f5013cdc0aa830d167a84582f48dc636dc81.tar.gz rails-d6e2f5013cdc0aa830d167a84582f48dc636dc81.tar.bz2 rails-d6e2f5013cdc0aa830d167a84582f48dc636dc81.zip |
Drop AR I18n deprecation and simple use errors.messages as fallback.
Diffstat (limited to 'activerecord/lib/active_record/locale')
-rw-r--r-- | activerecord/lib/active_record/locale/en.yml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/activerecord/lib/active_record/locale/en.yml b/activerecord/lib/active_record/locale/en.yml index 4115cc8e17..810359fef3 100644 --- a/activerecord/lib/active_record/locale/en.yml +++ b/activerecord/lib/active_record/locale/en.yml @@ -1,9 +1,16 @@ en: - errors: - messages: - taken: "has already been taken" - record_invalid: "Validation failed: {{errors}}" - # Append your own errors here or at the model/attributes scope. + # Attributes names common to most models + #attributes: + #created_at: "Created at" + #updated_at: "Updated at" + + # ActiveRecord models configuration + activerecord: + errors: + messages: + taken: "has already been taken" + record_invalid: "Validation failed: {{errors}}" + # Append your own errors here or at the model/attributes scope. # You can define own errors for models or model attributes. # The values :model, :attribute and :value are always available for interpolation. @@ -19,13 +26,6 @@ en: # custom blank validation message for login attribute of User model. #models: - # Attributes names common to most models - #attributes: - #created_at: "Created at" - #updated_at: "Updated at" - - # ActiveRecord models configuration - #activerecord: # Translate model names. Used in Model.human_name(). #models: # For example, |