From b7d045844c4d00d8268da50f2388be1d12c91829 Mon Sep 17 00:00:00 2001 From: hmhealey Date: Sat, 30 Jan 2016 13:44:39 -0500 Subject: Added serverside check for a post that @mentions someone who isn't in the channel --- i18n/en.json | 12 ++++++++++++ i18n/es.json | 12 ++++++++++++ 2 files changed, 24 insertions(+) (limited to 'i18n') diff --git a/i18n/en.json b/i18n/en.json index 2d86e1ee5..e620a1f0d 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -683,6 +683,18 @@ "id": "api.post.delete_post.permissions.app_error", "translation": "You do not have the appropriate permissions" }, + { + "id": "api.post.get_out_of_channel_mentions.retrieve_members.error", + "translation": "Failed to get channel members channel_id=%v err=%v" + }, + { + "id": "api.post.get_out_of_channel_mentions.retrieve_profiles.error", + "translation": "Failed to retrieve user profiles team_id=%v, err=%v" + }, + { + "id": "api.post.get_out_of_channel_mentions.regex.error", + "translation": "Failed to compile @mention regex user_id=%v, err=%v" + }, { "id": "api.post.get_post.permissions.app_error", "translation": "You do not have the appropriate permissions" diff --git a/i18n/es.json b/i18n/es.json index 9599fe879..328571f3b 100644 --- a/i18n/es.json +++ b/i18n/es.json @@ -683,6 +683,18 @@ "id": "api.post.delete_post.permissions.app_error", "translation": "No tienes los permisos apropiados" }, + { + "id": "api.post.get_out_of_channel_mentions.retrieve_members.error", + "translation": "Falla al obtener los miembros del canal channel_id=%v err=%v" + }, + { + "id": "api.post.get_out_of_channel_mentions.retrieve_profiles.error", + "translation": "Falla al recuperar los perfiles de usuario team_id=%v, err=%v" + }, + { + "id": "api.post.get_out_of_channel_mentions.regex.error", + "translation": "Failed to compile @mention regex user_id=%v, err=%v" + }, { "id": "api.post.get_post.permissions.app_error", "translation": "No tienes los permisos apropiados" -- cgit v1.2.3-1-g7c22