Skip to content

Commit 8c24ecf

Browse files
committed
Use correct method - completion error
1 parent 7607b46 commit 8c24ecf

File tree

1 file changed

+1
-1
lines changed
  • app/services/discourse_translator

1 file changed

+1
-1
lines changed

app/services/discourse_translator/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def self.translate(topic_or_post)
4343
)
4444
end
4545

46-
translated_text = get_detected_locale(topic_or_post) || translate!(topic_or_post)
46+
translated_text = get_translation(topic_or_post) || translate!(topic_or_post)
4747

4848
[detected_lang, translated_text]
4949
end

0 commit comments

Comments
 (0)