Reworked the code for sending notifications and checking for out of channel mentions to share some data

Этот коммит содержится в:
hmhealey
2016-02-03 10:56:47 -05:00
родитель fd123a6e4a
Коммит 994358c31a
4 изменённых файлов: 280 добавлений и 282 удалений

Просмотреть файл

@@ -691,14 +691,6 @@
"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"
@@ -711,6 +703,14 @@
"id": "api.post.handle_post_events_and_forget.channel.error",
"translation": "Encountered error getting channel, channel_id=%s, err=%v"
},
{
"id": "api.post.handle_post_events_and_forget.members.error",
"translation": "Failed to get channel members channel_id=%v err=%v"
},
{
"id": "api.post.handle_post_events_and_forget.profiles.error",
"translation": "Failed to retrieve user profiles team_id=%v, err=%v"
},
{
"id": "api.post.handle_post_events_and_forget.team.error",
"translation": "Encountered error getting team, team_id=%s, err=%v"
@@ -751,10 +751,6 @@
"id": "api.post.make_direct_channel_visible.update_pref.error",
"translation": "Failed to update direct channel preference user_id=%v other_user_id=%v err=%v"
},
{
"id": "api.post.send_notifications_and_forget.members.error",
"translation": "Failed to get channel members channel_id=%v err=%v"
},
{
"id": "api.post.send_notifications_and_forget.mention_body",
"translation": "You have one new mention."
@@ -787,10 +783,6 @@
"id": "api.post.send_notifications_and_forget.push_notification.error",
"translation": "Failed to send push notificationid=%v, err=%v"
},
{
"id": "api.post.send_notifications_and_forget.retrive_profiles.error",
"translation": "Failed to retrieve user profiles team_id=%v, err=%v"
},
{
"id": "api.post.send_notifications_and_forget.send.error",
"translation": "Failed to send mention email successfully email=%v err=%v"

Просмотреть файл

@@ -683,14 +683,6 @@
"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_post.permissions.app_error",
"translation": "No tienes los permisos apropiados"
@@ -699,6 +691,14 @@
"id": "api.post.handle_post_events_and_forget.channel.error",
"translation": "Se encontró un error obteniendo el canal, channel_id=%s, err=%v"
},
{
"id": "api.post.handle_post_events_and_forget.members.error",
"translation": "Falla al obtener los miembros del canal channel_id=%v err=%v"
},
{
"id": "api.post.handle_post_events_and_forget.profiles.error",
"translation": "Falla al recuperar los perfiles de usuario team_id=%v, err=%v"
},
{
"id": "api.post.handle_post_events_and_forget.team.error",
"translation": "Se encontró un error obteniendo el equipo, team_id=%s, err=%v"
@@ -739,10 +739,6 @@
"id": "api.post.make_direct_channel_visible.update_pref.error",
"translation": "Falla al actualizar las preferencias del canal directo user_id=%v other_user_id=%v err=%v"
},
{
"id": "api.post.send_notifications_and_forget.members.error",
"translation": "Falla al obtener los miembros del canal channel_id=%v err=%v"
},
{
"id": "api.post.send_notifications_and_forget.mention_body",
"translation": "Tienes una mención nueva."
@@ -775,10 +771,6 @@
"id": "api.post.send_notifications_and_forget.push_notification.error",
"translation": "Falló el envio de la notificación push notificationid=%v, err=%v"
},
{
"id": "api.post.send_notifications_and_forget.retrive_profiles.error",
"translation": "Falla al recuperar los perfiles de usuario team_id=%v, err=%v"
},
{
"id": "api.post.send_notifications_and_forget.send.error",
"translation": "Falla al enviar el correo con la mención satisfactoriamente email=%v err=%v"