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/en.json') 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 From 9301e575c880970dc5642605adcc37903d176227 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Mon, 14 May 2018 16:05:37 -0400 Subject: translations PR 20180511 (#8774) * translations PR 20180511 * Fix bad translations --- i18n/en.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'i18n/en.json') diff --git a/i18n/en.json b/i18n/en.json index fe10ed2a2..c66066fcf 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -3850,10 +3850,6 @@ "id": "app.plugin.get_plugins.app_error", "translation": "Unable to get active plugins" }, - { - "id": "app.plugin.invalid_id.app_error", - "translation": "Plugin Id must be at least {{.Min}} characters, at most {{.Max}} characters and match {{.Regex}}." - }, { "id": "app.plugin.install.app_error", "translation": "Unable to install plugin." @@ -3862,6 +3858,10 @@ "id": "app.plugin.install_id.app_error", "translation": "Unable to install plugin. A plugin with the same ID is already installed." }, + { + "id": "app.plugin.invalid_id.app_error", + "translation": "Plugin Id must be at least {{.Min}} characters, at most {{.Max}} characters and match {{.Regex}}." + }, { "id": "app.plugin.manifest.app_error", "translation": "Unable to find manifest for extracted plugin" -- cgit v1.2.3-1-g7c22