Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Update vendored i18n gem to 0.4.1 and change i18n interpolations

#4913

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

Reported by Prem Sichanugrist (sikachu) · June 20th, 2010 @ 06:14 PM

State: committed
Milestone: 2.3.9
Assigned to: José Valim José Valim
Importance: High

Activity

  1. Repository
    Repository
    • 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 Update vendored i18n gem to 0.4.1 and change i18n interpolations state:resolved]

    Signed-off-by: José Valim jose.valim@gmail.com
    http://github.com/rails/rails/commit/5ed6a8447b1c9191feb431e1387f28...

    June 21st, 2010 @ 12:16 AM

  2. Prem Sichanugrist (sikachu)
    Prem Sichanugrist (sikachu)
    • 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 ...

    June 29th, 2010 @ 01:37 PM

  3. José Valim
    José Valim
    • State changed from incomplete to committed

    This new patch was applied as well.

    June 30th, 2010 @ 12:21 PM