From 26f96b240ddc8cf8c56decea72102b10238e0a43 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Wed, 31 Aug 2016 12:52:14 -0400 Subject: PLT-3462 Add the ability to clear push notifications after channel is viewed (#3834) * Add the ability to clear push notifications after channel is viewed * Fix race condition between updating the mention count and reading it when sending push notifications --- i18n/en.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'i18n') diff --git a/i18n/en.json b/i18n/en.json index f2a2d2cd0..cdb05f14b 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -151,6 +151,10 @@ "id": "api.channel.add_member.added", "translation": "%v added to the channel by %v" }, + { + "id": "api.channel.update_last_viewed_at.get_unread_count_for_channel.errord", + "translation": "Unable to get the unread count for user_id=%v and channel_id=%v, err=%v" + }, { "id": "api.channel.add_member.find_channel.app_error", "translation": "Failed to find channel" @@ -1297,11 +1301,15 @@ }, { "id": "api.post.send_notifications_and_forget.push_notification.debug", - "translation": "Sending push notification to %v wi msg of '%v'" + "translation": "Sending push notification to %v with msg of '%v'" + }, + { + "id": "api.post.send_notifications_and_forget.clear_push_notification.debug", + "translation": "Clearing push notification to %v with channel_id %v" }, { "id": "api.post.send_notifications_and_forget.push_notification.error", - "translation": "Failed to send push notificationid=%v, err=%v" + "translation": "Failed to send push device_id=%v, err=%v" }, { "id": "api.post.send_notifications_and_forget.send.error", @@ -4455,6 +4463,10 @@ "id": "store.sql_user.get_unread_count.app_error", "translation": "We could not get the unread message count for the user" }, + { + "id": "store.sql_user.get_unread_count_for_channel.app_error", + "translation": "We could not get the unread message count for the user and channel" + }, { "id": "store.sql_user.migrate_theme.critical", "translation": "Failed to migrate User.ThemeProps to Preferences table %v" -- cgit v1.2.3-1-g7c22