diff options
author | Norman Clarke <norman@njclarke.com> | 2010-05-03 10:16:38 -0300 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-05-03 15:22:52 +0200 |
commit | 756f762cdb1ee5ad0046e40e3620399d1707fee7 (patch) | |
tree | 711394b52bc8ef526d014be5c1663d62aa7f3093 /activesupport/lib/active_support/inflector/transliterate.rb | |
parent | b3dcbedc67f49ef64f33570f3e24ac00a47c0181 (diff) | |
download | rails-756f762cdb1ee5ad0046e40e3620399d1707fee7.tar.gz rails-756f762cdb1ee5ad0046e40e3620399d1707fee7.tar.bz2 rails-756f762cdb1ee5ad0046e40e3620399d1707fee7.zip |
Fix transliteration rule example in docs. [#4526 state:resolved]
Signed-off-by: Xavier Noria <fxn@hashref.com>
Diffstat (limited to 'activesupport/lib/active_support/inflector/transliterate.rb')
-rw-r--r-- | activesupport/lib/active_support/inflector/transliterate.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/inflector/transliterate.rb b/activesupport/lib/active_support/inflector/transliterate.rb index 5ec87372d0..2c9115c427 100644 --- a/activesupport/lib/active_support/inflector/transliterate.rb +++ b/activesupport/lib/active_support/inflector/transliterate.rb @@ -24,8 +24,9 @@ module ActiveSupport # # Store the transliterations in locales/de.yml # i18n: # transliterate: - # ü: "ue" - # ö: "oe" + # :rule + # ü: "ue" + # ö: "oe" # # # Or set them using Ruby # I18n.backend.store_translations(:de, :i18n => { |