Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update i18n interpolation fallback to use renamed method

  • Loading branch information...
commit 5372e86d55a740583529b69e12e04852c8d26e16 1 parent b117395
@jhass jhass authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/i18n_interpolation_fallbacks.rb
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.