v1.129.0 release prep (#11265)

This commit is contained in:
Samuel Newman
2026-07-24 19:43:38 +03:00
committed by GitHub
parent 19b0d89313
commit 74a89832a3
56 changed files with 87666 additions and 41457 deletions
@@ -6,8 +6,7 @@ import {
moderateProfile,
RichText as RichTextApi,
} from '@atproto/api'
import {plural} from '@lingui/core/macro'
import {Trans, useLingui} from '@lingui/react/macro'
import {Plural, Trans, useLingui} from '@lingui/react/macro'
import {useModerationOpts} from '#/state/preferences/moderation-opts'
import {useTrendingSettings} from '#/state/preferences/trending'
@@ -88,6 +87,7 @@ export function TrendRow({
const gutters = useGutters([0, 'base'])
const actors = useModerateTrendingActors(trend.actors)
const formattedPostCount = formatCount(i18n, trend.postCount)
const description = useMemo(() => {
if (!trend.description) return
@@ -146,8 +146,12 @@ export function TrendRow({
style={[a.text_sm, t.atoms.text_contrast_medium]}
numberOfLines={1}>
<Trans comment="'{postCount} {posts}', e.g., '1.2K posts'">
{formatCount(i18n, trend.postCount)}{' '}
{plural(trend.postCount, {one: 'post', other: 'posts'})}
{formattedPostCount}{' '}
<Plural
value={{postCount: trend.postCount}}
one="post"
other="posts"
/>
</Trans>
</Text>
</View>