diff --git a/src/shared/components/community/communities.tsx b/src/shared/components/community/communities.tsx index 8d86d9d8..7510bb1a 100644 --- a/src/shared/components/community/communities.tsx +++ b/src/shared/components/community/communities.tsx @@ -102,7 +102,7 @@ export class Communities extends Component { const { listingType, page } = this.getCommunitiesQueryParams(); return (
-

+

{I18NextService.i18n.t("list_of_communities")}

diff --git a/src/shared/components/community/community.tsx b/src/shared/components/community/community.tsx index 879db3e3..c00380ab 100644 --- a/src/shared/components/community/community.tsx +++ b/src/shared/components/community/community.tsx @@ -485,7 +485,7 @@ export class Community extends Component< community && (
-
{community.title}
+

{community.title}

{ />
-
{I18NextService.i18n.t("create_community")}
+

+ {I18NextService.i18n.t("create_community")} +

{ return (
-
+

{this.props.showIcon && !community.removed && ( )} @@ -191,7 +191,7 @@ export class Sidebar extends Component { {I18NextService.i18n.t("nsfw")} )} -

+ { role="tabpanel" id="site-tab-pane" > +

+ {I18NextService.i18n.t("site_config")} +

{
{this.admins()} +
{this.bannedUsers()}
@@ -249,7 +253,9 @@ export class AdminSettings extends Component { admins() { return ( <> -
{capitalizeFirstLetter(I18NextService.i18n.t("admins"))}
+

+ {capitalizeFirstLetter(I18NextService.i18n.t("admins"))} +

    {this.state.siteRes.admins.map(admin => (
  • @@ -289,7 +295,7 @@ export class AdminSettings extends Component { const bans = this.state.bannedRes.data.banned; return ( <> -
    {I18NextService.i18n.t("banned_users")}
    +

    {I18NextService.i18n.t("banned_users")}

      {bans.map(banned => (
    • diff --git a/src/shared/components/home/emojis-form.tsx b/src/shared/components/home/emojis-form.tsx index 3ad8cc05..cd20ed64 100644 --- a/src/shared/components/home/emojis-form.tsx +++ b/src/shared/components/home/emojis-form.tsx @@ -77,7 +77,7 @@ export class EmojiForm extends Component { title={this.documentTitle} path={this.context.router.route.match.url} /> -
      {I18NextService.i18n.t("custom_emojis")}
      +

      {I18NextService.i18n.t("custom_emojis")}

      {customEmojisLookup.size > 0 && (
      { case "success": { const instances = this.state.instancesRes.data.federated_instances; return instances ? ( -
      -
      -
      {I18NextService.i18n.t("linked_instances")}
      - {this.itemList(instances.linked)} + <> +

      {I18NextService.i18n.t("instances")}

      +
      +
      +

      + {I18NextService.i18n.t("linked_instances")} +

      + {this.itemList(instances.linked)} +
      - {instances.allowed && instances.allowed.length > 0 && ( -
      -
      {I18NextService.i18n.t("allowed_instances")}
      - {this.itemList(instances.allowed)} -
      - )} - {instances.blocked && instances.blocked.length > 0 && ( -
      -
      {I18NextService.i18n.t("blocked_instances")}
      - {this.itemList(instances.blocked)} -
      - )} -
      +
      + {instances.allowed && instances.allowed.length > 0 && ( +
      +

      + {I18NextService.i18n.t("allowed_instances")} +

      + {this.itemList(instances.allowed)} +
      + )} + {instances.blocked && instances.blocked.length > 0 && ( +
      +

      + {I18NextService.i18n.t("blocked_instances")} +

      + {this.itemList(instances.blocked)} +
      + )} +
      + ) : ( <> ); diff --git a/src/shared/components/home/login-reset.tsx b/src/shared/components/home/login-reset.tsx index c96255d5..7d1d0023 100644 --- a/src/shared/components/home/login-reset.tsx +++ b/src/shared/components/home/login-reset.tsx @@ -59,9 +59,9 @@ export class LoginReset extends Component { loginResetForm() { return (
      -
      +

      {capitalizeFirstLetter(I18NextService.i18n.t("forgot_password"))} -

      +