This project is archived and is in readonly mode.
ActionView::Helpers::NumberHelper: I18n Translation failes
Reported by Ewald Koenig | July 3rd, 2009 @ 11:57 AM | in 2.x
affected methods:
number_to_currency
number_to_human_size
number_to_percentage
number_with_delimiter
number_with_precision
Usage of methods by I18n internationization; does not pickup the locale specific format.
Reason:
File vendor/rails/actionpack/lib/action_view/helpers/number_helper.rb, line 73
76: defaults = I18n.translate('number.format''number.format', :locale => options[:locale], :raise => true) rescue {}
Wrong lookup string 'number.format''number.format' => 'number.formatnumber.format'
Comments and changes to this ticket
-
Sven Fuchs July 8th, 2009 @ 11:29 PM
- Assigned user set to Sven Fuchs
-
dstamat (at elctech) August 19th, 2009 @ 05:19 PM
This is fixed in trunk now:
http://github.com/rails/rails/blob/ff1b0d3c86c2b26470a30a5edb958a36... -
Sven Fuchs August 26th, 2009 @ 12:35 PM
- State changed from new to resolved
Ewald,
I don't quite get this ticket tbh. I cannot find any occurence of 'number.format''number.format', neither in current master or 2-3-stable nor in the history.
Can you please reopen this ticket and provide some more clear explanation about the issue (maybe with links to the codebase or better yet a failing testcase)?
I'm going to close the ticket as "resolved" for now based on what dstamat says.
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>