diff --git a/src/screens/Profile/Header/Metrics.tsx b/src/screens/Profile/Header/Metrics.tsx index 30686ef99c..68b5e12e93 100644 --- a/src/screens/Profile/Header/Metrics.tsx +++ b/src/screens/Profile/Header/Metrics.tsx @@ -29,16 +29,28 @@ export function ProfileHeaderMetrics({ other: 'following', }) + const tooltipFormattedCountIfNeeded = (count: number) => { + const standardCount = i18n.number(count, { + notation: 'standard', + }) + const formattedCount = formatCount(i18n, count) + return standardCount !== formattedCount ? {tooltip: standardCount} : {} + } + return ( - {followers} + + {followers}{' '} + {pluralizedFollowers} @@ -48,13 +60,21 @@ export function ProfileHeaderMetrics({ style={[a.flex_row, t.atoms.text]} to={makeProfileLink(profile, 'follows')} label={_(msg`${following} following`)}> - {following} + + {following}{' '} + {pluralizedFollowings} - - {formatCount(i18n, profile.postsCount || 0)}{' '} + + + {formatCount(i18n, profile.postsCount || 0)}{' '} + {plural(profile.postsCount || 0, {one: 'post', other: 'posts'})}