enhance: チャットの閲覧を無効化できるように (#15765)

* enhance: チャットの閲覧を無効化できるように

* fix

* fix

* fix

* readonlyの説明を追加

* enhance: チャットが無効な場合はチャット関連の設定も隠すように

* fix

* refactor: ChatServiceからApiに関するドメイン知識を排除
This commit is contained in:
かっこかり 2025-04-07 19:09:11 +09:00 committed by GitHub
parent 6c27ab12eb
commit 9d3f3264fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 255 additions and 136 deletions

10
locales/index.d.ts vendored
View file

@ -5386,6 +5386,10 @@ export interface Locale extends ILocale {
* ... ( )
*/
"settingsMigrating": string;
/**
*
*/
"readonly": string;
"_chat": {
/**
*
@ -5500,6 +5504,10 @@ export interface Locale extends ILocale {
*
*/
"chatNotAvailableForThisAccountOrServer": string;
/**
*
*/
"chatIsReadOnlyForThisAccountOrServer": string;
/**
* 使
*/
@ -7531,7 +7539,7 @@ export interface Locale extends ILocale {
/**
*
*/
"canChat": string;
"chatAvailability": string;
};
"_condition": {
/**

View file

@ -1342,6 +1342,7 @@ bottom: "下"
top: "上"
embed: "埋め込み"
settingsMigrating: "設定を移行しています。しばらくお待ちください... (後ほど、設定→その他→旧設定情報を移行 で手動で移行することもできます)"
readonly: "読み取り専用"
_chat:
noMessagesYet: "まだメッセージはありません"
@ -1372,6 +1373,7 @@ _chat:
muteThisRoom: "このルームをミュート"
deleteRoom: "ルームを削除"
chatNotAvailableForThisAccountOrServer: "このサーバー、またはこのアカウントでチャットは有効化されていません。"
chatIsReadOnlyForThisAccountOrServer: "このサーバー、またはこのアカウントでチャットは読み取り専用となっています。新たに書き込んだり、チャットルームを作成・参加したりすることはできません。"
chatNotAvailableInOtherAccount: "相手のアカウントでチャット機能が使えない状態になっています。"
cannotChatWithTheUser: "このユーザーとのチャットを開始できません"
cannotChatWithTheUser_description: "チャットが使えない状態になっているか、相手がチャットを開放していません。"
@ -1950,7 +1952,7 @@ _role:
canImportFollowing: "フォローのインポートを許可"
canImportMuting: "ミュートのインポートを許可"
canImportUserLists: "リストのインポートを許可"
canChat: "チャットを許可"
chatAvailability: "チャットを許可"
_condition:
roleAssignedTo: "マニュアルロールにアサイン済み"
isLocal: "ローカルユーザー"