From 3224d2f6a3bd95293fff25d6cc417b30b4f6e334 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Mon, 23 Apr 2018 20:18:58 +0800 Subject: add api to convert a channel from public to private and restrict that to system_admin (#8655) --- i18n/en.json | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'i18n/en.json') diff --git a/i18n/en.json b/i18n/en.json index ea6314107..9f6d972af 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -215,6 +215,14 @@ "id": "api.channel.change_channel_privacy.public_to_private", "translation": "This channel has been converted to a Private Channel." }, + { + "id": "api.channel.convert_channel_to_private.default_channel_error", + "translation": "This default channel cannot be converted into a private channel." + }, + { + "id": "api.channel.convert_channel_to_private.private_channel_error", + "translation": "The channel requested to convert is already a private channel." + }, { "id": "api.channel.create_channel.direct_channel.app_error", "translation": "Must use createDirectChannel API service for direct message channel creation" @@ -331,18 +339,6 @@ "id": "api.channel.leave.left", "translation": "%v left the channel." }, - { - "id": "api.channel.post_convert_channel_to_private.create_post.error", - "translation": "Failed to post channel conversion to private message" - }, - { - "id": "api.channel.post_convert_channel_to_private.retrieve_user.error", - "translation": "Failed to retrieve user while converting the channel from public to private" - }, - { - "id": "api.channel.post_convert_channel_to_private.updated_from", - "translation": "%s converted the channel from public to private" - }, { "id": "api.channel.post_update_channel_displayname_message_and_forget.create_post.error", "translation": "Failed to post displayname update message" -- cgit v1.2.3-1-g7c22