Update FeedItem.tsx
This commit is contained in:
@@ -22,7 +22,7 @@ import {
|
|||||||
FontAwesomeIconStyle,
|
FontAwesomeIconStyle,
|
||||||
Props,
|
Props,
|
||||||
} from '@fortawesome/react-native-fontawesome'
|
} from '@fortawesome/react-native-fontawesome'
|
||||||
import {msg, plural, Trans} from '@lingui/macro'
|
import {msg, Plural, Trans} from '@lingui/macro'
|
||||||
import {useLingui} from '@lingui/react'
|
import {useLingui} from '@lingui/react'
|
||||||
import {useQueryClient} from '@tanstack/react-query'
|
import {useQueryClient} from '@tanstack/react-query'
|
||||||
|
|
||||||
@@ -234,10 +234,11 @@ let FeedItem = ({
|
|||||||
<Trans context="notification">
|
<Trans context="notification">
|
||||||
<Text style={[pal.text]}> and </Text>
|
<Text style={[pal.text]}> and </Text>
|
||||||
<Text style={[pal.text, s.bold]}>
|
<Text style={[pal.text, s.bold]}>
|
||||||
{plural(authors.length - 1, {
|
<Plural
|
||||||
one: `${formattedCount} other`,
|
value={authors.length - 1}
|
||||||
other: `${formattedCount} others`,
|
one="# other"
|
||||||
})}
|
other="# others"
|
||||||
|
/>
|
||||||
</Text>
|
</Text>
|
||||||
</Trans>
|
</Trans>
|
||||||
) : undefined}
|
) : undefined}
|
||||||
|
|||||||
Reference in New Issue
Block a user