Permalink
Browse files

update i18n interpolation fallback to use renamed method

  • Loading branch information...
1 parent b117395 commit 5372e86d55a740583529b69e12e04852c8d26e16 @jhass jhass committed Aug 31, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/i18n_interpolation_fallbacks.rb
@@ -2,7 +2,7 @@ module I18n
module Backend
module InterpolationFallbacks
def translate(locale, key, options = {})
- default = extract_string_or_lambda_default!(options) if options[:default]
+ default = extract_non_symbol_default!(options) if options[:default]
options.merge!(:default => default) if default
I18n.fallbacks[locale].each do |fallback|
@@ -18,4 +18,4 @@ def translate(locale, key, options = {})
end
end
end
-end
+end

0 comments on commit 5372e86

Please sign in to comment.