0
0
Fork 0

Fix missing action label on sensitive videos and embeds in web UI (#26135)

This commit is contained in:
Eugen Rochko 2023-07-24 22:04:38 +02:00 committed by GitHub
parent d1a9f601c7
commit 714a20697f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 4 deletions

View file

@ -184,7 +184,10 @@ export default class Card extends PureComponent {
let spoilerButton = (
<button type='button' onClick={this.handleReveal} className='spoiler-button__overlay'>
<span className='spoiler-button__overlay__label'><FormattedMessage id='status.sensitive_warning' defaultMessage='Sensitive content' /></span>
<span className='spoiler-button__overlay__label'>
<FormattedMessage id='status.sensitive_warning' defaultMessage='Sensitive content' />
<span className='spoiler-button__overlay__action'><FormattedMessage id='status.media.show' defaultMessage='Click to show' /></span>
</span>
</button>
);