diff --git a/locales/en-US.yml b/locales/en-US.yml index 7b0f64f50d..0841adb136 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1634,6 +1634,7 @@ _wordMute: muteWords: "Muted words" muteWordsDescription: "Separate with spaces for an AND condition or with line breaks for an OR condition." muteWordsDescription2: "Surround keywords with slashes to use regular expressions." + hideMutedNotes: "Hide notes containing muted words" _instanceMute: instanceMuteDescription: "This will mute any notes/renotes from the listed instances, including those of users replying to a user from a muted instance." instanceMuteDescription2: "Separate with newlines" diff --git a/locales/index.d.ts b/locales/index.d.ts index 791ae673c4..86580f44a9 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -1772,6 +1772,7 @@ export interface Locale { "muteWords": string; "muteWordsDescription": string; "muteWordsDescription2": string; + "hideMutedNotes": string; }; "_instanceMute": { "instanceMuteDescription": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index eebd1a5830..d77b24804f 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1689,6 +1689,7 @@ _wordMute: muteWords: "ミュートするワード" muteWordsDescription: "スペースで区切るとAND指定になり、改行で区切るとOR指定になります。" muteWordsDescription2: "キーワードをスラッシュで囲むと正規表現になります。" + hideMutedNotes: "ミュートされた単語を含むノートを非表示にする" _instanceMute: instanceMuteDescription: "ミュートしたサーバーのユーザーへの返信を含めて、設定したサーバーの全てのノートとRenoteをミュートします。" diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index eff81f3894..0743989e85 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -45,107 +45,102 @@ SPDX-License-Identifier: AGPL-3.0-only - - - + + -
- - -
-
-
- -
- - -
-

- - -

-
-
- ({{ i18n.ts.private }}) - - -
- -
- {{ i18n.t('translatedFrom', {x: translation.sourceLang}) }}: - -
+
+
+ + +
+
+
+ +
+ + +
+

+ + +

+
+
+ ({{ i18n.ts.private }}) + + +
+ +
+ {{ i18n.t('translatedFrom', { x: translation.sourceLang }) }}: +
-
- -
- - -
- -
- -
- {{ appearNote.channel.name }} - +
+ +
+ + +
+ +
- - - -
- - - - - - - -
+ {{ appearNote.channel.name }}
-
-
-
+ + + + +
+
+ +
+ + + +