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
discourse Revert "FIX: use CDN for user avatars" 2015-07-15 18:00:29 +02:00
docs
ember-addons
locales FEATURE: Localization fallbacks (client) 2015-07-15 10:17:28 -07:00
admin.js.erb
application.js.erb
discourse.js
ember_include.js.erb
env.js
jquery_include.js.erb
main_include.js Refactor PostActionSummary a bit. 2015-07-10 15:56:49 -04:00
main_include_admin.js
pagedown_custom.js
preload_store.js
vendor.js