From 0dbaa2d032ae42cbf39945df12efb20fc572b559 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Fri, 11 May 2018 17:20:47 +0200 Subject: [MM-10458] Change system response to "Could not find the channel" - bug fix (#8738) * [MM-10458] Change system response to "Could not find the channel" when trying to invite user to private channel you can't see * add another check to check if user have permission to add another in pvt channel --- i18n/en.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'i18n') diff --git a/i18n/en.json b/i18n/en.json index d4a08b07a..fe10ed2a2 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -822,6 +822,10 @@ "id": "api.command_invite.permission.app_error", "translation": "You don't have enough permissions to add {{.User}} in {{.Channel}}." }, + { + "id": "api.command_invite.private_channel.app_error", + "translation": "Could not find the channel {{.Channel}}. Please use the channel handle to identify channels." + }, { "id": "api.command_invite.success", "translation": "{{.User}} added to {{.Channel}} channel." -- cgit v1.2.3-1-g7c22