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 @@ -13045,6 +13045,10 @@ export interface Locale extends ILocale { * Text does not match any patterns. */ "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 */ 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
{{ i18n.ts.wordMuteDescription }} + {{ i18n.ts.wordMuteWarning }} + {{ i18n.ts.hardWordMuteDescription }} + + {{ i18n.ts.wordMuteWarning }} +
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."