[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>
master
Eugen Rochko 4 years ago committed by Claire
parent e4f8679eae
commit 5ca7bc2bed
  1. 2
      app/javascript/flavours/glitch/features/account_gallery/index.js
  2. 2
      app/javascript/flavours/glitch/features/account_timeline/index.js

@ -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}>

@ -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 {

Loading…
Cancel
Save