From: Toshi MARUYAMA Date: Tue, 31 Jan 2012 02:41:40 +0000 (+0000) Subject: Rails3: add number.format to ro and sk locales (#4796) X-Git-Tag: 1.4.0~553 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=406633491fba2dd2c5d391b426418c16d8bd341b;p=redmine.git Rails3: add number.format to ro and sk locales (#4796) Test fails on Rails 3.0.11 and Ruby 1.8.7.
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()
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8742 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/config/locales/ro.yml b/config/locales/ro.yml index ccf0ce3e3..56287a1ba 100644 --- a/config/locales/ro.yml +++ b/config/locales/ro.yml @@ -66,6 +66,11 @@ ro: other: "almost %{count} years" number: + format: + separator: "." + delimiter: "" + precision: 3 + human: format: precision: 1 diff --git a/config/locales/sk.yml b/config/locales/sk.yml index a7ba275ee..0c2cdafe9 100644 --- a/config/locales/sk.yml +++ b/config/locales/sk.yml @@ -68,6 +68,11 @@ sk: other: "almost %{count} years" number: + format: + separator: "." + delimiter: "" + precision: 3 + human: format: precision: 1