aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-08-03 16:38:44 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-08-03 16:38:44 -0700
commit2a0af0e8739e019b4ddfbb6927c0bd9d26f58290 (patch)
treef0e785c763bb642549e17f0917229fcb41a0f6dd
parent75f3616847610b239294790e57863f7c54361783 (diff)
parent78f953dff86fdd5f857a1dc9de6717c069b0d12f (diff)
downloadrails-2a0af0e8739e019b4ddfbb6927c0bd9d26f58290.tar.gz
rails-2a0af0e8739e019b4ddfbb6927c0bd9d26f58290.tar.bz2
rails-2a0af0e8739e019b4ddfbb6927c0bd9d26f58290.zip
Merge pull request #11733 from iainbeeston/master
i18n guide update: corrected reference to activerecord to instead reference activemodel
-rw-r--r--guides/source/i18n.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/i18n.md b/guides/source/i18n.md
index 046c7543f3..facfb96d98 100644
--- a/guides/source/i18n.md
+++ b/guides/source/i18n.md
@@ -97,7 +97,7 @@ en:
hello: "Hello world"
```
-This means, that in the `:en` locale, the key _hello_ will map to the _Hello world_ string. Every string inside Rails is internationalized in this way, see for instance Active Record validation messages in the [`activerecord/lib/active_record/locale/en.yml`](https://github.com/rails/rails/blob/master/activerecord/lib/active_record/locale/en.yml) file or time and date formats in the [`activesupport/lib/active_support/locale/en.yml`](https://github.com/rails/rails/blob/master/activesupport/lib/active_support/locale/en.yml) file. You can use YAML or standard Ruby Hashes to store translations in the default (Simple) backend.
+This means, that in the `:en` locale, the key _hello_ will map to the _Hello world_ string. Every string inside Rails is internationalized in this way, see for instance Active Model validation messages in the [`activemodel/lib/active_model/locale/en.yml`](https://github.com/rails/rails/blob/master/activemodel/lib/active_model/locale/en.yml) file or time and date formats in the [`activesupport/lib/active_support/locale/en.yml`](https://github.com/rails/rails/blob/master/activesupport/lib/active_support/locale/en.yml) file. You can use YAML or standard Ruby Hashes to store translations in the default (Simple) backend.
The I18n library will use **English** as a **default locale**, i.e. if you don't set a different locale, `:en` will be used for looking up translations.