Permalink
Browse files

Fill in for I18n.normalize_translation_keys removed from 0.3.4

  • Loading branch information...
1 parent 268c904 commit 5695b1bdd9f883c28e0697af6983def9e786379c @jeremy jeremy committed Feb 25, 2010
Showing with 8 additions and 0 deletions.
  1. +8 −0 activesupport/lib/active_support/vendor.rb
View
8 activesupport/lib/active_support/vendor.rb
@@ -26,3 +26,11 @@
$:.unshift "#{File.dirname(__FILE__)}/vendor/i18n-0.3.3/lib"
end
require 'i18n'
+
+module I18n
+ if !respond_to?(:normalize_translation_keys) && respond_to?(:normalize_keys)
+ def self.normalize_translation_keys(*args)
+ normalize_keys(*args)
+ end
+ end
+end

0 comments on commit 5695b1b

Please sign in to comment.