We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60715c0 commit 69c20caCopy full SHA for 69c20ca
lib/discourse_translator/inline_translation.rb
@@ -65,23 +65,6 @@ def inject(plugin)
65
!object.topic.locale_matches?(InlineTranslation.effective_locale) &&
66
object.topic.translation_for(InlineTranslation.effective_locale).present?
67
end
68
-
69
- plugin.register_topic_preloader_associations(
70
- {
71
- association: :content_locale,
72
- condition: -> do
73
- SiteSetting.translator_enabled && SiteSetting.experimental_inline_translation
74
- end,
75
- },
76
- )
77
78
79
- association: :translations,
80
81
82
83
84
85
86
87
spec/serializers/topic_list_serializer_spec.rb
0 commit comments