Feat: Chat (#15686)

* wip

* wip

* wip

* wip

* wip

* wip

* Update types.ts

* Create 1742203321812-chat.js

* wip

* wip

* Update room.vue

* Update home.vue

* Update home.vue

* Update ja-JP.yml

* Update index.d.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* wip

* Update home.vue

* clean up

* Update misskey-js.api.md

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* lint fixes

* lint

* Update UserEntityService.ts

* search

* wip

* 🎨

* wip

* Update home.ownedRooms.vue

* wip

* Update CHANGELOG.md

* Update style.scss

* wip

* improve performance

* improve performance

* Update timeline.test.ts
This commit is contained in:
syuilo 2025-03-24 21:32:46 +09:00 committed by GitHub
parent 0471e457fe
commit f1f24e39d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
129 changed files with 8176 additions and 773 deletions

189
locales/index.d.ts vendored
View file

@ -1174,10 +1174,6 @@ export interface Locale extends ILocale {
*
*/
"saved": string;
/**
*
*/
"messaging": string;
/**
*
*/
@ -1227,9 +1223,9 @@ export interface Locale extends ILocale {
*/
"noMoreHistory": string;
/**
*
*
*/
"startMessaging": string;
"startChat": string;
/**
* {n}
*/
@ -1982,14 +1978,6 @@ export interface Locale extends ILocale {
*
*/
"attachAsFileQuestion": string;
/**
*
*/
"noMessagesYet": string;
/**
*
*/
"newMessageExists": string;
/**
*
*/
@ -5358,6 +5346,163 @@ export interface Locale extends ILocale {
*
*/
"information": string;
/**
*
*/
"chat": string;
"_chat": {
/**
*
*/
"noMessagesYet": string;
/**
*
*/
"newMessage": string;
/**
*
*/
"individualChat": string;
/**
*
*/
"individualChat_description": string;
/**
*
*/
"roomChat": string;
/**
*
*
*/
"roomChat_description": string;
/**
*
*/
"createRoom": string;
/**
*
*/
"inviteUserToChat": string;
/**
*
*/
"yourRooms": string;
/**
*
*/
"joiningRooms": string;
/**
*
*/
"invitations": string;
/**
*
*/
"noInvitations": string;
/**
*
*/
"history": string;
/**
*
*/
"noHistory": string;
/**
*
*/
"noRooms": string;
/**
*
*/
"inviteUser": string;
/**
*
*/
"join": string;
/**
*
*/
"ignore": string;
/**
* 退
*/
"leave": string;
/**
*
*/
"members": string;
/**
*
*/
"searchMessages": string;
/**
*
*/
"home": string;
/**
*
*/
"muteThisRoom": string;
/**
*
*/
"cannotChatWithTheUser": string;
/**
* 使
*/
"cannotChatWithTheUser_description": string;
/**
*
*/
"chatWithThisUser": string;
/**
*
*/
"thisUserAllowsChatOnlyFromFollowers": string;
/**
*
*/
"thisUserAllowsChatOnlyFromFollowing": string;
/**
*
*/
"thisUserAllowsChatOnlyFromMutualFollowing": string;
/**
*
*/
"thisUserNotAllowedChatAnyone": string;
/**
*
*/
"chatAllowedUsers": string;
/**
*
*/
"chatAllowedUsers_note": string;
"_chatAllowedUsers": {
/**
*
*/
"everyone": string;
/**
*
*/
"followers": string;
/**
*
*/
"following": string;
/**
*
*/
"mutual": string;
/**
*
*/
"none": string;
};
};
"_emojiPalette": {
/**
*
@ -7285,6 +7430,10 @@ export interface Locale extends ILocale {
*
*/
"canImportUserLists": string;
/**
*
*/
"canChat": string;
};
"_condition": {
/**
@ -8154,6 +8303,10 @@ export interface Locale extends ILocale {
*
*/
"reaction": string;
/**
*
*/
"chatMessage": string;
};
"_soundSettings": {
/**
@ -8726,6 +8879,14 @@ export interface Locale extends ILocale {
*
*/
"write:report-abuse": string;
/**
*
*/
"write:chat": string;
/**
*
*/
"read:chat": string;
};
"_auth": {
/**

View file

@ -289,7 +289,6 @@ deleteAreYouSure: "「{x}」を削除しますか?"
resetAreYouSure: "リセットしますか?"
areYouSure: "よろしいですか?"
saved: "保存しました"
messaging: "チャット"
upload: "アップロード"
keepOriginalUploading: "オリジナル画像を保持"
keepOriginalUploadingDescription: "画像をアップロードする時にオリジナル版を保持します。オフにするとアップロード時にブラウザでWeb公開用画像を生成します。"
@ -302,7 +301,7 @@ uploadFromUrlMayTakeTime: "アップロードが完了するまで時間がか
explore: "みつける"
messageRead: "既読"
noMoreHistory: "これより過去の履歴はありません"
startMessaging: "チャットを開始"
startChat: "チャットを始める"
nUsersRead: "{n}人が読みました"
agreeTo: "{0}に同意"
agree: "同意する"
@ -491,8 +490,6 @@ noteOf: "{user}のノート"
quoteAttached: "引用付き"
quoteQuestion: "引用として添付しますか?"
attachAsFileQuestion: "クリップボードのテキストが長いです。テキストファイルとして添付しますか?"
noMessagesYet: "まだチャットはありません"
newMessageExists: "新しいメッセージがあります"
onlyOneFileCanBeAttached: "メッセージに添付できるファイルはひとつです"
signinRequired: "続行する前に、登録またはログインが必要です"
signinOrContinueOnRemote: "続行するには、お使いのサーバーに移動するか、このサーバーに登録・ログインする必要があります"
@ -1335,6 +1332,47 @@ emojiPalette: "絵文字パレット"
postForm: "投稿フォーム"
textCount: "文字数"
information: "情報"
chat: "チャット"
_chat:
noMessagesYet: "まだメッセージはありません"
newMessage: "新しいメッセージ"
individualChat: "個人チャット"
individualChat_description: "特定ユーザーとの一対一のチャットができます。"
roomChat: "ルームチャット"
roomChat_description: "複数人でのチャットができます。\nまた、個人チャットを許可していないユーザーとでも、相手が受け入れればチャットができます。"
createRoom: "ルームを作成"
inviteUserToChat: "ユーザーを招待してチャットを始めましょう"
yourRooms: "作成したルーム"
joiningRooms: "参加中のルーム"
invitations: "招待"
noInvitations: "招待はありません"
history: "履歴"
noHistory: "履歴はありません"
noRooms: "ルームはありません"
inviteUser: "ユーザーを招待"
join: "参加"
ignore: "無視"
leave: "ルームから退出"
members: "メンバー"
searchMessages: "メッセージを検索"
home: "ホーム"
muteThisRoom: "このルームをミュート"
cannotChatWithTheUser: "このユーザーとのチャットを開始できません"
cannotChatWithTheUser_description: "チャットが使えない状態になっているか、相手がチャットを開放していません。"
chatWithThisUser: "チャットする"
thisUserAllowsChatOnlyFromFollowers: "このユーザーはフォロワーからのみチャットを受け付けています。"
thisUserAllowsChatOnlyFromFollowing: "このユーザーはフォローしているユーザーからのみチャットを受け付けています。"
thisUserAllowsChatOnlyFromMutualFollowing: "このユーザーは相互フォローのユーザーからのみチャットを受け付けています。"
thisUserNotAllowedChatAnyone: "このユーザーは誰からもチャットを受け付けていません。"
chatAllowedUsers: "チャットを許可する相手"
chatAllowedUsers_note: "自分からチャットメッセージを送った相手とはこの設定に関わらずチャットが可能です。"
_chatAllowedUsers:
everyone: "誰でも"
followers: "自分のフォロワーのみ"
following: "自分がフォローしているユーザーのみ"
mutual: "相互フォローのユーザーのみ"
none: "誰も許可しない"
_emojiPalette:
palettes: "パレット"
@ -1886,6 +1924,7 @@ _role:
canImportFollowing: "フォローのインポートを許可"
canImportMuting: "ミュートのインポートを許可"
canImportUserLists: "リストのインポートを許可"
canChat: "チャットを許可"
_condition:
roleAssignedTo: "マニュアルロールにアサイン済み"
isLocal: "ローカルユーザー"
@ -2139,6 +2178,7 @@ _sfx:
noteMy: "ノート(自分)"
notification: "通知"
reaction: "リアクション選択時"
chatMessage: "チャットのメッセージ"
_soundSettings:
driveFile: "ドライブの音声を使用"
@ -2291,6 +2331,8 @@ _permissions:
"read:clip-favorite": "クリップのいいねを見る"
"read:federation": "連合に関する情報を取得する"
"write:report-abuse": "違反を報告する"
"write:chat": "チャットを操作する"
"read:chat": "チャットを閲覧する"
_auth:
shareAccessTitle: "アプリへのアクセス許可"