diff options
author | Jenkins <jenkins@jenkins.ninjawedding.org> | 2018-03-21 17:17:20 +0000 |
---|---|---|
committer | Jenkins <jenkins@jenkins.ninjawedding.org> | 2018-03-21 17:17:20 +0000 |
commit | 6290cd796937e8bfb43ab360a578ac42f53afda9 (patch) | |
tree | 5123d546ae516640c57c1d4f1047663e8c733343 /config/application.rb | |
parent | 2649cce3a065f3825d63b7f7be341787aa1d2f9a (diff) | |
parent | d97903a3587e137316adbd8a9f0460552b5bfbcd (diff) |
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config/application.rb b/config/application.rb index 4319167dc..c0899ad70 100644 --- a/config/application.rb +++ b/config/application.rb @@ -77,9 +77,7 @@ module Mastodon ] config.i18n.default_locale = ENV['DEFAULT_LOCALE']&.to_sym - if config.i18n.available_locales.include?(config.i18n.default_locale) - config.i18n.fallbacks = [:en] - else + unless config.i18n.available_locales.include?(config.i18n.default_locale) config.i18n.default_locale = :en end |