Settings: Messages --> Chats, reword follow criteria
This commit is contained in:
parent
493d608076
commit
f955691d01
2 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ import { useOwnAccount } from 'soapbox/hooks';
|
||||||
import { useUpdateCredentials } from 'soapbox/queries/accounts';
|
import { useUpdateCredentials } from 'soapbox/queries/accounts';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
label: { id: 'settings.messages.label', defaultMessage: 'Allow users you follow to start a new chat with you' },
|
label: { id: 'settings.messages.label', defaultMessage: 'Allow users to start a new chat with you' },
|
||||||
});
|
});
|
||||||
|
|
||||||
const MessagesSettings = () => {
|
const MessagesSettings = () => {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import React, { useEffect } from 'react';
|
import React, { useEffect } from 'react';
|
||||||
import { defineMessages, useIntl } from 'react-intl';
|
import { defineMessages, FormattedMessage, useIntl } from 'react-intl';
|
||||||
import { useDispatch } from 'react-redux';
|
import { useDispatch } from 'react-redux';
|
||||||
import { useHistory } from 'react-router-dom';
|
import { useHistory } from 'react-router-dom';
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ const Settings = () => {
|
||||||
{features.chats ? (
|
{features.chats ? (
|
||||||
<>
|
<>
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle title='Direct Messages' />
|
<CardTitle title={<FormattedMessage id='column.chats' defaultMessage='Chats' />} />
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
|
|
||||||
<CardBody>
|
<CardBody>
|
||||||
|
|
Loading…
Reference in a new issue