[DRE-commits] r5990 - in trunk/redmine/debian: . patches

Jérémy Lal kapouer-guest at alioth.debian.org
Fri Dec 24 16:53:15 UTC 2010


Author: kapouer-guest
Date: 2010-12-24 16:53:13 +0000 (Fri, 24 Dec 2010)
New Revision: 5990

Modified:
   trunk/redmine/debian/changelog
   trunk/redmine/debian/patches/i18n_0.4.1.patch
Log:
i18n 0.4.1 compatibility patch, commented in changelog.

Modified: trunk/redmine/debian/changelog
===================================================================
--- trunk/redmine/debian/changelog	2010-12-23 23:57:33 UTC (rev 5989)
+++ trunk/redmine/debian/changelog	2010-12-24 16:53:13 UTC (rev 5990)
@@ -1,8 +1,9 @@
 redmine (1.0.5-1) unstable; urgency=low
 
   * New upstream release
+  * i18n patch needed because redmine 1.0.5 depend on libi18n-ruby 0.4.2.
 
- -- Jérémy Lal <kapouer at melix.org>  Thu, 23 Dec 2010 21:08:19 +0100
+ -- Jérémy Lal <kapouer at melix.org>  Fri, 24 Dec 2010 17:51:03 +0100
 
 redmine (1.0.4-1) unstable; urgency=low
 

Modified: trunk/redmine/debian/patches/i18n_0.4.1.patch
===================================================================
--- trunk/redmine/debian/patches/i18n_0.4.1.patch	2010-12-23 23:57:33 UTC (rev 5989)
+++ trunk/redmine/debian/patches/i18n_0.4.1.patch	2010-12-24 16:53:13 UTC (rev 5990)
@@ -22,3 +22,17 @@
  
  # All that for this:
  Rails.boot!
+--- a/config/initializers/10-patches.rb
++++ b/config/initializers/10-patches.rb
+@@ -111,3 +111,11 @@
+     end
+   end
+ end
++
++# Second hack to support redmine transition to i18n 0.4.2
++class I18n::Backend::Simple
++  def interpolate(locale, string, values = {})
++    interpolate_without_deprecated_syntax(locale, string, values)
++ end
++end
++




More information about the Pkg-ruby-extras-commits mailing list