From a7076ed3e08f91cbc886ef26cc33b8939b65d741 Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Thu, 10 Oct 2024 10:11:03 -0400 Subject: [PATCH] show "blocking you" indicator to instance staff only --- locales/en-US.yml | 1 + locales/index.d.ts | 4 ++++ locales/ja-JP.yml | 1 + packages/frontend/src/pages/user/home.vue | 1 + 4 files changed, 7 insertions(+) diff --git a/locales/en-US.yml b/locales/en-US.yml index ab09ccaf86..e50a78e414 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -271,6 +271,7 @@ defaultValueIs: "Default: {value}" noCustomEmojis: "There are no emoji" noJobs: "There are no jobs" federating: "Federating" +blockingYou: "Blocking you" blocked: "Blocked" blockedByBase: "This host is blocked implicitly because a base domain is blocked. To unblock this host, first unblock the base domain(s)." silencedByBase: "This host is silenced implicitly because a base domain is silenced. To un-silence this host, first un-silence the base domain(s)." diff --git a/locales/index.d.ts b/locales/index.d.ts index 742bab2341..6d6ee68c1c 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -1100,6 +1100,10 @@ export interface Locale extends ILocale { * 連合中 */ "federating": string; + /** + * Blocking you + */ + "blockingYou": string; /** * ブロック中 */ diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 67a4580560..f2c3d67133 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -271,6 +271,7 @@ defaultValueIs: "デフォルト: {value}" noCustomEmojis: "絵文字はありません" noJobs: "ジョブはありません" federating: "連合中" +blockingYou: "Blocking you" blocked: "ブロック中" blockedByBase: "This host is blocked implicitly because a base domain is blocked. To unblock this host, first unblock the base domain(s)." silencedByBase: "This host is silenced implicitly because a base domain is silenced. To un-silence this host, first un-silence the base domain(s)." diff --git a/packages/frontend/src/pages/user/home.vue b/packages/frontend/src/pages/user/home.vue index 8401ebc610..92879b23d3 100644 --- a/packages/frontend/src/pages/user/home.vue +++ b/packages/frontend/src/pages/user/home.vue @@ -37,6 +37,7 @@ SPDX-License-Identifier: AGPL-3.0-only
  • {{ i18n.ts.muted }}
  • {{ i18n.ts.renoteMuted }}
  • {{ i18n.ts.blocked }}
  • +
  • {{ i18n.ts.blockingYou }}