0
0
Fork 0

Change "direct message" nomenclature to "private mention" in web UI (#24248)

This commit is contained in:
Eugen Rochko 2023-03-30 15:16:20 +02:00 committed by GitHub
parent a9b5598c97
commit 68a192e718
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
109 changed files with 191 additions and 26 deletions

View file

@ -386,6 +386,13 @@ class Status extends ImmutablePureComponent {
account = status.get('account');
status = status.get('reblog');
} else if (status.get('visibility') === 'direct') {
prepend = (
<div className='status__prepend'>
<div className='status__prepend-icon-wrapper'><Icon id='at' className='status__prepend-icon' fixedWidth /></div>
<FormattedMessage id='status.direct_indicator' defaultMessage='Private mention' />
</div>
);
} else if (showThread && status.get('in_reply_to_id') && status.get('in_reply_to_account_id') === status.getIn(['account', 'id'])) {
const display_name_html = { __html: status.getIn(['account', 'display_name_html']) };