This project is archived and is in readonly mode.
Update vendored i18n gem to 0.4.1 and change i18n interpolations
Reported by Prem Sichanugrist (sikachu) | June 20th, 2010 @ 06:14 PM | in 2.3.9
Hi,
Today I found out that after I update my i18n
gem
to 0.4.1, I saw some warning about deprecated interpolations in
Rails 2.3.8. It turned out that Rails 2.3.8 has shipped with the
old style interpolations, i.e. {{...}}
So, I have created a patch to change all {{...}}
to
%{...}
, and to make sure that I don't break someone's
application, I also create another patch to update the vendored
i18n
gem to 0.4.1
Please see the attached patches for more detail. These patches
shall be applied on 2-3-stable
Comments and changes to this ticket
-
Repository June 21st, 2010 @ 12:16 AM
- State changed from new to resolved
(from [5ed6a8447b1c9191feb431e1387f28abde7eba44]) Change all i18n interpolations from {{...}} to %{...}
This will silent all warning if there's a i18n version 0.4.x gem install on user's machine.
[#4913 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/5ed6a8447b1c9191feb431e1387f28... -
Prem Sichanugrist (sikachu) June 29th, 2010 @ 01:37 PM
- State changed from resolved to incomplete
- Importance changed from to High
Jose, I've found out from the mailing list that I was mistakenly update the gem, without taking the file out of the
lib
folder.I've attach the patch that should be apply on
2-3-stable
.My bad ...
-
José Valim June 30th, 2010 @ 12:21 PM
- State changed from incomplete to committed
This new patch was applied as well.
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
Tags
Referenced by
- 4913 Update vendored i18n gem to 0.4.1 and change i18n interpolations [#4913 state:resolved]
- 5387 Rails 2.3.x incompatible with i18n > 0.3.7 Would say this is a duplicate of #4913 which fixes this i...