diff options
author | ThibG <thib@sitedethib.com> | 2020-12-15 18:19:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 18:19:20 +0100 |
commit | 92cfcf168cae094ece281b3cb6d0f5b1539a8c25 (patch) | |
tree | 070a16d495d962a1f4efb9e196fae18803cf3835 /app/javascript/flavours/glitch/features | |
parent | 1978f7265e1e83bda25413da26f53c53110af764 (diff) | |
parent | b0722fbc14cf1cee412c3524c51705c9902bde7f (diff) |
Merge pull request #1476 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript/flavours/glitch/features')
3 files changed, 2 insertions, 6 deletions
diff --git a/app/javascript/flavours/glitch/features/account_gallery/index.js b/app/javascript/flavours/glitch/features/account_gallery/index.js index fda8082cc..81203e3f8 100644 --- a/app/javascript/flavours/glitch/features/account_gallery/index.js +++ b/app/javascript/flavours/glitch/features/account_gallery/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}> diff --git a/app/javascript/flavours/glitch/features/account_timeline/index.js b/app/javascript/flavours/glitch/features/account_timeline/index.js index c56cc9b8e..0d24980a9 100644 --- a/app/javascript/flavours/glitch/features/account_timeline/index.js +++ b/app/javascript/flavours/glitch/features/account_timeline/index.js @@ -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 { diff --git a/app/javascript/flavours/glitch/features/compose/components/reply_indicator.js b/app/javascript/flavours/glitch/features/compose/components/reply_indicator.js index 9d5b65a40..0fd07c282 100644 --- a/app/javascript/flavours/glitch/features/compose/components/reply_indicator.js +++ b/app/javascript/flavours/glitch/features/compose/components/reply_indicator.js @@ -10,9 +10,6 @@ import AccountContainer from 'flavours/glitch/containers/account_container'; import IconButton from 'flavours/glitch/components/icon_button'; import AttachmentList from 'flavours/glitch/components/attachment_list'; -// Utils. -import { isRtl } from 'flavours/glitch/util/rtl'; - // Messages. const messages = defineMessages({ cancel: { @@ -71,7 +68,6 @@ class ReplyIndicator extends ImmutablePureComponent { <div className='content' dangerouslySetInnerHTML={{ __html: content || '' }} - style={{ direction: isRtl(content) ? 'rtl' : 'ltr' }} /> {attachments.size > 0 && ( <AttachmentList |