FIX: Send assignment message in the notified user's locale
This commit is contained in:
parent
dea72e708b
commit
6d44f4fe29
|
@ -214,7 +214,11 @@ class ::TopicAssigner
|
||||||
post: first_post,
|
post: first_post,
|
||||||
username: @assigned_by.username,
|
username: @assigned_by.username,
|
||||||
notification_type: Notification.types[:custom],
|
notification_type: Notification.types[:custom],
|
||||||
excerpt: I18n.t("discourse_assign.topic_assigned_excerpt", title: @topic.title)
|
excerpt: I18n.t(
|
||||||
|
"discourse_assign.topic_assigned_excerpt",
|
||||||
|
title: @topic.title,
|
||||||
|
locale: assign_to.effective_locale
|
||||||
|
)
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue