diff --git a/lib/i18n/backend/base.rb b/lib/i18n/backend/base.rb index 1fe86ae4..672c993c 100644 --- a/lib/i18n/backend/base.rb +++ b/lib/i18n/backend/base.rb @@ -146,7 +146,7 @@ def resolve(locale, object, subject, options = EMPTY_HASH) I18n.translate(subject, **options.merge(:locale => locale, :throw => true)) when Proc date_or_time = options.delete(:object) || object - resolve(locale, object, subject.call(date_or_time, options)) + resolve(locale, object, subject.call(date_or_time, **options)) else subject end