discourse/app/assets/javascripts
Kane York 728845d008 FEATURE: Localization fallbacks (client)
This patch sets I18n.defaultLocale in the Discourse.start() script block (it
was formerly always 'en') to SiteSetting.default_locale, and patches
translate() to perform fallback to defaultLocale followed by english.
Additionally, when enable_verbose_localization() is called, no fallbacks will
be performed.

It also memoizes the file loading operations in JsLocaleHelper and strips out
translations from the fallbacks that are also present in a prefered language,
to minimize file size.
2015-07-15 10:17:28 -07:00
..
admin Add ace:resize app event 2015-07-15 09:44:08 -07:00
defer FIX: remove invalid hack, correct whitelist to use value returned from callback 2014-07-25 12:16:00 +10:00
discourse Revert "FIX: use CDN for user avatars" 2015-07-15 18:00:29 +02:00
docs
ember-addons FIX: List views in admin were broken 2015-05-11 13:17:12 -04:00
locales FEATURE: Localization fallbacks (client) 2015-07-15 10:17:28 -07:00
admin.js.erb Put Ember 1.8.1 + fixes back. 2014-12-04 08:51:35 -05:00
application.js.erb When using automatic file includes (es6, hbs) from plugins, allow the 2014-12-09 15:23:14 -05:00
discourse.js FIX: apply s3 cdn to client side assets 2015-05-27 12:59:51 +10:00
ember_include.js.erb OOPS, left debugging stuff in last push. 2015-05-14 12:48:12 -04:00
env.js Many fixes for Ember 1.9.0 2014-12-17 09:31:40 -05:00
jquery_include.js.erb Ember 1.11 broken WIP 2015-05-11 11:18:37 -04:00
main_include_admin.js FIX: List views in admin were broken 2015-05-11 13:17:12 -04:00
main_include.js Refactor PostActionSummary a bit. 2015-07-10 15:56:49 -04:00
pagedown_custom.js FIX: quote whote post should insert at cursor position 2015-02-02 19:08:28 +01:00
preload_store.js Remove deprecated Ember.Deferred 2014-09-24 14:17:29 -04:00
vendor.js Update cloaking code for HTMLBars 2015-05-11 11:18:37 -04:00