This project is archived and is in readonly mode.

Changeset [17db28f1ca0597fa1e9abdcacd934ca27d589fb9] 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...

Committed by Yaroslav Markin

  • 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

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>