diff options
author | Saturnino Abril <saturnino.abril@gmail.com> | 2017-10-21 01:38:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-21 01:38:26 +0800 |
commit | 18ee37586027e5672446a6f23c05a8ccb2b35896 (patch) | |
tree | d915646e73a91b0082ecdf89b7a290291c0c9451 /i18n/en.json | |
parent | cbb18479e9a4c410664535f6e0f5032d4261dfff (diff) | |
download | chat-18ee37586027e5672446a6f23c05a8ccb2b35896.tar.gz chat-18ee37586027e5672446a6f23c05a8ccb2b35896.tar.bz2 chat-18ee37586027e5672446a6f23c05a8ccb2b35896.zip |
[PLT-7362] Option to add user to channel if mentioned user is not currently in the channel (#7619)
* Option to add user to channel if mentioned user is not currently in the channel
* instead of link from server, just add component on client side to add channel member
* change implementation using post.props
* do clean up and add test
* sanitize post.props['add_channel_member'] on post creation
* move sanitize to app.CreatePost and also apply to app.UpdatePost
Diffstat (limited to 'i18n/en.json')
-rw-r--r-- | i18n/en.json | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/i18n/en.json b/i18n/en.json index 53cbc6d99..7a8c8f4c1 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1554,12 +1554,20 @@ "translation": "Missing file in multipart/form request" }, { + "id": "api.post.check_for_out_of_channel_mentions.link.public", + "translation": "add them to the channel" + }, + { + "id": "api.post.check_for_out_of_channel_mentions.link.private", + "translation": "add them to this private channel" + }, + { "id": "api.post.check_for_out_of_channel_mentions.message.multiple", - "translation": "{{.Usernames}} and {{.LastUsername}} were mentioned, but they did not receive notifications because they do not belong to this channel." + "translation": "@{{.Usernames}} and @{{.LastUsername}} were mentioned but they are not in the channel. Would you like to {{.Phrase}}? They will have access to all message history." }, { "id": "api.post.check_for_out_of_channel_mentions.message.one", - "translation": "{{.Username}} was mentioned, but they did not receive a notification because they do not belong to this channel." + "translation": "@{{.Username}} was mentioned but they are not in the channel. Would you like to {{.Phrase}}? They will have access to all message history." }, { "id": "api.post.create_post.attach_files.error", |