diff --git a/packages/pl-fe/src/components/account.tsx b/packages/pl-fe/src/components/account.tsx index d4a29ec22..baf57e04f 100644 --- a/packages/pl-fe/src/components/account.tsx +++ b/packages/pl-fe/src/components/account.tsx @@ -32,10 +32,12 @@ interface IInstanceFavicon { const messages = defineMessages({ bot: { id: 'account.badges.bot', defaultMessage: 'Bot' }, + timeline: { id: 'account.instance_favicon', defaultMessage: 'Visit {domain} timeline' }, }); const InstanceFavicon: React.FC = ({ account, disabled }) => { const history = useHistory(); + const intl = useIntl(); const handleClick: React.MouseEventHandler = (e) => { e.stopPropagation(); @@ -59,6 +61,7 @@ const InstanceFavicon: React.FC = ({ account, disabled }) => { className='size-4 flex-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2' onClick={handleClick} disabled={disabled} + title={intl.formatMessage(messages.timeline, { domain: account.domain })} > diff --git a/packages/pl-fe/src/locales/en.json b/packages/pl-fe/src/locales/en.json index 94c74be6a..39af4730b 100644 --- a/packages/pl-fe/src/locales/en.json +++ b/packages/pl-fe/src/locales/en.json @@ -34,6 +34,7 @@ "account.header.alt": "Profile header", "account.header.description": "Header description", "account.hide_reblogs": "Hide reposts from @{name}", + "account.instance_favicon": "Visit {domain} timeline", "account.last_status": "Last active", "account.link_verified_on": "Ownership of this link was checked on {date}", "account.load_activities": "Fetch latest posts",