]> source.dussan.org Git - redmine.git/commitdiff
Merged r16324 from trunk to 3.3-stable.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 2 Feb 2017 07:27:16 +0000 (07:27 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 2 Feb 2017 07:27:16 +0000 (07:27 +0000)
Gemfile: pin i18n version 0.7.0.

i18n 0.8.0 causes error.

<pre>
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'
</pre>

git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16325 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index eeb275bf973fdb14f47329ac8e61808039a9c94b..cc8de8d25ff6f86f0162025b882ed9c487c729f5 100644 (file)
--- 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"