mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
6 lines
192 B
Ruby
6 lines
192 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
|