Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-04-01 14:02:40 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-05-17 00:27:16 +0300
commiteac358334048f55e750a5426de938915af30b12f (patch)
treef21555b273da3e08034882e7cd71826aa41797c3 /app/workers/email_receiver_worker.rb
parent869de96eeaa462da3632441623fd203a2a1d3930 (diff)
Update wording because we're overloading UserNotAuthorizedError
Diffstat (limited to 'app/workers/email_receiver_worker.rb')
-rw-r--r--app/workers/email_receiver_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/email_receiver_worker.rb b/app/workers/email_receiver_worker.rb
index 95469f1c486..64105dbc01d 100644
--- a/app/workers/email_receiver_worker.rb
+++ b/app/workers/email_receiver_worker.rb
@@ -36,7 +36,7 @@ class EmailReceiverWorker
when Gitlab::Email::Receiver::UserBlockedError
reason = "Your account has been blocked. If you believe this is in error, contact a staff member."
when Gitlab::Email::Receiver::UserNotAuthorizedError
- reason = "You are not allowed to respond to the thread you are replying to. If you believe this is in error, contact a staff member."
+ reason = "You are not allowed to perform this action. If you believe this is in error, contact a staff member."
when Gitlab::Email::Receiver::NoteableNotFoundError
reason = "The thread you are replying to no longer exists, perhaps it was deleted? If you believe this is in error, contact a staff member."
when Gitlab::Email::Receiver::InvalidNoteError,