diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-02-01 15:45:11 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-02-01 17:03:15 -0200 |
commit | a73662f3d8d9ce1a0c54bc0254024c5ecc7cb1a2 (patch) | |
tree | 70d8a1e9029a4ea54ec7be1bd52758ee579d9d17 /activerecord/lib/active_record/locale | |
parent | 403cce77f19bc6c2a3d8acaf547991078a540eaf (diff) | |
download | rails-a73662f3d8d9ce1a0c54bc0254024c5ecc7cb1a2.tar.gz rails-a73662f3d8d9ce1a0c54bc0254024c5ecc7cb1a2.tar.bz2 rails-a73662f3d8d9ce1a0c54bc0254024c5ecc7cb1a2.zip |
Use human attribute name to show the dependent destroy message
Diffstat (limited to 'activerecord/lib/active_record/locale')
-rw-r--r-- | activerecord/lib/active_record/locale/en.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/locale/en.yml b/activerecord/lib/active_record/locale/en.yml index 896132d566..ad48de2e23 100644 --- a/activerecord/lib/active_record/locale/en.yml +++ b/activerecord/lib/active_record/locale/en.yml @@ -11,7 +11,7 @@ en: taken: "has already been taken" record_invalid: "Validation failed: %{errors}" restrict_dependent_destroy: - one: "Cannot delete record because a dependent %{record} exists" + one: "Cannot delete record because a dependent %{record} exist" many: "Cannot delete record because dependent %{record} exist" # Append your own errors here or at the model/attributes scope. |