ChatPaneHeader: i18n title

This commit is contained in:
Alex Gleason 2022-12-06 17:10:16 -06:00
parent e1edc9796b
commit 6c22a3841b
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -1,4 +1,5 @@
import React, { useState } from 'react';
import { FormattedMessage } from 'react-intl';
import { Stack } from 'soapbox/components/ui';
import { ChatWidgetScreens, useChatContext } from 'soapbox/contexts/chat-context';
@ -91,7 +92,7 @@ const ChatPane = () => {
return (
<Pane isOpen={isOpen} index={0} main>
<ChatPaneHeader
title='Messages'
title={<FormattedMessage id='column.chats' defaultMessage='Chats' />}
unreadCount={unreadChatsCount}
isOpen={isOpen}
onToggle={toggleChatPane}