Skip to content

Commit

Permalink
fix: Missing follows you badge translation
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Oct 28, 2023
1 parent 4159cd8 commit 9ce761c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/soapbox/components/profile-hover-card.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Localized } from '@fluent/react';
import clsx from 'clsx';
import React, { useEffect, useState } from 'react';
import { useIntl, FormattedMessage } from 'react-intl';
Expand Down Expand Up @@ -146,7 +147,11 @@ export const ProfileHoverCard: React.FC<IProfileHoverCard> = ({ visible = true }
<div className='absolute left-2 top-2'>
<Badge
slug='opaque'
title={<FormattedMessage id='account.follows_you' defaultMessage='Follows you' />}
title={
<Localized id='account-Status--follows-you'>
<span>Follows you</span>
</Localized>
}
/>
</div>
)}
Expand Down

0 comments on commit 9ce761c

Please sign in to comment.