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.

Changeset [17db28f1ca0597fa1e9abdcacd934ca27d589fb9] by Yaroslav Markin

Revision 17db28f1ca0597fa1e9abdcacd934ca27d589fb9, committed by Yaroslav Markin · January 27th, 2009 @ 05:22 PM

Improve i18n support for number_to_human_size helper: * now using pluralization properly * storage unit translations moved to number.human.storage_units.units * introduced number.human.storage_units.format for languages that do not follow "{{number}} {{unit}}" format (Japanese)

NOTE: I18n table changed, you will need to update your translations.

[#1634 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

4 changed files

  • M actionpack/CHANGELOG
  • M actionpack/lib/action_view/helpers/number_helper.rb
  • M actionpack/lib/action_view/locale/en.yml
  • M actionpack/test/template/number_helper_i18n_test.rb