Skip to content

Commit

Permalink
Update FeedItem.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
quiple committed Jul 26, 2024
1 parent 11ef364 commit a1e99a0
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions src/view/com/notifications/FeedItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ? (
<Trans>
Expand All @@ -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 ? (
<Trans>
Expand Down Expand Up @@ -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 ? (
<Trans>
Expand All @@ -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 ? (
<Trans>
Expand All @@ -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 ? (
<Trans>
Expand All @@ -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 ? (
<Trans>
Expand All @@ -371,6 +369,7 @@ let FeedItem = ({
} else {
return null
}
a11yLabel += ` · ${niceTimestamp}`

return (
<Link
Expand Down

0 comments on commit a1e99a0

Please sign in to comment.