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