Add channel subscriptions count below author. #6867

Merged
Ruk33 merged 4 commits from 6746-channel-sub-count into master 2021-08-19 17:25:45 +02:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 3375782a0e - Show all commits
static
ui/component/claimPreview

View file

@ -2082,7 +2082,7 @@
"Expand Comments": "Expand Comments",
"Expand": "Expand",
"Load More": "Load More",
"%channelSubCount% subscribers": "%channelSubCount% subscribers",
"%channelSubCount% subscriber": "%channelSubCount% subscriber",
"%channelSubCount% Followers": "%channelSubCount% Followers",
"%channelSubCount% Follower": "%channelSubCount% Follower",
"--end--": "--end--"
}

View file

@ -175,8 +175,8 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
return (
<span className="claim-preview__channel-sub-count">
{channelSubCount === 1
? __('%channelSubCount% subscriber', { channelSubCount })
: __('%channelSubCount% subscribers', { channelSubCount })}
? __('%channelSubCount% Follower', { channelSubCount })
: __('%channelSubCount% Followers', { channelSubCount })}
</span>
);
}, [channelSubCount]);