This project is archived and is in readonly mode.
I18n: move old-style interpolation syntax deprecation to activerecord
Reported by Sven Fuchs | September 14th, 2008 @ 12:45 PM
The I18n gem library as shipped with Rails locally patches I18n::Backend::Simple#interpolation in order to deprecate the old-style interpolation syntax (using %d and %s) as previously used in ActiveRecord validations.
The attached patch makes this explicit and moves the patching behaviour from the I18n library to ActiveRecord which is the library that requires the deprecation.
Comments and changes to this ticket
-
Michael Koziarski September 14th, 2008 @ 04:49 PM
- Milestone cleared.
-
Repository September 20th, 2008 @ 07:27 PM
- State changed from new to resolved
- Tag changed from activerecord, activesupport, i18n, patch to activerecord, activesupport, i18n, patch
(from [8cb7d460439a9b20a80a77b6370c1107233d1cbd]) I18n: move old-style interpolation syntax deprecation to Active Record. [#1044 state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
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>
People watching this ticket
Attachments
Referenced by
- 1048 I18n: introduce I18n.load_path in favor of I18n.load_translations and change Simple backend to load translations lazily The attached patch should apply but might rely on #1044 b...
- 1044 I18n: move old-style interpolation syntax deprecation to activerecord (from [8cb7d460439a9b20a80a77b6370c1107233d1cbd]) I18n: m...