From a1e99a031a1070c552813ef8a86159276947e6f0 Mon Sep 17 00:00:00 2001 From: Minseo Lee Date: Fri, 26 Jul 2024 15:45:38 +0900 Subject: [PATCH] Update FeedItem.tsx --- src/view/com/notifications/FeedItem.tsx | 27 ++++++++++++------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/src/view/com/notifications/FeedItem.tsx b/src/view/com/notifications/FeedItem.tsx index 2734fe4d68..8e90e6c884 100644 --- a/src/view/com/notifications/FeedItem.tsx +++ b/src/view/com/notifications/FeedItem.tsx @@ -205,9 +205,9 @@ let FeedItem = ({ msg`${a11yAuthor} and ${plural(authors.length - 1, { one: `${formattedCount} other`, other: `${formattedCount} others`, - })} liked your post · ${niceTimestamp}`, + })} liked your post`, ) - : _(msg`${a11yAuthor} liked your post · ${niceTimestamp}`) + : _(msg`${a11yAuthor} liked your post`) action = authors.length > 1 ? ( @@ -231,9 +231,9 @@ let FeedItem = ({ msg`${a11yAuthor} and ${plural(authors.length - 1, { one: `${formattedCount} other`, other: `${formattedCount} others`, - })} reposted your post · ${niceTimestamp}`, + })} reposted your post`, ) - : _(msg`${a11yAuthor} reposted your post · ${niceTimestamp}`) + : _(msg`${a11yAuthor} reposted your post`) action = authors.length > 1 ? ( @@ -262,9 +262,9 @@ let FeedItem = ({ msg`${a11yAuthor} and ${plural(authors.length - 1, { one: `${formattedCount} other`, other: `${formattedCount} others`, - })} followed you back · ${niceTimestamp}`, + })} followed you back`, ) - : _(msg`${a11yAuthor} followed you back · ${niceTimestamp}`) + : _(msg`${a11yAuthor} followed you back`) action = authors.length > 1 ? ( @@ -288,9 +288,9 @@ let FeedItem = ({ msg`${a11yAuthor} and ${plural(authors.length - 1, { one: `${formattedCount} other`, other: `${formattedCount} others`, - })} followed you · ${niceTimestamp}`, + })} followed you`, ) - : _(msg`${a11yAuthor} followed you · ${niceTimestamp}`) + : _(msg`${a11yAuthor} followed you`) action = authors.length > 1 ? ( @@ -316,9 +316,9 @@ let FeedItem = ({ msg`${a11yAuthor} and ${plural(authors.length - 1, { one: `${formattedCount} other`, other: `${formattedCount} others`, - })} liked your custom feed · ${niceTimestamp}`, + })} liked your custom feed`, ) - : _(msg`${a11yAuthor} liked your custom feed · ${niceTimestamp}`) + : _(msg`${a11yAuthor} liked your custom feed`) action = authors.length > 1 ? ( @@ -342,11 +342,9 @@ let FeedItem = ({ msg`${a11yAuthor} and ${plural(authors.length - 1, { one: `${formattedCount} other`, other: `${formattedCount} others`, - })} signed up with your starter pack · ${niceTimestamp}`, - ) - : _( - msg`${a11yAuthor} signed up with your starter pack · ${niceTimestamp}`, + })} signed up with your starter pack`, ) + : _(msg`${a11yAuthor} signed up with your starter pack`) action = authors.length > 1 ? ( @@ -371,6 +369,7 @@ let FeedItem = ({ } else { return null } + a11yLabel += ` · ${niceTimestamp}` return (