mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
f3ac2c9b5c
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`.