From b03982e1b74fb9c78df9833d694ade7df3766ee0 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 2 Feb 2017 07:27:16 +0000 Subject: [PATCH] Merged r16324 from trunk to 3.3-stable. Gemfile: pin i18n version 0.7.0. i18n 0.8.0 causes error.
Redmine::I18nTest#test_languages_options_should_ignore_locales_without_general_lang_name_key:
I18n::InvalidLocale: "foo" is not a valid locale
    lib/redmine/i18n.rb:58:in `ll'
    lib/redmine/i18n.rb:122:in `block in languages_options'
    lib/redmine/i18n.rb:122:in `map'
    lib/redmine/i18n.rb:122:in `languages_options'
    test/unit/lib/redmine/i18n_test.rb:203:in `test_languages_options_should_ignore_locales_without_general_lang_name_key'
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16325 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index eeb275bf9..cc8de8d25 100644 --- a/Gemfile +++ b/Gemfile @@ -18,6 +18,7 @@ gem "roadie-rails" gem "mimemagic" gem "nokogiri", "~> 1.6.8" +gem "i18n", "~> 0.7.0" # Request at least rails-html-sanitizer 1.0.3 because of security advisories gem "rails-html-sanitizer", ">= 1.0.3" -- 2.39.5