[Glitch] Add "Followers you know" to hovercard

Port 12c8a6498c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
diondiondion
2025-05-22 14:46:14 +02:00
committed by Claire
parent 6ba575e0d3
commit 4c67a70159
5 changed files with 84 additions and 21 deletions

View File

@@ -43,3 +43,17 @@ export const FollowersCounter = (
}}
/>
);
export const FollowersYouKnowCounter = (
displayNumber: React.ReactNode,
pluralReady: number,
) => (
<FormattedMessage
id='account.followers_you_know_counter'
defaultMessage='{counter} you know'
values={{
count: pluralReady,
counter: <strong>{displayNumber}</strong>,
}}
/>
);