update i18n interpolation fallback to use renamed method

This commit is contained in:
Jonne Haß 2012-09-01 01:07:17 +02:00
parent b1173950e4
commit 5372e86d55

View file

@ -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 @@ module I18n
end
end
end
end
end