From c37f9d38a3ca473cf9662f25393b9e86033434bf Mon Sep 17 00:00:00 2001
From: syuilo <4439005+syuilo@users.noreply.github.com>
Date: Fri, 28 Mar 2025 10:48:13 +0900
Subject: [PATCH] =?UTF-8?q?enhance(frontend):=20=E3=83=81=E3=83=A3?=
=?UTF-8?q?=E3=83=83=E3=83=88=E3=81=8C=E9=96=8B=E6=94=BE=E3=81=95=E3=82=8C?=
=?UTF-8?q?=E3=81=A6=E3=81=84=E3=81=AA=E3=81=84=E5=A0=B4=E5=90=88=E3=81=AE?=
=?UTF-8?q?UI=E3=82=92=E6=94=B9=E5=96=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
locales/index.d.ts | 4 ++++
locales/ja-JP.yml | 1 +
packages/frontend/src/pages/chat/room.vue | 7 +++++++
packages/frontend/src/utility/get-user-menu.ts | 2 +-
4 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/locales/index.d.ts b/locales/index.d.ts
index 8e87487cca..d7b1c3b9b0 100644
--- a/locales/index.d.ts
+++ b/locales/index.d.ts
@@ -5476,6 +5476,10 @@ export interface Locale extends ILocale {
* このサーバー、またはこのアカウントでチャットは有効化されていません。
*/
"chatNotAvailableForThisAccountOrServer": string;
+ /**
+ * 相手のアカウントでチャット機能が使えない状態になっています。
+ */
+ "chatNotAvailableInOtherAccount": string;
/**
* このユーザーとのチャットを開始できません
*/
diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml
index 9198f04c05..7ab6c24d82 100644
--- a/locales/ja-JP.yml
+++ b/locales/ja-JP.yml
@@ -1366,6 +1366,7 @@ _chat:
muteThisRoom: "このルームをミュート"
deleteRoom: "ルームを削除"
chatNotAvailableForThisAccountOrServer: "このサーバー、またはこのアカウントでチャットは有効化されていません。"
+ chatNotAvailableInOtherAccount: "相手のアカウントでチャット機能が使えない状態になっています。"
cannotChatWithTheUser: "このユーザーとのチャットを開始できません"
cannotChatWithTheUser_description: "チャットが使えない状態になっているか、相手がチャットを開放していません。"
chatWithThisUser: "チャットする"
diff --git a/packages/frontend/src/pages/chat/room.vue b/packages/frontend/src/pages/chat/room.vue
index 5938fd2688..4cb5d0677a 100644
--- a/packages/frontend/src/pages/chat/room.vue
+++ b/packages/frontend/src/pages/chat/room.vue
@@ -41,6 +41,12 @@ SPDX-License-Identifier: AGPL-3.0-only