From 7399d349dedc35c8c05b223a3c143a420bf2411f Mon Sep 17 00:00:00 2001 From: Pepijn Date: Thu, 8 Dec 2016 00:08:37 +0100 Subject: Created a new message indicator component to indicate new messages (#4299) * Created a new message indicator component to indicate new messages are present outside the user's view: * Created new component with styling * Theming and i18n support for new messages indicator * Count new unviewed messages and integrate with component * Coding style for new message indicator * Fixed bugs with new message indicator: * Fix display issues with new message indicator * Update text to deal with plurals in React * Fix coded style for ticket 'PLT-1917': add new message indicator. * Use only server generated timestamps for checking new messages at the bottom * Move transitionend to prop, fix style selectors --- webapp/i18n/en.json | 1 + 1 file changed, 1 insertion(+) (limited to 'webapp/i18n/en.json') diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json index e6650fe22..55768d7c6 100644 --- a/webapp/i18n/en.json +++ b/webapp/i18n/en.json @@ -1624,6 +1624,7 @@ "post_info.reply": "Reply", "posts_view.loadMore": "Load more messages", "posts_view.newMsg": "New Messages", + "posts_view.newMsgBelow": "{count} new {count, plural, one {message} other {messages}} below", "reaction.clickToAdd": "(click to add)", "reaction.clickToRemove": "(click to remove)", "reaction.multipleReacted": "{users} and {lastUser} reacted with :{emojiName}:", -- cgit v1.2.3-1-g7c22