mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 10:19:40 +00:00
Before this commit, running `rspec --seed 22953 --format documentation spec/requests/admin/site_texts_controller_spec.rb:191 spec/lib/freedom_patches/translate_accelerator_spec.rb:109` will fail. Setting `I18n.config.available_locales` is equivalent to hard coding the locales for the entire process. It should not be set so that `I18n` will fallback to `backend.locales`.