ChatPaneHeader: i18n title
This commit is contained in:
parent
e1edc9796b
commit
6c22a3841b
1 changed files with 2 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue