Fix 'Annoymous Reposted' split string.

This commit is contained in:
infiinte-persistence 2021-01-20 19:00:15 +08:00 committed by Sean Yesmunt
parent 2bf4a96d09
commit b767fc4db1
2 changed files with 9 additions and 1 deletions

View file

@ -737,6 +737,8 @@
"refreshing the app": "refreshing the app",
"Follower": "Follower",
"%repost_channel_link% reposted": "%repost_channel_link% reposted",
"%anonymous% Reposted": "%anonymous% Reposted",
"Anonymous --[used in <%anonymous% Reposted>]--": "Anonymous",
"This channel may have been unpublished.": "This channel may have been unpublished.",
"Custom": "Custom",
"Playing in %seconds_left% seconds": "Playing in %seconds_left% seconds",

View file

@ -30,7 +30,13 @@ function ClaimRepostAuthor(props: Props) {
<div className="claim-preview__repost-author">
<Icon icon={ICONS.REPOST} size={10} />
<span>
<strong>Anonymous</strong> {__('Reposted')}
<I18nMessage
tokens={{
anonymous: <strong>{__('Anonymous --[used in <%anonymous% Reposted>]--')}</strong>,
}}
>
%anonymous% Reposted
</I18nMessage>
</span>
</div>
);