diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index c945806bd..64c122136 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -231,27 +231,27 @@ export class PostListing extends Component { )} {post.removed && ( - # + { i18n.t('removed') } )} {post.deleted && ( - # + { i18n.t('deleted') } )} {post.locked && ( - # + { i18n.t('locked') } )} {post.stickied && ( - # + { i18n.t('stickied') } )} {post.nsfw && ( - # + { i18n.t('nsfw') } )} @@ -273,17 +273,17 @@ export class PostListing extends Component { {this.isMod && ( - # + { i18n.t('mod') } )} {this.isAdmin && ( - # + { i18n.t('admin') } )} {(post.banned_from_community || post.banned) && ( - # + { i18n.t('banned') } )} {this.props.showCommunity && ( @@ -390,14 +390,14 @@ export class PostListing extends Component { class="pointer" onClick={linkEvent(this, this.handleModRemoveShow)} > - # + { i18n.t('remove') } ) : ( - # + { i18n.t('restore') } )} @@ -414,7 +414,7 @@ export class PostListing extends Component { this.handleModBanFromCommunityShow )} > - # + { i18n.t('ban') } ) : ( { this.handleModBanFromCommunitySubmit )} > - # + { i18n.t('unban') } )} @@ -471,7 +471,7 @@ export class PostListing extends Component { this.handleTransferCommunity )} > - # + { i18n.t('yes') } { this.handleCancelShowConfirmTransferCommunity )} > - # + { i18n.t('no') } )} @@ -496,14 +496,14 @@ export class PostListing extends Component { class="pointer" onClick={linkEvent(this, this.handleModBanShow)} > - # + { i18n.t('ban_from_site') } ) : ( - # + { i18n.t('unban_from_site') } )} @@ -533,18 +533,18 @@ export class PostListing extends Component { this.handleShowConfirmTransferSite )} > - # + { i18n.t('transfer_site') } ) : ( <> - # + { i18n.t('are_you_sure') } - # + { i18n.t('yes') } { this.handleCancelShowConfirmTransferSite )} > - # + { i18n.t('no') } )} @@ -567,7 +567,7 @@ export class PostListing extends Component { className="pointer" onClick={linkEvent(this, this.handleViewSource)} > - # + { i18n.t('view_source') } )} @@ -585,18 +585,19 @@ export class PostListing extends Component { onInput={linkEvent(this, this.handleModRemoveReasonChange)} /> )} {this.state.showBanDialog && (
-