summaryrefslogtreecommitdiff
path: root/app/models/concerns
diff options
context:
space:
mode:
authorOswaldo Ferreira <oswaldo@gitlab.com>2017-03-20 23:36:53 -0300
committerOswaldo Ferreira <oswaldo@gitlab.com>2017-03-21 14:20:15 -0300
commit86ef67eee559c536e159673b26fb524c92d2eb82 (patch)
tree6ecc2205a9a817293b08bd172bf5b1f21219f198 /app/models/concerns
parent4ea85da9fb99bc4d875cc3dc644476f34f0b8bc3 (diff)
downloadgitlab-ce-86ef67eee559c536e159673b26fb524c92d2eb82.tar.gz
Present ajax call errors when failing to update an Issue
Diffstat (limited to 'app/models/concerns')
-rw-r--r--app/models/concerns/spammable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/spammable.rb b/app/models/concerns/spammable.rb
index 107e6764ba2..647a6cad3d7 100644
--- a/app/models/concerns/spammable.rb
+++ b/app/models/concerns/spammable.rb
@@ -41,7 +41,7 @@ module Spammable
def check_for_spam
error_msg = if Gitlab::Recaptcha.enabled?
"Your #{spammable_entity_type} has been recognized as spam. "\
- "You can still submit it by solving Captcha."
+ "Please, change the content or solve the reCAPTCHA to proceed."
else
"Your #{spammable_entity_type} has been recognized as spam and has been discarded."
end