Skip to content

Conversation

@nattsw
Copy link
Contributor

@nattsw nattsw commented Apr 22, 2025

Moves all usages of "DiscourseTranslator::Provider::#{SiteSetting.translator_provider}".constantize to DiscourseTranslator::Provider::TranslatorProvider.get.

Prepping for a future PR to translate categories in a job.

Note: I wanted DiscourseTranslator::Provider.get but zeitwerk is being annoying. It is a mouthful now unfortunately.

@nattsw nattsw merged commit 280f298 into main Apr 22, 2025
6 checks passed
@nattsw nattsw deleted the category-job branch April 22, 2025 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants