This project is archived and is in readonly mode.
Changeset [896e25e994e272a1cb485d9a850501b488992cb2] by Sven Fuchs
December 4th, 2010 @ 05:00 PM
Make TranslationHelper#translate use the :rescue_format option in I18n 0.5.0
Don't catch exceptions here. Instead only declare that we want exceptions to be rescued as :html, but also let users configure reactions to exceptions in I18n.
Signed-off-by: José Valim jose.valim@gmail.com
https://github.com/rails/rails/commit/896e25e994e272a1cb485d9a85050...
Committed by Sven Fuchs
- A actionpack/test/fixtures/translations/templates/array.erb
- A actionpack/test/fixtures/translations/templates/found.erb
- A actionpack/test/fixtures/translations/templates/missing.erb
- R actionpack/test/fixtures/test/scoped_translation.erb
- R actionpack/test/fixtures/test/translation.erb
- M actionpack/lib/action_view/helpers/translation_helper.rb
- M actionpack/test/template/translation_helper_test.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>