mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 18:43:40 +08:00
6119d9fdc0
This takes effect when an interpolation is removed from a translation in a Discourse update. The I18n::Backend::Fallbacks loops with a catch(:exception), so calling throw(:exception) will cause it to use the next locale, until it reaches English which is assumed to be correct. Also, enable fallbacks in everything except development (#3724 for more discussion) - we should be able to test this |
||
---|---|---|
.. | ||
01-redis.rb | ||
02-freedom_patches.rb | ||
03-sql_builder.rb | ||
04-message_bus.rb | ||
05-site_settings.rb | ||
06-ensure_login_hint.rb | ||
06-mini_profiler.rb | ||
08-rack-cors.rb | ||
09-omniauth.rb | ||
10-discourse_iife.rb | ||
11-rack-protection.rb | ||
50-force_https.rb | ||
99-anon-cache.rb | ||
99-drain_pool.rb | ||
99-request_tracker.rb | ||
99-unicorn.rb | ||
00-rails-master-polyfills.rb | ||
i18n.rb | ||
inflections.rb | ||
logster.rb | ||
mime_types.rb | ||
oj.rb | ||
onebox_options.rb | ||
quiet_logger.rb | ||
rails3_ar_after_commit_tests.rb | ||
secret_token.rb | ||
session_store.rb | ||
sidekiq.rb | ||
silence_logger.rb | ||
sprockets.rb | ||
strong_parameters.rb | ||
verify_config.rb | ||
watch_for_restart.rb | ||
wrap_parameters.rb |