Update FeedItem.tsx
This commit is contained in:
@@ -205,9 +205,9 @@ let FeedItem = ({
|
|||||||
msg`${a11yAuthor} and ${plural(authors.length - 1, {
|
msg`${a11yAuthor} and ${plural(authors.length - 1, {
|
||||||
one: `${formattedCount} other`,
|
one: `${formattedCount} other`,
|
||||||
other: `${formattedCount} others`,
|
other: `${formattedCount} others`,
|
||||||
})} liked your post · ${niceTimestamp}`,
|
})} liked your post`,
|
||||||
)
|
)
|
||||||
: _(msg`${a11yAuthor} liked your post · ${niceTimestamp}`)
|
: _(msg`${a11yAuthor} liked your post`)
|
||||||
action =
|
action =
|
||||||
authors.length > 1 ? (
|
authors.length > 1 ? (
|
||||||
<Trans>
|
<Trans>
|
||||||
@@ -231,9 +231,9 @@ let FeedItem = ({
|
|||||||
msg`${a11yAuthor} and ${plural(authors.length - 1, {
|
msg`${a11yAuthor} and ${plural(authors.length - 1, {
|
||||||
one: `${formattedCount} other`,
|
one: `${formattedCount} other`,
|
||||||
other: `${formattedCount} others`,
|
other: `${formattedCount} others`,
|
||||||
})} reposted your post · ${niceTimestamp}`,
|
})} reposted your post`,
|
||||||
)
|
)
|
||||||
: _(msg`${a11yAuthor} reposted your post · ${niceTimestamp}`)
|
: _(msg`${a11yAuthor} reposted your post`)
|
||||||
action =
|
action =
|
||||||
authors.length > 1 ? (
|
authors.length > 1 ? (
|
||||||
<Trans>
|
<Trans>
|
||||||
@@ -262,9 +262,9 @@ let FeedItem = ({
|
|||||||
msg`${a11yAuthor} and ${plural(authors.length - 1, {
|
msg`${a11yAuthor} and ${plural(authors.length - 1, {
|
||||||
one: `${formattedCount} other`,
|
one: `${formattedCount} other`,
|
||||||
other: `${formattedCount} others`,
|
other: `${formattedCount} others`,
|
||||||
})} followed you back · ${niceTimestamp}`,
|
})} followed you back`,
|
||||||
)
|
)
|
||||||
: _(msg`${a11yAuthor} followed you back · ${niceTimestamp}`)
|
: _(msg`${a11yAuthor} followed you back`)
|
||||||
action =
|
action =
|
||||||
authors.length > 1 ? (
|
authors.length > 1 ? (
|
||||||
<Trans>
|
<Trans>
|
||||||
@@ -288,9 +288,9 @@ let FeedItem = ({
|
|||||||
msg`${a11yAuthor} and ${plural(authors.length - 1, {
|
msg`${a11yAuthor} and ${plural(authors.length - 1, {
|
||||||
one: `${formattedCount} other`,
|
one: `${formattedCount} other`,
|
||||||
other: `${formattedCount} others`,
|
other: `${formattedCount} others`,
|
||||||
})} followed you · ${niceTimestamp}`,
|
})} followed you`,
|
||||||
)
|
)
|
||||||
: _(msg`${a11yAuthor} followed you · ${niceTimestamp}`)
|
: _(msg`${a11yAuthor} followed you`)
|
||||||
action =
|
action =
|
||||||
authors.length > 1 ? (
|
authors.length > 1 ? (
|
||||||
<Trans>
|
<Trans>
|
||||||
@@ -316,9 +316,9 @@ let FeedItem = ({
|
|||||||
msg`${a11yAuthor} and ${plural(authors.length - 1, {
|
msg`${a11yAuthor} and ${plural(authors.length - 1, {
|
||||||
one: `${formattedCount} other`,
|
one: `${formattedCount} other`,
|
||||||
other: `${formattedCount} others`,
|
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 =
|
action =
|
||||||
authors.length > 1 ? (
|
authors.length > 1 ? (
|
||||||
<Trans>
|
<Trans>
|
||||||
@@ -342,11 +342,9 @@ let FeedItem = ({
|
|||||||
msg`${a11yAuthor} and ${plural(authors.length - 1, {
|
msg`${a11yAuthor} and ${plural(authors.length - 1, {
|
||||||
one: `${formattedCount} other`,
|
one: `${formattedCount} other`,
|
||||||
other: `${formattedCount} others`,
|
other: `${formattedCount} others`,
|
||||||
})} signed up with your starter pack · ${niceTimestamp}`,
|
})} signed up with your starter pack`,
|
||||||
)
|
|
||||||
: _(
|
|
||||||
msg`${a11yAuthor} signed up with your starter pack · ${niceTimestamp}`,
|
|
||||||
)
|
)
|
||||||
|
: _(msg`${a11yAuthor} signed up with your starter pack`)
|
||||||
action =
|
action =
|
||||||
authors.length > 1 ? (
|
authors.length > 1 ? (
|
||||||
<Trans>
|
<Trans>
|
||||||
@@ -371,6 +369,7 @@ let FeedItem = ({
|
|||||||
} else {
|
} else {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
a11yLabel += ` · ${niceTimestamp}`
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link
|
||||||
|
|||||||
Reference in New Issue
Block a user