mirror of
https://ghfast.top/https://github.com/discourse/discourse-translator.git
synced 2026-07-15 11:36:26 +08:00
For privileged users in restrict_translation_by_group, we show the 🌐 per post. Showing the 🌐 depends on the post's locale. This commit ensures locale is preloaded to prevent N+1 and adds an index on post_locale for the post_id. |
||
|---|---|---|
| .. | ||
| concerns/discourse_translator | ||
| discourse_translator | ||