rails/rails — pull request #13153 by sorah (2013-12-04 03:52:38+00:00)
Title: Should raise error when options[:raise] is true

Before ec16ba75a5493b9da972eea08bae630eba35b62f,
ActionView::Helpers::TranslationHelper#translate has raised errors with
specifying options[:raise] to true.

This should work by this fix:

begin
t(:"translations.missing", raise: true)
rescue I18n::MissingTranslationData
p :hello!
end