diff options
author | David Meza <dmeza@users.noreply.github.com> | 2017-08-03 07:59:42 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-08-03 08:59:42 -0400 |
commit | b54d1342990253d3fe4a00c64df27cdd1bb0719b (patch) | |
tree | dadf9452248080b1a976d37430409696091fe52b /i18n | |
parent | 19804c4e40340cc4c0093197f71216719ffe4050 (diff) | |
download | chat-b54d1342990253d3fe4a00c64df27cdd1bb0719b.tar.gz chat-b54d1342990253d3fe4a00c64df27cdd1bb0719b.tar.bz2 chat-b54d1342990253d3fe4a00c64df27cdd1bb0719b.zip |
PLT-6484 Add /leave command to leave a channel (#6402)
* PLT-6484 Add /leave command to leave a channel
* Text changes requeted on review.
* PLT-6484 Display the right error message when trying to /leave town-square
* PLT-6484 Be able to execute /leave command in direct and group message channels with the same effect as clicking x
* PLT-6484 Refactor to create new leave_private_channel_modal.jsx
* PLT-6484 Remove previous leave private channel logic to use new leave_private_channel_modal.jsx
* Remove dot in command description. Change localized error when leaving Town square.
* disable /leave command in reply threads on the right-hand sidebar, since it is not obvious which channel you should leave
Diffstat (limited to 'i18n')
-rw-r--r-- | i18n/en.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/i18n/en.json b/i18n/en.json index c4bc9652a..abbf73699 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -692,6 +692,30 @@ "translation": "Joined channel." }, { + "id": "api.command_leave.desc", + "translation": "Leave the current channel" + }, + { + "id": "api.command_leave.fail.app_error", + "translation": "An error occurred while leaving the channel." + }, + { + "id": "api.command_leave.list.app_error", + "translation": "An error occurred while listing channels." + }, + { + "id": "api.command_leave.missing.app_error", + "translation": "We couldn't find the channel." + }, + { + "id": "api.command_leave.name", + "translation": "leave" + }, + { + "id": "api.command_leave.success", + "translation": "Left the channel." + }, + { "id": "api.command_logout.desc", "translation": "Logout of Mattermost" }, |