aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides
diff options
context:
space:
mode:
authorSven Fuchs <svenfuchs@artweb-design.de>2009-01-21 22:16:30 +0100
committerSven Fuchs <svenfuchs@artweb-design.de>2009-01-21 22:16:30 +0100
commit16909d3514454b14c0ab86347c57388ba2836f0d (patch)
tree13dafb9ffcc774d9dd6ee620bdf92e2fdb3fe337 /railties/doc/guides
parent65ae0cc6229a4e0b977711d948cd10a7dcb342a3 (diff)
downloadrails-16909d3514454b14c0ab86347c57388ba2836f0d.tar.gz
rails-16909d3514454b14c0ab86347c57388ba2836f0d.tar.bz2
rails-16909d3514454b14c0ab86347c57388ba2836f0d.zip
i18n guide: refer to section 'Error messages scopes'
Diffstat (limited to 'railties/doc/guides')
-rw-r--r--railties/doc/guides/source/i18n.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/doc/guides/source/i18n.txt b/railties/doc/guides/source/i18n.txt
index f1c9e6ff6d..3418676ff5 100644
--- a/railties/doc/guides/source/i18n.txt
+++ b/railties/doc/guides/source/i18n.txt
@@ -682,9 +682,9 @@ Rails uses fixed strings and other localizations, such as format strings and oth
==== ActiveRecord methods
-* human_name and human_attribute_name use translations for model names and attribute names if available in the http://github.com/rails/rails/blob/master/activerecord/lib/active_record/locale/en.yml#L43[activerecord.models] scope. They also support translations for inherited class names (e.g. for use with STI) as explained in (TODO:link).
+* human_name and human_attribute_name use translations for model names and attribute names if available in the http://github.com/rails/rails/blob/master/activerecord/lib/active_record/locale/en.yml#L43[activerecord.models] scope. They also support translations for inherited class names (e.g. for use with STI) as explained above in "Error message scopes".
-* ActiveRecord::Errors#generate_message (which is used by ActiveRecord validations but may also be used manually) uses human_name and human_attribute_name (see above). It also translates the error message and supports translations for inherited class names as explained in (TODO:link).
+* ActiveRecord::Errors#generate_message (which is used by ActiveRecord validations but may also be used manually) uses human_name and human_attribute_name (see above). It also translates the error message and supports translations for inherited class names as explained above in "Error message scopes".
* ActiveRecord::Errors#full_messages prepends the attribute name to the error message using a separator that will be looked up from http://github.com/rails/rails/blob/master/actionpack/lib/action_view/locale/en.yml#L91[activerecord.errors.format.separator] (and defaults to ' ').