summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sethna <eric@spinpunch.com>2016-06-28 12:11:51 -0700
committerJoram Wilander <jwawilander@gmail.com>2016-06-28 15:11:50 -0400
commit48ea4bc6f685404f7fd736ccfe30b78348481381 (patch)
tree6e4f83a0a050542d9679eea02624f8833b2a0335
parent8005911ff6922d896a4a34192a4b0b0d5ade002f (diff)
downloadchat-48ea4bc6f685404f7fd736ccfe30b78348481381.tar.gz
chat-48ea4bc6f685404f7fd736ccfe30b78348481381.tar.bz2
chat-48ea4bc6f685404f7fd736ccfe30b78348481381.zip
Update permalink error message (#3427)
* Clarify permalink error message * Clarify permalink error message en.json * Update global_actions.jsx * Update en.json
-rw-r--r--webapp/actions/global_actions.jsx2
-rw-r--r--webapp/i18n/en.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/webapp/actions/global_actions.jsx b/webapp/actions/global_actions.jsx
index d6456eb3a..89d366767 100644
--- a/webapp/actions/global_actions.jsx
+++ b/webapp/actions/global_actions.jsx
@@ -155,7 +155,7 @@ export function emitPostFocusEvent(postId) {
doFocusPost(channelId, postId, data);
},
() => {
- browserHistory.push('/error?message=' + encodeURIComponent(Utils.localizeMessage('permalink.error.access', 'Permalink belongs to a channel you do not have access to')));
+ browserHistory.push('/error?message=' + encodeURIComponent(Utils.localizeMessage('permalink.error.access', 'Permalink belongs to a deleted message or to a channel to which you do not have access.')));
}
);
}
diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json
index 3325ec85d..04ff8c17e 100644
--- a/webapp/i18n/en.json
+++ b/webapp/i18n/en.json
@@ -1113,7 +1113,7 @@
"password_send.title": "Password Reset",
"pending_post_actions.cancel": "Cancel",
"pending_post_actions.retry": "Retry",
- "permalink.error.access": "Permalink belongs to a channel you do not have access to",
+ "permalink.error.access": "Permalink belongs to a deleted message or to a channel to which you do not have access.",
"post_attachment.collapse": "Show less...",
"post_attachment.more": "Show more...",
"post_body.commentedOn": "Commented on {name}{apostrophe} message: ",