mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: custom reason for flags were not showing for non-english locales
This commit is contained in:
@@ -227,7 +227,7 @@ SQL
|
||||
|
||||
if [:notify_moderators, :spam].include?(post_action_type)
|
||||
opts[:subtype] = TopicSubtype.notify_moderators
|
||||
opts[:target_group_names] = "moderators"
|
||||
opts[:target_group_names] = Group[:moderators].name
|
||||
else
|
||||
opts[:subtype] = TopicSubtype.notify_user
|
||||
opts[:target_usernames] = if post_action_type == :notify_user
|
||||
|
||||
Reference in New Issue
Block a user