]> granicus.if.org Git - ejabberd/commitdiff
Improve captcha blocking alert wording
authorMickaël Rémond <mremond@process-one.net>
Sat, 25 May 2019 09:30:04 +0000 (11:30 +0200)
committerGitHub <noreply@github.com>
Sat, 25 May 2019 09:30:04 +0000 (11:30 +0200)
src/ejabberd_captcha.erl

index 385aa07b2b822eb9f633519e32254a728b2511b8..84317eb5593fb00a5b9c35cdd3fe0d8ab9343396 100644 (file)
@@ -101,8 +101,8 @@ create_captcha(SID, From, To, Lang, Limiter, Args) ->
                mk_ocr_field(Lang, CID, Type)],
          X = #xdata{type = form, fields = Fs},
          Captcha = #xcaptcha{xdata = X},
-         BodyString = {<<"Your messages to ~s are being blocked. "
-                         "To unblock them, visit ~s">>, [JID, get_url(Id)]},
+          BodyString = {<<"Your subscription request and/or messages to ~s have been blocked. "
+                         "To unblock your subscription request, visit ~s">>, [JID, get_url(Id)]},
          Body = xmpp:mk_text(BodyString, Lang),
          OOB = #oob_x{url = get_url(Id)},
          Hint = #hint{type = 'no-store'},