summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--locales/index.d.ts4
-rw-r--r--packages/frontend/src/pages/settings/mute-block.vue5
-rw-r--r--sharkey-locales/en-US.yml1
3 files changed, 10 insertions, 0 deletions
diff --git a/locales/index.d.ts b/locales/index.d.ts
index e10511db05..b84f39b04d 100644
--- a/locales/index.d.ts
+++ b/locales/index.d.ts
@@ -13046,6 +13046,10 @@ export interface Locale extends ILocale {
*/
"wordMuteTestNoMatch": string;
/**
+ * All word mutes are *case-sensitive* and match on any substring, including part of a longer word or name. You can use regular expressions for more precise control.
+ */
+ "wordMuteWarning": string;
+ /**
* Bubble timeline
*/
"bubbleTimeline": string;
diff --git a/packages/frontend/src/pages/settings/mute-block.vue b/packages/frontend/src/pages/settings/mute-block.vue
index 257ed3edd8..8cc3945df8 100644
--- a/packages/frontend/src/pages/settings/mute-block.vue
+++ b/packages/frontend/src/pages/settings/mute-block.vue
@@ -22,6 +22,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="_gaps_m">
<MkInfo>{{ i18n.ts.wordMuteDescription }}</MkInfo>
+ <MkInfo warn>{{ i18n.ts.wordMuteWarning }}</MkInfo>
+
<SearchMarker
:label="i18n.ts.showMutedWord"
:keywords="['show']"
@@ -44,6 +46,9 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="_gaps_m">
<MkInfo>{{ i18n.ts.hardWordMuteDescription }}</MkInfo>
+
+ <MkInfo warn>{{ i18n.ts.wordMuteWarning }}</MkInfo>
+
<XWordMute :muted="$i.hardMutedWords" @save="saveHardMutedWords"/>
</div>
</MkFolder>
diff --git a/sharkey-locales/en-US.yml b/sharkey-locales/en-US.yml
index d2e28b9ddd..154e25f8eb 100644
--- a/sharkey-locales/en-US.yml
+++ b/sharkey-locales/en-US.yml
@@ -563,6 +563,7 @@ wordMuteTestTest: "Test"
wordMuteTestMatch: "Matched words: {words}"
wordMuteTestNoResults: "No results yet, enter some text and click \"Test\" to check it."
wordMuteTestNoMatch: "Text does not match any patterns."
+wordMuteWarning: "All word mutes are *case-sensitive* and match on any substring, including part of a longer word or name. You can use regular expressions for more precise control."
bubbleTimeline: "Bubble timeline"
bubbleTimelineDescription: "Choose which instances should be displayed in the bubble."