mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-02 11:59:17 -05:00
3720783c1b
This removes some monkey patches and makes testing easier. It will also support database backed I18n changes.
5 lines
204 B
Ruby
5 lines
204 B
Ruby
# order: after 02-freedom_patches.rb
|
|
|
|
require 'i18n/backend/discourse_i18n'
|
|
I18n.backend = I18n::Backend::DiscourseI18n.new
|
|
I18n.config.missing_interpolation_argument_handler = proc { throw(:exception) }
|