discourse/lib/freedom_patches
Kane York ecfa17b5a7 FEATURE: Localization fallbacks (server-side)
The FallbackLocaleList object tells I18n::Backend::Fallbacks what order the
languages should be attempted in. Because of the translate_accelerator patch,
the SiteSetting.default_locale is *not* guaranteed to be fully loaded after the
server starts, so a call to ensure_loaded! is added after the locale is set for
the current user.

The declarations of config.i18n.fallbacks = true in the environment files were
actually garbage, because the I18n.default_locale was
SiteSetting.default_locale, so there was nothing to fall back to. *derp*
2015-07-15 10:17:36 -07:00
..
active_record_base.rb
ams_include_without_root.rb
arel_patch.rb Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
better_handlebars_errors.rb FIX: HTMLBars compilation was broken in production mode 2015-05-11 11:20:46 -04:00
ember_compat_handlebars.rb barber upgrade, get assets precompile working on 1.9 2014-12-17 09:31:41 -05:00
fast_pluck.rb Add some documentation to fast_pluck.rb 2015-05-14 21:15:33 -07:00
inflector_backport.rb
performance_fixes.rb Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
pool_drainer.rb Check Rails.version instead of ENV 2015-04-28 22:27:47 -04:00
rack_patches.rb
rails4.rb
safe_buffer.rb need to figure out encoding before forcing. 2014-10-30 17:49:44 +11:00
scrub.rb FIX: scrub freedom_patch should take the optional replacement_char argument. Mysql2::Error uses it. mysql2 is used by some import scripts. 2014-07-03 11:11:21 -04:00
translate_accelerator.rb FEATURE: Localization fallbacks (server-side) 2015-07-15 10:17:36 -07:00