[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>
This commit is contained in:
Eugen Rochko 2020-12-14 09:08:09 +01:00 committed by Claire
parent e4f8679eae
commit 5ca7bc2bed
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ class AccountGallery extends ImmutablePureComponent {
{suspended ? (
<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 role='feed' className='account-gallery__container' ref={this.handleRef}>

View File

@ -117,7 +117,7 @@ class AccountTimeline extends ImmutablePureComponent {
let emptyMessage;
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()) {
emptyMessage = <RemoteHint url={remoteUrl} />;
} else {