mirror of
https://ghfast.top/https://github.com/discourse/discourse-translator.git
synced 2026-07-16 11:46:33 +08:00
When a new post is created, and a user is in "show original" translation mode when inline translation is enabled, the new post comes in translated. This commit fixes that by registering a custom post message callback, and checking if the user is in "show original". |
||
|---|---|---|
| .. | ||
| detect_translatable_language.rb | ||
| translate_translatable.rb | ||