mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
8 lines
226 B
Ruby
8 lines
226 B
Ruby
# frozen_string_literal: true
|
|
|
|
# From: https://robots.thoughtbot.com/better-tests-through-internationalization
|
|
|
|
I18n.exception_handler = lambda do |_exception, _locale, key, _options|
|
|
raise "missing translation: #{key}"
|
|
end
|