diff --git a/app/services/spam_rules_enforcer.rb b/app/services/spam_rules_enforcer.rb
index 3295c1dab..2a07b2822 100644
--- a/app/services/spam_rules_enforcer.rb
+++ b/app/services/spam_rules_enforcer.rb
@@ -40,9 +40,9 @@ class SpamRulesEnforcer
def flag_sockpuppet_users
system_user = Discourse.system_user
- PostAction.act(system_user, @post, PostActionType.types[:spam]) rescue PostAction::AlreadyActed
+ PostAction.act(system_user, @post, PostActionType.types[:spam], message: I18n.t('flag_reason.sockpuppet')) rescue PostAction::AlreadyActed
if (first_post = @post.topic.posts.by_post_number.first).try(:user).try(:new_user?)
- PostAction.act(system_user, first_post, PostActionType.types[:spam]) rescue PostAction::AlreadyActed
+ PostAction.act(system_user, first_post, PostActionType.types[:spam], message: I18n.t('flag_reason.sockpuppet')) rescue PostAction::AlreadyActed
end
end
diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml
index 14189b335..5a5a34157 100644
--- a/config/locales/server.en.yml
+++ b/config/locales/server.en.yml
@@ -1159,3 +1159,6 @@ en:
fetch_failure: "Sorry, there has been an error while fetching the image."
unknown_image_type: "Sorry, but the file you tried to upload doesn't appear to be an image."
size_not_found: "Sorry, but we couldn't determine the size of the image. Maybe your image is corrupted?"
+
+ flag_reason:
+ sockpuppet: "A new user created a topic, and another new user at the same IP address replied. See the flag_sockpuppets site setting."