From bf24f51c4e1cc6286885460672f7f449e8c6f5ef Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Mon, 16 Apr 2018 14:23:58 +0200 Subject: [MM-9904] Add /invite slash command to invite users to a channel (#8482) * [MM-9904] Add /invite slash command to invite users to a channel * Update en.json --- i18n/en.json | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'i18n/en.json') diff --git a/i18n/en.json b/i18n/en.json index 02ac46e70..c7276b6cc 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -814,6 +814,54 @@ "id": "api.command_join.success", "translation": "Joined channel." }, + { + "id": "api.command_invite.hint", + "translation": "@[username] ~[channel]" + }, + { + "id": "api.command_invite.name", + "translation": "invite" + }, + { + "id": "api.command_invite.desc", + "translation": "Invite a user to a channel" + }, + { + "id": "api.command_invite.missing_message.app_error", + "translation": "Missing Username and Channel." + }, + { + "id": "api.command_invite.missing_user.app_error", + "translation": "We couldn't find the user." + }, + { + "id": "api.command_invite.channel.app_error", + "translation": "Error to retrieve the current channel." + }, + { + "id": "api.command_invite.channel.error", + "translation": "Could not find the channel {{.Channel}}. Please use the [channel handle](https://about.mattermost.com/default-channel-handle-documentation) to identify channels." + }, + { + "id": "api.command_invite.fail.app_error", + "translation": "An error occurred while joining the channel." + }, + { + "id": "api.command_invite.permission.app_error", + "translation": "You don't have enough permissions to add {{.User}} in {{.Channel}}." + }, + { + "id": "api.command_invite.directchannel.app_error", + "translation": "You can't add someone to a direct message channel." + }, + { + "id": "api.command_invite.user_already_in_channel.app_error", + "translation": "{{.User}} is already in the channel." + }, + { + "id": "api.command_invite.success", + "translation": "{{.User}} added to {{.Channel}} channel." + }, { "id": "api.command_kick.name", "translation": "kick" -- cgit v1.2.3-1-g7c22