From a73a09a99953374050e4b45b6834276cc122cefb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A6=E3=81=83?= =?UTF-8?q?=E3=83=BC=E3=80=82?= <56515516+mattyatea@users.noreply.github.com> Date: Sun, 20 Oct 2024 05:31:35 +0900 Subject: [PATCH] =?UTF-8?q?feat(frontend/reactions):=20=E3=83=AA=E3=82=A2?= =?UTF-8?q?=E3=82=AF=E3=82=B7=E3=83=A7=E3=83=B3=E3=83=9F=E3=83=A5=E3=83=BC?= =?UTF-8?q?=E3=83=88=E6=A9=9F=E8=83=BD=E3=82=92=E8=BF=BD=E5=8A=A0=E3=81=97?= =?UTF-8?q?=E3=81=BE=E3=81=97=E3=81=9F=20(MisskeyIO#758)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/index.d.ts | 8 +++ locales/ja-JP.yml | 2 + .../src/components/MkEmojiPickerDialog.vue | 32 +++++++++- .../src/components/MkReactionsViewer.vue | 11 +++- .../src/pages/settings/mute-block.vue | 59 ++++++++++++++++++- .../pages/settings/preferences-backups.vue | 1 + packages/frontend/src/store.ts | 4 ++ 7 files changed, 114 insertions(+), 3 deletions(-) diff --git a/locales/index.d.ts b/locales/index.d.ts index 888fd3870..262cc0b35 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -580,6 +580,14 @@ export interface Locale extends ILocale { * リノートのミュートを解除 */ "renoteUnmute": string; + /** + * リアクションのミュート + */ + "mutedReactions": string; + /** + * リモートの絵文字をミュート + */ + "remoteCustomEmojiMuted": string; /** * ブロック */ diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index e03a0d739..3ff82c457 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -141,6 +141,8 @@ mute: "ミュート" unmute: "ミュート解除" renoteMute: "リノートをミュート" renoteUnmute: "リノートのミュートを解除" +mutedReactions: "リアクションのミュート" +remoteCustomEmojiMuted: "リモートの絵文字をミュート" block: "ブロック" unblock: "ブロック解除" suspend: "凍結" diff --git a/packages/frontend/src/components/MkEmojiPickerDialog.vue b/packages/frontend/src/components/MkEmojiPickerDialog.vue index 90b37e390..65f227e9a 100644 --- a/packages/frontend/src/components/MkEmojiPickerDialog.vue +++ b/packages/frontend/src/components/MkEmojiPickerDialog.vue @@ -29,15 +29,29 @@ SPDX-License-Identifier: AGPL-3.0-only :max-height="maxHeight" @chosen="chosen" /> +