[Glitch] Change "Profile unavailable" string to "Account suspended" in web UI

Port 4fd3062003 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
main
Eugen Rochko 4 years ago committed by Claire
parent e4f8679eae
commit 5ca7bc2bed

@ -168,7 +168,7 @@ class AccountGallery extends ImmutablePureComponent {
{suspended ? ( {suspended ? (
<div className='empty-column-indicator'> <div className='empty-column-indicator'>
<FormattedMessage id='empty_column.account_unavailable' defaultMessage='Profile unavailable' /> <FormattedMessage id='empty_column.account_suspended' defaultMessage='Account suspended' />
</div> </div>
) : ( ) : (
<div role='feed' className='account-gallery__container' ref={this.handleRef}> <div role='feed' className='account-gallery__container' ref={this.handleRef}>

@ -117,7 +117,7 @@ class AccountTimeline extends ImmutablePureComponent {
let emptyMessage; let emptyMessage;
if (suspended) { if (suspended) {
emptyMessage = <FormattedMessage id='empty_column.account_unavailable' defaultMessage='Profile unavailable' />; emptyMessage = <FormattedMessage id='empty_column.account_suspended' defaultMessage='Account suspended' />;
} else if (remote && statusIds.isEmpty()) { } else if (remote && statusIds.isEmpty()) {
emptyMessage = <RemoteHint url={remoteUrl} />; emptyMessage = <RemoteHint url={remoteUrl} />;
} else { } else {

Loading…
Cancel
Save