Rails3: add number.format to ro and sk locales (#4796)

Test fails on Rails 3.0.11 and Ruby 1.8.7.

<pre>
Failure:
test_number_to_human_size_for_each_language(Redmine::I18nTest)
    [test/unit/lib/redmine/i18n_test.rb:114:in `test_number_to_human_size_for_each_language'
     test/unit/lib/redmine/i18n_test.rb:112:in `each'
     test/unit/lib/redmine/i18n_test.rb:112:in `test_number_to_human_size_for_each_language']:
sk failure.
Exception raised:
TypeError(<can't convert nil into String>)
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8742 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-01-31 02:41:40 +00:00
parent 65a1f54f71
commit 406633491f
2 changed files with 10 additions and 0 deletions

View File

@ -66,6 +66,11 @@ ro:
other: "almost %{count} years"
number:
format:
separator: "."
delimiter: ""
precision: 3
human:
format:
precision: 1

View File

@ -68,6 +68,11 @@ sk:
other: "almost %{count} years"
number:
format:
separator: "."
delimiter: ""
precision: 3
human:
format:
precision: 1