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 Drop Rails3 support 2014-02-17 19:42:08 +01:00
ams_include_without_root.rb Fix badge serialization issue. 2014-04-11 07:33:17 +05:30
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 bug fix 2013-04-24 12:26:39 +10:00
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 freedom patches for fixes submitted to rack 2013-09-09 20:35:21 +10:00
rails4.rb hacked dates so jeff sees no more 1mons everywhere. 2013-03-13 00:05:21 -07:00
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